SDL_mixer-vl.spec 4.9 KB

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