Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > b9889c892c48bb307c96a79391c02969 > files > 5

libfame-0.9.1-13.mga1.src.rpm

%define version      0.9.1
%define release %mkrel 13
%define name libfame
%define api 0.9
%define major 1
%define libname %mklibname fame %api %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.

%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

%files -n %libname
%defattr(-, root, root)
%doc CHANGES COPYING README
%{_libdir}/libfame-%{api}.so.%{major}*

%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
* Fri May 13 2011 anssi <anssi> 0.9.1-13.mga1
+ Revision: 97993
- remove unneeded scriptlets
- mageiafy package
- ensure major correctness
- imported package libfame


* 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