%define xmmsinputdir %(xmms-config --input-plugin-dir) Summary: Library and frontend for decoding MPEG2/4 AAC Name: faad2 Version: 2.5 Release: 7%{?dist} License: GPL Group: Applications/Multimedia Source0: http://prdownload.sourceforge.net/faac/%{name}-%{version}.tar.gz Patch0: faad2-2.5-mp4ff.patch Patch1: faad2-remove-bmp.patch URL: http://www.audiocoding.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: dos2unix BuildRequires: autoconf, automake, libtool, gcc-c++ BuildRequires: libsndfile-devel >= 1.0.0 BuildRequires: xmms-devel, id3lib-devel, gtk+-devel BuildRequires: zlib-devel %description FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. %package -n xmms-aac Summary: X MultiMedia System input plugin to play AAC files Group: Applications/Multimedia Requires: %{name} = %{version}-%{release}, xmms, id3lib %description -n xmms-aac This xmms plugin reads AAC files with and without ID3 tags (version 2.x). AAC files are MPEG2 or MPEG4 files that can be found in MPEG4 audio files (.mp4). MPEG4 files with AAC inside can be read by RealPlayer or Quicktime. %package devel Summary: Development libraries of the FAAD 2 AAC decoder Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. This package contains development files and documentation for libfaad. %prep %setup -q -n %{name} %patch0 -p1 %patch1 -p1 dos2unix bootstrap %build autoreconf -i #autoreconf -vif #sh ./bootstrap #./configure --help #exit %configure \ --with-xmms \ --with-mp4v2 \ --with-drm make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/* %{_libdir}/*.so.* %files -n xmms-aac %defattr(-,root,root,-) %doc plugins/xmms/AUTHORS plugins/xmms/NEWS %doc plugins/xmms/README plugins/xmms/TODO %{xmmsinputdir}/*.so %{xmmsinputdir}/*.a %{xmmsinputdir}/*.la %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %changelog * Tue Aug 29 2006 Axel Thimm - 2.5-6 - Update to 2.5. * Mon Oct 4 2004 Axel Thimm - Update to 2.0 final. * Tue Aug 12 2003 Matthias Saou - Update to 2.0rc1. - Introduced LD_LIBRARY_PATH workaround. - Removed optional xmms plugin build, it seems mandatory now. - Added gtk+ build dep for the xmms plugin. * Wed May 14 2003 Matthias Saou - Added xmms plugin build. * Wed Apr 9 2003 Matthias Saou - Spec file cleanup. - Now exclude .la file. - Update to latest CVS checkout to fix compile problem. * Fri Aug 10 2002 Alexander Kurpiers - changes to compile v1.1 release * Tue Jun 18 2002 Alexander Kurpiers - First RPM.