%define libname lib%{name} Name: faac Version: 1.28 Release: 1mamba Summary: Freeware Advanced Audio Coder Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.audiocoding.com/ Source: http://downloads.sourceforge.net/faac/faac-%{version}.tar.gz License: GPL Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: hd2u BuildRequires: autoconf BuildRequires: libfaad2-devel >= 2.0 %if "%{stage1}" != "1" BuildRequires: libmp4v2-devel %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports multichannel and gapless encoding. %package -n %{libname} Summary: Reference encoder and encoding library for MPEG2/4 AAC Group: System/Libraries %description -n %{libname} FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports multichannel and gapless encoding. %package -n %{libname}-devel Summary: Static libraries and headers for %{libname} Group: Development/Libraries Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: %{name}-devel %description -n %{libname}-devel FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports multichannel and gapless encoding. This package contains static libraries and header files need for development. %prep %setup -q %build #dos2unix configure.in #autoreconf -vif %configure \ %if "%{stage1}" != "1" --with-mp4v2 %endif %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-, root, root) %{_bindir}/* %doc AUTHORS ChangeLog COPYING NEWS README TODO %files -n %{libname} %defattr(-, root, root) %{_libdir}/*.so.* %{_mandir}/man1/faac.1* %files -n %{libname}-devel %defattr(-, root, root) %{_includedir}/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %changelog * Thu Jul 09 2009 Automatic Build System 1.28-1mamba - automatic update by autodist * Mon May 21 2007 Silvan Calarco 1.25-2mamba - group entry fixed * Sun May 13 2007 Stefano Cotta Ramusino 1.25-1mamba - update to 1.25 - added faac package - added missing build requirements * Sat Oct 02 2004 Davide Madrisan 1.24-2qilnx - specfile fixed and modified to match QiLinux standards - library name modified (was faac) - added missing BuildRequires (libfaad2-devel) * Mon Sep 13 2004 Matteo Bernasconi 1.24-1qilnx - first build