SDL_mixer-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Summary: Simple DirectMedia Layer - Sample Mixer Library
  2. Name: SDL_mixer
  3. Version: 1.2.12
  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: libmikmod-devel
  18. BuildRequires: audiofile-devel
  19. Requires: libmikmod
  20. Requires: libvorbis
  21. Requires: libogg
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  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 Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-3
  82. - rebuild with VineSeed environment
  83. * Mon Aug 20 2012 IWAI, Masaharu <iwai@alib.jp> 1.2.12-2
  84. - drop BR: smpeg-devel
  85. * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1
  86. - new upstream release
  87. - change BuildRequires: libmikmod-devel instead of mikmod-devel
  88. * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.11-3
  89. - rebuild for Vine Linux
  90. - add BuildRequires: smpeg-devel, mikmod-devel and audiofile-devel
  91. - change configure option to --enable-music-mod
  92. (--enable-music-libmikmod is obsoleted)
  93. * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.11-2
  94. - rebuild with rpm-4.8.1
  95. * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.11-1
  96. - new upstream release
  97. - added BuildRequires: flac-devel
  98. - added Requires: libmikmod
  99. - added configure option
  100. --disable-dependency-tracking
  101. --disable-static
  102. --enable-music-libmikmod
  103. - used make %{?_smp_mflags} LDFLAGS=-lm
  104. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8-1
  105. - applied new versioning policy
  106. - spec in UTF-8
  107. * Tue Oct 30 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl2
  108. - added Requires: smpeg
  109. * Sun Sep 02 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl1
  110. - update SDL_mixer to 1.2.8
  111. - dropt BuildPreReq: smpeg-devel
  112. - dropt Requires: smpeg
  113. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-0vl1
  114. - new upstream release
  115. - added %post and %postun section
  116. * Mon Mar 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl2
  117. - fixed included devel package
  118. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl1
  119. - new upstream release
  120. - enabled music-ogg, music-mp3
  121. * Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2.5-0vl3
  122. - rebuilt without alsa
  123. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  124. - added japanese description
  125. - built by SDL-1.2.7
  126. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  127. - new upstram version
  128. - used rpmmacros
  129. * Tue Jul 02 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  130. - new upstream version.
  131. * Tue Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
  132. - updated SDL_mixer-1.2.3
  133. - added BuildPreReq
  134. * Wed Jan 19 2000 Sam Lantinga
  135. - converted to get package information from configure
  136. * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
  137. - initial spec file