shithub: aacdec

Download patch

ref: e6c584d53be18a56d628409c77fee356d7401f85
parent: 753d04bf7a94497f92989b83da8208c6f9bccf56
author: menno <menno>
date: Thu Nov 6 13:41:55 EST 2003

spec file update

--- a/faad2.spec
+++ b/faad2.spec
@@ -1,15 +1,16 @@
-Summary:	C library and frontend for decoding MPEG2/4 AAC
-Name:		faad2
-Version:	2.0.031105
-Release:	1
-License:	GPL
-Group:		Applications/Multimedia
-Source0:	http://download.sourceforge.net/faad/%{name}-%{version}.tar.gz
+Summary:    C library and frontend for decoding MPEG2/4 AAC
+Name:       faad2
+Version:    2.0.031106
+Release:    1
+License:    GPL
+Group:      Applications/Multimedia
+Source0:    http://download.sourceforge.net/faad/%{name}-%{version}.tar.gz
+#Patch:                faad2-%{version}.patch
 BuildRequires: autoconf, automake, libtool, gcc-c++
 BuildRequires: xmms-devel, id3lib-devel, gtk+-devel
-URL:		http://www.audiocoding.com/
-BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root
-Packager:	[email protected]
+URL:        http://www.audiocoding.com/
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root
+Packager:   [email protected]
 
 %description
 FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
@@ -18,7 +19,7 @@
 %package devel
 Summary: Development libraries the FAAD 2 AAC decoder.
 Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}
 
 %description devel
 Header files and development documentation for libfaad.
@@ -26,7 +27,7 @@
 %package xmms
 Group: Applications/Multimedia
 Summary: AAC and MP4 input plugin for xmms
-Requires: %{name} = %{version}-%{release}, %{version}-%{release}-libmp4ff, xmms, id3lib
+Requires: %{name}, %{name}-libmp4ff, xmms, id3lib
 
 
 %description xmms
@@ -54,8 +55,8 @@
 statically linkable library.
 
 %prep
-%setup -n faad2
-%patch -p0
+%setup -n %{name}
+#%patch -p0
 
 %build
 sh bootstrap
@@ -64,7 +65,8 @@
 
 %install
 rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+# Hack to work around a problem with DESTDIR in libtool 1.4.x
+LIBRARY_PATH="%{buildroot}/usr/lib:${LIBRARY_PATH}" make install DESTDIR=%{buildroot}
 
 %post -p /sbin/ldconfig