File aften.spec of Package aften
# Copyright (c) 2007-2008 oc2pus
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to toni@links2linux.de
Name: aften
Summary: A/52 audio encoder - creates stereo and multi-channel audio streams
Version: 0.0.8.git20110104
Release: 0
License: LGPL-2.1
URL: http://aften.sourceforge.net/
Source: aften-%{version}.tar.gz
Patch0: %name.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: yasm
%description
Aften: A/52 audio encoder based on FFmpeg.
Aften is an audio encoder which generates compressed audio streams
based on ATSC A/52 specification. This type of audio is also known
as AC-3 or Dolby Digital and is one of the audio codecs used in
DVD-Video content.
The name, Aften, is an acronym for: A Fifty-Two ENcoder. It is also
Danish and Norwegian for 'evening'.
Authors:
Justin Ruggles <justinruggles@bellsouth.net>
Prakash Punnoor <prakash@punnoor.de>
%package -n libaften-devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: libaften0 = %{version}
Provides: aften-devel
%description -n libaften-devel
This package contains all necessary include files and libraries
needed to develop applications that require these.
%package -n libaften0
Summary: Shared libraies for aften
Group: System/Libraries
%description -n libaften0
Shared libraies for aften.
%prep
%autosetup -p1
%build
chmod -c 644 COPYING
%cmake \
-DSHARED=1 \
-DBINDINGS_CXX=1 \
%nil
%cmake_build
%install
%cmake_install
%ldconfig_scriptlets -n libaften0
%files
%license COPYING
%{_bindir}/*
%files -n libaften0
%{_libdir}/libaften.so.*
%{_libdir}/libaftenxx.so.*
%files -n libaften-devel
%{_includedir}/aften
%{_libdir}/libaften.so
%{_libdir}/libaftenxx.so
%changelog