Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
libfame-0_9-1
> libfame-0_9-1.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libfame-0_9-1.spec of Package libfame-0_9-1
%define lib libfame %define major 1 %define libname libfame-0_9-%{major} Name: %{libname} Summary: Fast Assembly Mpeg Encoding library Summary(de): Schnelle Assembler MPEG Encodingbibliothek Version: 0.9.1 Release: 4 License: LGPL v2 or later Group: System/Libraries URL: http://fame.sourceforge.net Source0: libfame-0.9.1.tar.bz2 Patch0: libfame-0.9.1-gcc34-1.patch Patch1: libfame-0.9.1-underquoted-definition.patch Patch2: libfame-0.9.1-fix-includes.patch BuildRoot: %{_tmppath}/libfame-%{PACKAGE_VERSION}-root Packager: Manfred Tremmel <Manfred.Tremmel@iiv.de> Vendor: Packman Provides: %{lib} = %{version}-%{release} Obsoletes: %{lib} < %{version}-%{release} Provides: %{lib}%{major} = %{version}-%{release} Obsoletes: %{lib}%{major} < %{version}-%{release} %description FAME is a library for fast MPEG encoding. %description -l de FAME ist eine Bibliothek für schnelles MPEG-Encoding. %package -n %{lib}-devel Group: Development/Libraries/C and C++ Summary: Libraries and include to develop using FAME Summary(de): Bibliothek und Includes zum Entwicklen mit FAME Requires: %{libname} = %{version}-%{release} Provides: %{libname}-devel = %{version}-%{release} Obsoletes: %{libname}-devel < %{version}-%{release} Provides: %{lib}%{major}-devel = %{version}-%{release} Obsoletes: %{lib}%{major}-devel < %{version}-%{release} %description -n %{lib}-devel FAME is a library for fast MPEG encoding. This is the libraries, include files and other resources you can use to develop FAME applications. %description -n %{lib}-devel -l de FAME ist eine Bibliothek für schnelles MPEG-Encoding. Dies ist die Bibliothek, Include-Dateien und andere Resourcen die zur Entwicklung von Anwendungen, die FAME verwenden, benötigt werden. %prep %setup-q -n %{lib}-%{version} %patch0 -p1 %patch1 %patch2 -p1 %suse_update_config -f %suse_update_libdir %build CFLAGS="${RPM_OPT_FLAGS}" export CFLAGS # Needed for snapshot releases. if [ ! -f configure ]; then ./autogen.sh --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} fi %ifarch i686 x86_64 ia32e %configure --enable-mmx %else %configure %endif %{__make} %{?jobs:-j%{jobs}} %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} mkdir %{buildroot} %makeinstall rm -f %{buildroot}/%{_libdir}/*.a %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %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 %{lib}-devel %defattr(-, root, root) %{_bindir}/*-config %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/fame*.h %{_datadir}/aclocal/* %{_mandir}/man3/* %changelog