91 lines
2.5 KiB
RPMSpec
91 lines
2.5 KiB
RPMSpec
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||
|
|
||
|
Name: libfame
|
||
|
Version: 0.9.1
|
||
|
Release: 5mamba
|
||
|
Summary: Fast Assembly MPEG Encoding library
|
||
|
Group: System/Multimedia
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://fame.sourceforge.net/
|
||
|
Source: http://downloads.sourceforge.net/sourceforge/fame/libfame-%{version}.tar.gz
|
||
|
Patch0: http://www.linuxfromscratch.org/blfs/downloads/svn/libfame-0.9.1-gcc34-1.patch
|
||
|
Patch1: %{name}-0.9.1-m4_underquoted_warning.patch
|
||
|
Patch2: libfame-0.9.1-x86_64-fix-segfaults.patch
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
FAME is a library for fast MPEG encoding.
|
||
|
It can currently encode MPEG-1 and MPEG-4 rectangular video, as well as MPEG-4 video with arbitrary shape.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description devel
|
||
|
FAME is a library for fast MPEG encoding.
|
||
|
It can currently encode MPEG-1 and MPEG-4 rectangular video, as well as MPEG-4 video with arbitrary shape.
|
||
|
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1
|
||
|
%patch1 -p1
|
||
|
%patch2 -p1
|
||
|
|
||
|
%build
|
||
|
touch NEWS ChangeLog
|
||
|
autoreconf --force --install
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libfame-%{majversion}.so.*
|
||
|
%{_mandir}/man3/*
|
||
|
%doc COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/libfame-config
|
||
|
%{_datadir}/aclocal/libfame.m4
|
||
|
%{_includedir}/*.h
|
||
|
%{_libdir}/libfame.a
|
||
|
%{_libdir}/libfame.la
|
||
|
%{_libdir}/libfame.so
|
||
|
%doc BUGS CHANGES README TODO
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jun 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-5mamba
|
||
|
- specfile updated and rebuilt
|
||
|
|
||
|
* Wed Jun 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.1-4qilnx
|
||
|
- underquoted definition of AM_PATH_LIBFAME fixed
|
||
|
|
||
|
* Tue Jun 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.1-3qilnx
|
||
|
- fixed source entry
|
||
|
- fixed "undefined reference to `_mmx_one'" problem
|
||
|
|
||
|
* Thu Apr 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.1-2qilnx
|
||
|
- specfile fixes
|
||
|
|
||
|
* Fri Apr 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.1-1qilnx
|
||
|
- first build
|