Group :: Sound
RPM: faac
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
Name: faac
Version: 1.25
Release: alt3
Summary: FAAC is a Freeware Advanced Audio Coder
License: GPL
Group: Sound
Url: http://www.audiocoding.com
Packager: Alexey Morsov <swi at altlinux.ru>
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Patch1: %name-%version-mp4v2-libs.patch
Patch2: %name-%version-pipe-and-configure.patch
Patch3: %name-%version-WAVEFORMATEXTENSIBLE.patch
Requires: lib%name = %version-%release
BuildRequires: libmpeg4ip-devel
%description
FAAC is a LC, MAIN and LTP profile MPEG2 and MPEG-4 AAC coder.
%package -n lib%name
Summary: Freeware Advanced Audio Coder (FAAC) libraries
Group: System/Libraries
%description -n lib%name
This package contains Freeware Advanced Audio Coder (FAAC) shared
libraries.
%package -n lib%name-devel
Summary: Development files for the FAAC AAC coder library
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package provides header files development libraries and
documentation for lib%name.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%__subst 's/\r$//' bootstrap configure.in Makefile.am
%build
%_buildshell ./bootstrap
%configure \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
# remove non-packaged files
%__rm -f %buildroot%_libdir/*.la
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%_bindir/*
%doc docs/%name.html
%files -n lib%name
%_libdir/*.so.*
%doc ChangeLog NEWS README TODO
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%doc docs/lib%name.html
%changelog
…
Full changelog you can see here
Name: faac
Version: 1.25
Release: alt3
Summary: FAAC is a Freeware Advanced Audio Coder
License: GPL
Group: Sound
Url: http://www.audiocoding.com
Packager: Alexey Morsov <swi at altlinux.ru>
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Patch1: %name-%version-mp4v2-libs.patch
Patch2: %name-%version-pipe-and-configure.patch
Patch3: %name-%version-WAVEFORMATEXTENSIBLE.patch
Requires: lib%name = %version-%release
BuildRequires: libmpeg4ip-devel
%description
FAAC is a LC, MAIN and LTP profile MPEG2 and MPEG-4 AAC coder.
%package -n lib%name
Summary: Freeware Advanced Audio Coder (FAAC) libraries
Group: System/Libraries
%description -n lib%name
This package contains Freeware Advanced Audio Coder (FAAC) shared
libraries.
%package -n lib%name-devel
Summary: Development files for the FAAC AAC coder library
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package provides header files development libraries and
documentation for lib%name.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%__subst 's/\r$//' bootstrap configure.in Makefile.am
%build
%_buildshell ./bootstrap
%configure \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
# remove non-packaged files
%__rm -f %buildroot%_libdir/*.la
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%_bindir/*
%doc docs/%name.html
%files -n lib%name
%_libdir/*.so.*
%doc ChangeLog NEWS README TODO
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%doc docs/lib%name.html
%changelog
…
Full changelog you can see here