Summary: Library and frontend for decoding MPEG2/4 AAC Name: faad2 Version: 2.0 Release: 6%{?dist} License: GPL Group: Applications/Multimedia Source0: http://prdownload.sourceforge.net/faac/%{name}-%{version}.zip Patch0: faad2-2.0-virtual0.patch Patch1: faad2-2.0-mp4ff_int_types.patch Patch2: faad2-2.0-staticdecl.patch URL: http://www.audiocoding.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 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 -b .virtual0 %patch1 -p1 -b .mp4ff_int_types %patch2 -p1 -b .staticdecl perl -pi -e's, , ,' Makefile.am %build autoreconf -vif %configure \ --with-xmms \ --with-mp4v2 \ --with-drm make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} xmmsinputdir=`xmms-config --input-plugin-dir` cat > input.list << EOF $xmmsinputdir/*.so $xmmsinputdir/*.a $xmmsinputdir/*.la EOF %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 -f input.list %defattr(-,root,root,-) %doc plugins/xmms/AUTHORS plugins/xmms/NEWS %doc plugins/xmms/README plugins/xmms/TODO %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %changelog * 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.