libmikmod-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Summary: A MOD music file player library
  2. Name: libmikmod
  3. Version: 3.2.0
  4. Release: 1%{?_dist_release}
  5. License: GPLv2 and LGPLv2+
  6. Group: Applications/Multimedia
  7. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  8. URL: http://http://mikmod.shlomifish.org/
  9. Source0: http://mikmod.shlomifish.org/files/libmikmod-%{version}.tar.gz
  10. Patch0: libmikmod-64bit.patch
  11. Patch2: libmikmod-strip-lib.patch
  12. Patch3: libmikmod-multilib.patch
  13. Patch6: libmikmod-CVE-2007-6720.patch
  14. Patch7: libmikmod-CVE-2009-0179.patch
  15. BuildRequires: libX11-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. libmikmod is a library used by the mikmod MOD music file player for
  20. UNIX-like systems. Supported file formats include MOD, STM, S3M, MTM,
  21. XM, ULT and IT.
  22. %package devel
  23. Group: Development/Libraries
  24. Summary: Header files and documentation for compiling mikmod applications
  25. Requires: %{name} = %{version}-%{release}
  26. Requires(post): /sbin/install-info
  27. Requires(postun): /sbin/install-info
  28. Provides: mikmod-devel = 3.2.2
  29. Obsoletes: mikmod-devel < 3.2.2
  30. %description devel
  31. This package includes the header files you will need to compile
  32. applications for mikmod.
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .64bit
  36. %patch2 -p1 -b .strip-lib
  37. %patch3 -p1 -b .multilib
  38. %patch6 -p1 -b .CVE-2007-6720
  39. %patch7 -p1 -b .CVE-2009-0179
  40. %build
  41. %configure --enable-dl --disable-altivec
  42. make %{?_smp_flags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  46. rm -f $RPM_BUILD_ROOT%{_infodir}/dir $RPM_BUILD_ROOT%{_libdir}/*.a
  47. find $RPM_BUILD_ROOT | grep "\\.la$" | xargs rm -f
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %post devel
  52. [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || :
  53. %postun -p /sbin/ldconfig
  54. %postun devel
  55. if [ $1 = 0 ] ; then
  56. [ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || :
  57. fi
  58. %files
  59. %defattr(-, root, root)
  60. %doc AUTHORS COPYING.LIB COPYING.LESSER NEWS README TODO
  61. %{_libdir}/*.so.*
  62. %files devel
  63. %defattr(-, root, root)
  64. %{_bindir}/*-config
  65. %{_libdir}/*.so
  66. %{_datadir}/aclocal/*
  67. %{_includedir}/*
  68. %{_infodir}/mikmod*
  69. %{_mandir}/man1/libmikmod-config*
  70. %changelog
  71. * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  72. - initial build for Vine Linux
  73. * Wed Jun 06 2012 Jindrich Novy <jnovy@redhat.com> 3.2.0-1
  74. - update to stable libmikmod-3.2.0
  75. * Sun May 13 2012 Karsten Hopp <karsten@redhat.com> 3.2.0-14.beta4.1
  76. - disable altivec (used on PPC only)
  77. * Sun May 13 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta4
  78. - update to 3.2.0-beta4
  79. * Tue Apr 10 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta3
  80. - update to 3.2.0-beta3
  81. - drop upstreamed patches, forwardport the rest
  82. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-13.beta2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  84. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-12.beta2
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  86. * Fri Aug 20 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-11.beta2
  87. - update the CVE-2009-3995,3996 patch and fix its naming
  88. * Thu Jul 15 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-10.beta2
  89. - fix CVE-2009-3995,3996 (#614643)
  90. * Mon Nov 23 2009 Hans de Goede <hdegoede@redhat.com> 3.2.0-9.beta2
  91. - Fix CVE-2007-6720 fix, it causes mods to sound wrong, and even causes
  92. crashes under certain circumstances (#540234), see:
  93. http://bugzilla.libsdl.org/show_bug.cgi?id=506
  94. * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-8.beta2
  95. - fix CVE-2009-0179 (#519992)
  96. * Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-7.beta2
  97. - fix CVE-2007-6720 (#519990)
  98. * Tue Aug 11 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-6.beta2
  99. - don't complain if installing with --excludedocs (#515953)
  100. - add missing requires
  101. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5.beta2
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  103. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4.beta2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  105. * Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-3.beta2
  106. - Fix MikMod_InfoLoader() and MikMod_InfoDriver() functions, fixing mikmod -n
  107. output
  108. * Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-2.beta2
  109. - Replace completely braindead (hint to author, drink coffee first, then code)
  110. esd non blocking patch with one that actually works. This fixes using mikmod
  111. with pulseaudio (bz 247865)
  112. - Note: this makes the 2 supported output devices oss and esd (and pulseaudio's
  113. esd emulation) alsa is not supported, this requires a rewrite of the mikmod
  114. alsa code which was written for alsa-0.5 and never updated for the new alsa
  115. 0.9/1.0 api
  116. * Fri Feb 15 2008 Jindrich Novy <jnovy@redhat.com> 3.2.0-1
  117. - update to libmikmod-3.2.0-beta2
  118. - fix playback on 64bit arches
  119. * Thu Feb 14 2008 Jindrich Novy <jnovy@redhat.com> 3.1.11-5
  120. - fix rpath patch so that there are no undefined symbols in
  121. libmikmod.so (#431745)
  122. * Thu Oct 25 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-4
  123. - virtually provide mikmod-devel
  124. * Wed Oct 24 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-3
  125. - add multilib patch
  126. * Tue Oct 23 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-2
  127. - update description
  128. - add smp_flags to make
  129. - don't ship static library
  130. - update upstream patch, drop texinfo dependency (thanks to Stepan Kasal)
  131. * Wed Oct 18 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-1
  132. - package libmikmod