%define xmmsinputplugindir %(xmms-config --input-plugin-dir 2>/dev/null) Summary: Advanced Audio Decoder Name: faad2 Epoch: 1 Version: 2.6.1 Release: 2%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://www.audiocoding.com Source: http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: id3lib-devel BuildRequires: libsysfs-devel BuildRequires: libtool BuildRequires: xmms-devel BuildRequires: zlib-devel %package devel Summary: Development files for the faad library Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} %package -n xmms-%{name} Summary: Faad2 XMMS Input Plugin Group: Applications/Multimedia Requires: %{name} = %{epoch}:%{version}-%{release} Provides: xmms-aac = %{epoch}:%{version}-%{release} # -------------------------------------------------------------------- %description FAAD is an Advanced Audio Decoder (MPEG2-AAC, MPEG4-AAC). %description devel FAAD is an Advanced Audio Decoder (MPEG2-AAC, MPEG4-AAC). This package contains development files for the FAAD. %description -n xmms-%{name} FAAD is an Advanced Audio Decoder (MPEG2-AAC, MPEG4-AAC). This package contains an input plugin for xmms. # -------------------------------------------------------------------- %prep %setup -q -n %{name} find . -name "*.c" -o -name "*.h" | xargs chmod 644 chmod 0644 plugins/xmms/{AUTHORS,NEWS} # -------------------------------------------------------------------- %build # This is what the README.linux file recommends autoreconf -vif %configure \ --disable-static \ --with-xmms \ # --with-drm make %{?_smp_mflags} # -------------------------------------------------------------------- %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" for f in AUTHORS COPYING ChangeLog NEWS README* TODO ; do tr -d '\r' <$f >$f.n && mv -f $f.n $f done # -------------------------------------------------------------------- %clean rm -rf $RPM_BUILD_ROOT # -------------------------------------------------------------------- %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING AUTHORS NEWS README TODO ChangeLog %{_bindir}/faad %{_libdir}/libfaad.so.* %files devel %defattr(-,root,root,-) %{_includedir}/faad.h %{_includedir}/neaacdec.h %{_libdir}/libfaad.so %exclude %{_libdir}/*.la %files -n xmms-%{name} %defattr(-,root,root,-) %doc plugins/xmms/AUTHORS plugins/xmms/NEWS %xmmsinputplugindir/libmp4.so %exclude %xmmsinputplugindir/libmp4.la # -------------------------------------------------------------------- %changelog * Mon Nov 05 2007 kwizart < kwizart at gmail.com > - 1:2.6.1-2 - Re-enable with-xmms - Add related BR id3lib-devel * Thu Nov 01 2007 Dominik Mierzejewski 1:2.6.1-1 - remerge freshrpms specfile - update to latest upstream, fixes licensing issues! * Thu Oct 18 2007 Dominik Mierzejewski 1:2.0-21 - fix missing epochs in dependencies * Tue Oct 16 2007 Dominik Mierzejewski 1:2.0-20 - revert from 2.5 * Wed Sep 26 2007 Dominik Mierzejewski 2.5-4 - disable drm, fixes playback of many AAC streams (bug #1465) * Sun Sep 23 2007 Dominik Mierzejewski 2.5-3 - remove redundant BRs - don't disable backward compatibility (breaks ffmpeg) - silence tar in setup - use disttag - fix source file permissions and other rpmlint warnings * Sat Sep 15 2007 Thorsten Leemhuis 2.5-2 - import faad2 from freshrpms as discussed on on repomerge-list * Fri Oct 06 2006 Thorsten Leemhuis 2.0-19 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Tue Sep 26 2006 Ville Skyttä - 2.0-18.20050131 - Rebuild. * Sat Jun 17 2006 Ville Skyttä - 2.0-17.20050131 - Let soname based autogenerated deps take care of xmms-libs (#1018). - Revert x86_64 patch to the correct one again (#1017). * Thu Jun 15 2006 Noa Resare - 2.0-16.20050131 - reverted to obviously broken x86_64 patch to preserve binary compatibility and prevent slow motion bug (#1017) - fixed xmms-libs regression (#1018) * Wed May 24 2006 Noa Resare - 2.0-15.20050131 - added patch to fix apple trailer playback problem * Tue May 23 2006 Noa Resare - 2.0-14.20050131 - reverted to older cvs to avoid a GPL violating extra redistribution requirement in README - changed the bogus uint8_t to correct uin32_t in the x86_64 patch * Sun May 21 2006 Ville Skyttä - 2.0-13.20060505 - Avoid aclocal >= 1.8 warnings. * Sun May 21 2006 Noa Resare - 2.0-12.20060505 - re-introduce the x86_64 patch to restore binary compatibility * Sat May 20 2006 Noa Resare - 2.0-10.20060505 - patch the sources to be binary compatible with old faad2 - remove library major version bump - add symbol versioning script for new symbols * Fri May 05 2006 Noa Resare - 2.0-9.20060505 - upgrade to cvs version - mp4v2 is no longer included (now a separate package) - bump libary major version - drop static library - remove mp4ff headers from -devel * Mon Mar 13 2006 Thorsten Leemhuis - 2.0-8 - Drop Epoch completely * Thu Mar 09 2006 Andreas Bierfert - switch to new release field * Tue Feb 28 2006 Andreas Bierfert - add dist * Tue Jan 17 2006 Adrian Reber - 2.0-0.lvn.7 - Removed change of ownership to root:root during %%install - Droped Epoch * Sat Oct 01 2005 Thorsten Leemhuis - 0:2.0-0.lvn.5 - Included some hand install lines because make install did not place some required header files * Wed Apr 27 2005 Dams - 0:2.0-0.lvn.4 - Fixed gcc4 build * Fri Nov 12 2004 Dams 0:2.0-0.lvn.3 - Fixing gcc34 build * Wed Oct 13 2004 Ville Skyttä - 0:2.0-0.lvn.2 - libsndfile is no longer required since 2.0rc1. * Wed Mar 10 2004 Dams 0:2.0-0.lvn.1 - Updated to 2.0 final release - Added missing defattr - Added xmms-aac provides to xmms-{name} - Fixed makefile (patch) * Sun Sep 28 2003 Dams 0:2.0-0.fdr.0.1.rc1 - Updated to 2.0 rc1 - Added xmms-faad2 subpackage * Sun Sep 28 2003 Dams 0:1.1-0.fdr.4 - Added missing scriplets - buildroot -> RPM_BUILD_ROOT * Tue Apr 15 2003 Dams 0:1.1-0.fdr.3 - turned bootstrap into ./bootstrap to prevent build to fail with people who dont have "." in their PATH. * Sat Apr 12 2003 Dams 0:1.1-0.fdr.2 - Typo in devel Requires. * Sat Apr 12 2003 Dams - Initial build.