SDL_mixer-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. Summary: Simple DirectMedia Layer - Sample Mixer Library
  2. Name: SDL_mixer
  3. Version: 1.2.11
  4. Release: 3%{?_dist_release}
  5. Source0: http://www.libsdl.org/projects/%{name}/%{name}-%{version}.tar.gz
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. BuildRequires: SDL-devel >= 1.2.10
  10. BuildRequires: flac-devel
  11. BuildRequires: sane
  12. BuildRequires: libtool
  13. BuildRequires: automake
  14. BuildRequires: autoconf
  15. BuildRequires: libvorbis-devel
  16. BuildRequires: libogg-devel
  17. BuildRequires: smpeg-devel
  18. BuildRequires: mikmod-devel
  19. BuildRequires: audiofile-devel
  20. Requires: mikmod
  21. Requires: libvorbis
  22. Requires: libogg
  23. Requires: smpeg
  24. %description
  25. Due to popular demand, here is a simple multi-channel audio mixer.
  26. It supports 4 channels of 16 bit stereo audio, plus a single channel
  27. of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
  28. libraries.
  29. %description -l ja
  30. これはシンプルなマルチチャンネルなオーディオミキサーです。
  31. 4チャンネルの16 bit ステレオオーディオ+一般的な MikMod MOD、
  32. Timidity MIDI や SMPEG MP3 ライブラリによって
  33. ミックスされた1チャンネルの音楽をサポートします。
  34. %package devel
  35. Summary: Libraries, includes and more to develop SDL applications.
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}
  38. %description devel
  39. Due to popular demand, here is a simple multi-channel audio mixer.
  40. It supports 4 channels of 16 bit stereo audio, plus a single channel
  41. of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
  42. libraries.
  43. %description devel -l ja
  44. これはシンプルなマルチチャンネルなオーディオミキサーです。
  45. 4チャンネルの16 bit ステレオオーディオ+一般的な MikMod MOD、
  46. Timidity MIDI や SMPEG MP3 ライブラリによって
  47. ミックスされた1チャンネルの音楽をサポートします。
  48. %prep
  49. %setup -q
  50. %build
  51. %configure --disable-dependency-tracking \
  52. --disable-static \
  53. --enable-music-mod
  54. make %{?_smp_mflags} LDFLAGS=-lm
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. %makeinstall
  58. # installed binary
  59. %__mkdir_p $RPM_BUILD_ROOT%{_bindir}
  60. /bin/sh ./libtool --mode=install /usr/bin/install -c build/playmus \
  61. $RPM_BUILD_ROOT%{_bindir}
  62. /bin/sh ./libtool --mode=install /usr/bin/install -c build/playwave \
  63. $RPM_BUILD_ROOT%{_bindir}
  64. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %post -p /sbin/ldconfig
  68. %postun -p /sbin/ldconfig
  69. %files
  70. %defattr(-,root,root)
  71. %doc README CHANGES COPYING
  72. %{_bindir}/playmus
  73. %{_bindir}/playwave
  74. %{_libdir}/lib*.so.*
  75. %files devel
  76. %defattr(-,root,root,-)
  77. %{_libdir}/lib*.so
  78. %{_libdir}/pkgconfig/%{name}.pc
  79. %{_includedir}/SDL
  80. %changelog
  81. * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.11-3
  82. - rebuild for Vine Linux
  83. - add BuildRequires: smpeg-devel, mikmod-devel and audiofile-devel
  84. - change configure option to --enable-music-mod
  85. (--enable-music-libmikmod is obsoleted)
  86. * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.11-2
  87. - rebuild with rpm-4.8.1
  88. * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.11-1
  89. - new upstream release
  90. - added BuildRequires: flac-devel
  91. - added Requires: libmikmod
  92. - added configure option
  93. --disable-dependency-tracking
  94. --disable-static
  95. --enable-music-libmikmod
  96. - used make %{?_smp_mflags} LDFLAGS=-lm
  97. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8-1
  98. - applied new versioning policy
  99. - spec in UTF-8
  100. * Tue Oct 30 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl2
  101. - added Requires: smpeg
  102. * Sun Sep 02 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl1
  103. - update SDL_mixer to 1.2.8
  104. - dropt BuildPreReq: smpeg-devel
  105. - dropt Requires: smpeg
  106. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-0vl1
  107. - new upstream release
  108. - added %post and %postun section
  109. * Mon Mar 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl2
  110. - fixed included devel package
  111. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl1
  112. - new upstream release
  113. - enabled music-ogg, music-mp3
  114. * Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2.5-0vl3
  115. - rebuilt without alsa
  116. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  117. - added japanese description
  118. - built by SDL-1.2.7
  119. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  120. - new upstram version
  121. - used rpmmacros
  122. * Tue Jul 02 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  123. - new upstream version.
  124. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
  125. - updated SDL_mixer-1.2.3
  126. - added BuildPreReq
  127. * Wed Jan 19 2000 Sam Lantinga
  128. - converted to get package information from configure
  129. * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
  130. - initial spec file