libmikmod-vl.spec 5.7 KB

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