Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL6
>
libmikmod
> libmikmod.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libmikmod.spec of Package libmikmod
Summary: A MOD music file player library Name: libmikmod Version: 3.2.0 Release: 11.beta2%{?dist} License: GPLv2 and LGPLv2+ Group: Applications/Multimedia Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: esound-devel URL: http://mikmod.raphnet.net/ Source0: http://mikmod.raphnet.net/files/libmikmod-%{version}-beta2.tar.bz2 Patch0: libmikmod-64bit.patch Patch1: libmikmod-esd.patch Patch2: libmikmod-strip-lib.patch Patch3: libmikmod-multilib.patch Patch4: libmikmod-autoconf.patch Patch5: libmikmod-info.patch Patch6: libmikmod-CVE-2007-6720.patch Patch7: libmikmod-CVE-2009-0179.patch Patch8: libmikmod-CVE-2009-3995,3996.patch %description libmikmod is a library used by the mikmod MOD music file player for UNIX-like systems. Supported file formats include MOD, STM, S3M, MTM, XM, ULT and IT. %package devel Group: Development/Libraries Summary: Header files and documentation for compiling mikmod applications Requires: %{name} = %{version}-%{release} Requires(post): /sbin/install-info Requires(postun): /sbin/install-info Provides: mikmod-devel = 3.2.2-4 Obsoletes: mikmod-devel < 3.2.2-4 %description devel This package includes the header files you will need to compile applications for mikmod. %prep %setup -q -n %{name}-%{version}-beta2 %patch0 -p1 -b .64bit %patch1 -p1 -b .esd %patch2 -p1 -b .strip-lib %patch3 -p1 -b .multilib %patch4 -p1 -b .autoconf %patch5 -p1 -b .info %patch6 -p1 -b .CVE-2007-6720 %patch7 -p1 -b .CVE-2009-0179 %patch8 -p1 -b .CVE-2009-3995,3996 %build %configure make %{?_smp_flags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" rm -f $RPM_BUILD_ROOT%{_infodir}/dir $RPM_BUILD_ROOT%{_libdir}/*.a find $RPM_BUILD_ROOT | grep "\\.la$" | xargs rm -f %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %post devel [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || : %postun -p /sbin/ldconfig %postun devel if [ $1 = 0 ] ; then [ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || : fi %files %defattr(-, root, root) %doc AUTHORS COPYING.LIB COPYING.LESSER NEWS README TODO %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_bindir}/*-config %{_libdir}/*.so %{_datadir}/aclocal/* %{_includedir}/* %{_infodir}/mikmod* %{_mandir}/man1/libmikmod-config* %changelog