# Note that this is NOT a relocatable package %define version 0.9.1 %define release %mkrel 12 %define distsuffix plf %define name libfame %define major 0.9_1 %define libname %mklibname fame %major %define develname %mklibname -d fame Summary: Fast Assembly Mpeg Encoding library Name: %name Version: %version Release: %release License: LGPLv2+ Group: System/Libraries Source0: http://prdownloads.sourceforge.net/fame/libfame-%{version}.tar.bz2 Patch: libfame-0.9.1-gcc34-1.patch.bz2 Patch1: libfame-0.9.1-64bit.diff Patch2: libfame-0.9.1-fix-underquoted-calls.patch URL: http://fame.sourceforge.net BuildRoot: %_tmppath/libfame-%{PACKAGE_VERSION}-root %description FAME is a library for fast MPEG encoding. This package is in PLF as it might violate some patents. %package -n %libname Summary: Fast Assembly Mpeg Encoding library Group: System/Libraries %description -n %libname FAME is a library for fast MPEG encoding. %package -n %develname Summary: Libraries and include to develop using FAME Group: Development/C Requires: %libname = %version-%release Provides: %name-devel = %version-%release Provides: libfame0.9-devel = %version-%release Conflicts: libfame-devel < %version Obsoletes: %mklibname -d fame 0.9_1 %description -n %develname FAME is a library for fast MPEG encoding. This is the libraries, include files and other resources you can use to develop FAME applications. %prep %setup -q %patch -p1 %patch1 -p1 %patch2 -p1 aclocal autoconf automake -a -f --foreign %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %multiarch_binaries %{buildroot}%{_bindir}/*-config %clean rm -rf $RPM_BUILD_ROOT %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files -n %libname %defattr(-, root, root) %doc CHANGES COPYING README %{_libdir}/lib*.so.* %files -n %develname %defattr(-, root, root) %doc CHANGES COPYING README %{_bindir}/*-config %{multiarch_bindir}/*-config %{_libdir}/lib*.so %{_libdir}/*a %{_includedir}/fame*.h %{_datadir}/aclocal/* %{_mandir}/man3/* %changelog * Mon May 2 2011 Götz Waschk <goetz@zarb.org> 0.9.1-12 - remove multiarch macro * Sun Feb 22 2009 Götz Waschk <goetz@zarb.org> 0.9.1-11plf2009.1 - fix configure - update license * Thu Feb 21 2008 Götz Waschk <goetz@zarb.org> 0.9.1-10plf2008.1 - fix underquoted call in the m4 file * Mon Jan 21 2008 Götz Waschk <goetz@zarb.org> 0.9.1-10plf2008.1 - fix plf reason - new devel name * Sun Sep 10 2006 Anssi Hannula <anssi@zarb.org> 0.9.1-8plf2007.0 - patch1: 64bit fixes * Thu Jun 29 2006 Götz Waschk <goetz@zarb.org> 0.9.1-7plf - Rebuild - use mkrel * Fri May 13 2005 Pascal Terjan <pterjan@zarb.org> 0.9.1-6plf - multiarch * Tue Jan 18 2005 Götz Waschk <goetz@zarb.org> 0.9.1-5plf - update the patch * Wed Nov 24 2004 Götz Waschk <goetz@zarb.org> 0.9.1-4plf - patch for undefined symbol - add source URL * Mon Sep 20 2004 Götz Waschk <goetz@zarb.org> 0.9.1-3plf - fix description * Wed Feb 11 2004 Götz Waschk <goetz@plf.zarb.org> 0.9.1-2plf - fix 9.0 build * Wed Feb 11 2004 Götz Waschk <goetz@plf.zarb.org> 0.9.1-1plf - use the mklibname macro - autoconf 2.5 macro - add conflict with older libfame-devel versions - drop prefix - new major number - new version * Sun Jun 2 2002 Götz Waschk <waschk@linux-mandrake.com> 0.9-1plf - major number 0.9 - 0.9.0 * Tue May 7 2002 Götz Waschk <waschk@linux-mandrake.com> 0.8.10-1plf - initial plf package