SDL_mixer-vl.spec 4.3 KB

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