rpms/libfame/EL-6 libfame.spec,1.3,1.4

Richard Shaw hobbes1069 at rpmfusion.org
Mon Feb 27 17:13:22 CET 2012


Author: hobbes1069

Update of /cvs/free/rpms/libfame/EL-6
In directory se02.es.rpmfusion.net:/tmp/cvs-serv32178

Modified Files:
	libfame.spec 
Log Message:
Commit for initial EL6 build.


Index: libfame.spec
===================================================================
RCS file: /cvs/free/rpms/libfame/EL-6/libfame.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libfame.spec	3 Dec 2011 01:49:30 -0000	1.3
+++ libfame.spec	27 Feb 2012 16:13:22 -0000	1.4
@@ -4,6 +4,7 @@
 Release:   	14%{?dist}
 License: 	LGPL
 Group:     	System Environment/Libraries
+URL:       	http://fame.sourceforge.net/
 Source0:   	http://download.sourceforge.net/fame/%{name}-%{version}.tar.gz
 Patch0:   	%{name}-aclocal18.patch
 Patch1:   	%{name}-config-rpath.patch
@@ -12,13 +13,14 @@
 Patch4:   	http://www.linuxfromscratch.org/blfs/downloads/svn/libfame-0.9.1-gcc34-1.patch
 Patch5:         libfame-0.9.1-fstrict-aliasing.patch
 Patch6:         libfame-0.9.1-x86_64.patch
-URL:       	http://fame.sourceforge.net/
-BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
 BuildRequires:  autoconf, automake, libtool
 
+
 %description
 FAME is a library for fast MPEG encoding.
 
+
 %package devel
 Summary: 	Libraries and include to develop using FAME
 Group: 		Development/Libraries
@@ -41,8 +43,8 @@
 %patch6 -p1 -b .x86_64
 # This is required since the included libtool stuff is too old and breaks
 # linking (-lm and -lc functions not found!) on FC5 x86_64.
-%{__rm} -f acinclude.m4 aclocal.m4
-%{__cp} -f /usr/share/aclocal/libtool.m4 libtool.m4
+rm -f acinclude.m4 aclocal.m4
+cp -f /usr/share/aclocal/libtool.m4 libtool.m4
 touch NEWS ChangeLog
 autoreconf --force --install
 
@@ -62,22 +64,18 @@
 
 
 %install
-rm -Rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-%clean
-rm -Rf $RPM_BUILD_ROOT
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS BUGS CHANGES COPYING README TODO
 %{_libdir}/libfame*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %exclude %{_libdir}/libfame.la
 %{_bindir}/libfame-config
 %{_includedir}/fame*.h
@@ -86,6 +84,7 @@
 %{_datadir}/aclocal/libfame.m4
 %{_mandir}/man3/fame*.3*
 
+
 %changelog
 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9.1-14
 - rebuild for new F11 features



More information about the rpmfusion-commits mailing list