SDL_mixer-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. Summary: Simple DirectMedia Layer - Sample Mixer Library
  2. Name: SDL_mixer
  3. Version: 1.2.12
  4. Release: 1%{?_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: libmikmod-devel
  19. BuildRequires: audiofile-devel
  20. Requires: libmikmod
  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. make install DESTDIR=$RPM_BUILD_ROOT
  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. * 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