|
@@ -0,0 +1,172 @@
|
|
|
+Summary: A MOD music file player library
|
|
|
+Name: libmikmod
|
|
|
+Version: 3.2.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+License: GPLv2 and LGPLv2+
|
|
|
+Group: Applications/Multimedia
|
|
|
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
+URL: http://http://mikmod.shlomifish.org/
|
|
|
+Source0: http://mikmod.shlomifish.org/files/libmikmod-%{version}.tar.gz
|
|
|
+Patch0: libmikmod-64bit.patch
|
|
|
+Patch2: libmikmod-strip-lib.patch
|
|
|
+Patch3: libmikmod-multilib.patch
|
|
|
+Patch6: libmikmod-CVE-2007-6720.patch
|
|
|
+Patch7: libmikmod-CVE-2009-0179.patch
|
|
|
+
|
|
|
+BuildRequires: libX11-devel
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
+
|
|
|
+%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
|
|
|
+Obsoletes: mikmod-devel < 3.2.2
|
|
|
+
|
|
|
+%description devel
|
|
|
+This package includes the header files you will need to compile
|
|
|
+applications for mikmod.
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q
|
|
|
+%patch0 -p1 -b .64bit
|
|
|
+%patch2 -p1 -b .strip-lib
|
|
|
+%patch3 -p1 -b .multilib
|
|
|
+%patch6 -p1 -b .CVE-2007-6720
|
|
|
+%patch7 -p1 -b .CVE-2009-0179
|
|
|
+
|
|
|
+%build
|
|
|
+%configure --enable-dl --disable-altivec
|
|
|
+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
|
|
|
+* Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
|
|
|
+- initial build for Vine Linux
|
|
|
+
|
|
|
+
|
|
|
+* Wed Jun 06 2012 Jindrich Novy <jnovy@redhat.com> 3.2.0-1
|
|
|
+- update to stable libmikmod-3.2.0
|
|
|
+
|
|
|
+* Sun May 13 2012 Karsten Hopp <karsten@redhat.com> 3.2.0-14.beta4.1
|
|
|
+- disable altivec (used on PPC only)
|
|
|
+
|
|
|
+* Sun May 13 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta4
|
|
|
+- update to 3.2.0-beta4
|
|
|
+
|
|
|
+* Tue Apr 10 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta3
|
|
|
+- update to 3.2.0-beta3
|
|
|
+- drop upstreamed patches, forwardport the rest
|
|
|
+
|
|
|
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-13.beta2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
+
|
|
|
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-12.beta2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
+
|
|
|
+* Fri Aug 20 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-11.beta2
|
|
|
+- update the CVE-2009-3995,3996 patch and fix its naming
|
|
|
+
|
|
|
+* Thu Jul 15 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-10.beta2
|
|
|
+- fix CVE-2009-3995,3996 (#614643)
|
|
|
+
|
|
|
+* Mon Nov 23 2009 Hans de Goede <hdegoede@redhat.com> 3.2.0-9.beta2
|
|
|
+- Fix CVE-2007-6720 fix, it causes mods to sound wrong, and even causes
|
|
|
+ crashes under certain circumstances (#540234), see:
|
|
|
+ http://bugzilla.libsdl.org/show_bug.cgi?id=506
|
|
|
+
|
|
|
+* Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-8.beta2
|
|
|
+- fix CVE-2009-0179 (#519992)
|
|
|
+
|
|
|
+* Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-7.beta2
|
|
|
+- fix CVE-2007-6720 (#519990)
|
|
|
+
|
|
|
+* Tue Aug 11 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-6.beta2
|
|
|
+- don't complain if installing with --excludedocs (#515953)
|
|
|
+- add missing requires
|
|
|
+
|
|
|
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5.beta2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
+
|
|
|
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4.beta2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
+
|
|
|
+* Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-3.beta2
|
|
|
+- Fix MikMod_InfoLoader() and MikMod_InfoDriver() functions, fixing mikmod -n
|
|
|
+ output
|
|
|
+
|
|
|
+* Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-2.beta2
|
|
|
+- Replace completely braindead (hint to author, drink coffee first, then code)
|
|
|
+ esd non blocking patch with one that actually works. This fixes using mikmod
|
|
|
+ with pulseaudio (bz 247865)
|
|
|
+- Note: this makes the 2 supported output devices oss and esd (and pulseaudio's
|
|
|
+ esd emulation) alsa is not supported, this requires a rewrite of the mikmod
|
|
|
+ alsa code which was written for alsa-0.5 and never updated for the new alsa
|
|
|
+ 0.9/1.0 api
|
|
|
+
|
|
|
+* Fri Feb 15 2008 Jindrich Novy <jnovy@redhat.com> 3.2.0-1
|
|
|
+- update to libmikmod-3.2.0-beta2
|
|
|
+- fix playback on 64bit arches
|
|
|
+
|
|
|
+* Thu Feb 14 2008 Jindrich Novy <jnovy@redhat.com> 3.1.11-5
|
|
|
+- fix rpath patch so that there are no undefined symbols in
|
|
|
+ libmikmod.so (#431745)
|
|
|
+
|
|
|
+* Thu Oct 25 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-4
|
|
|
+- virtually provide mikmod-devel
|
|
|
+
|
|
|
+* Wed Oct 24 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-3
|
|
|
+- add multilib patch
|
|
|
+
|
|
|
+* Tue Oct 23 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-2
|
|
|
+- update description
|
|
|
+- add smp_flags to make
|
|
|
+- don't ship static library
|
|
|
+- update upstream patch, drop texinfo dependency (thanks to Stepan Kasal)
|
|
|
+
|
|
|
+* Wed Oct 18 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-1
|
|
|
+- package libmikmod
|