Author: goetz
Date: Mon Feb 19 09:11:10 2007
New Revision: 122657
Added:
packages/cooker/mad/current/SOURCES/mad.pc
Removed:
packages/cooker/mad/current/SOURCES/mad.pc.bz2
Modified:
packages/cooker/mad/current/SPECS/mad.spec
Log:
unpack pkgconfig file
Added: packages/cooker/mad/current/SOURCES/mad.pc
==============================================================================
--- (empty file)
+++ packages/cooker/mad/current/SOURCES/mad.pc Mon Feb 19 09:11:10 2007
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: mad
+Description: MPEG Audio Decoder
+Requires:
+Version: 0.14.2b
+Libs: -L${libdir} -lmad -lm
+Cflags: -I${includedir}
Modified: packages/cooker/mad/current/SPECS/mad.spec
==============================================================================
--- packages/cooker/mad/current/SPECS/mad.spec (original)
+++ packages/cooker/mad/current/SPECS/mad.spec Mon Feb 19 09:11:10 2007
@@ -11,7 +11,7 @@
Release: %{release}
Source0: http://prdownloads.sourceforge.net/mad/%oname-%version.tar.bz2
-Source2: mad.pc.bz2
+Source2: mad.pc
License: GPL
Group: Sound
URL: http://www.underbit.com/products/mad/
@@ -82,7 +82,7 @@
%makeinstall
%find_lang %{name}
mkdir -p %buildroot/%_libdir/pkgconfig
-bzip2 -cd %SOURCE2 | sed -e 's,/lib$,/%{_lib},'
>%buildroot/%_libdir/pkgconfig/mad.pc
+cat %SOURCE2 | sed -e 's,/lib$,/%{_lib},' >%buildroot/%_libdir/pkgconfig/mad.pc
perl -pi -e "s/0.14.2b/%version/" %buildroot/%_libdir/pkgconfig/mad.pc
%multiarch_includes %buildroot%{_includedir}/mad.h