SDL_mixer-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Summary: Simple DirectMedia Layer - Sample Mixer Library
  2. Name: SDL_mixer
  3. Version: 1.2.11
  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 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. * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.11-1
  75. - new upstream release
  76. - added BuildRequires: flac-devel
  77. - added Requires: libmikmod
  78. - added configure option
  79. --disable-dependency-tracking
  80. --disable-static
  81. --enable-music-libmikmod
  82. - used make %{?_smp_mflags} LDFLAGS=-lm
  83. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8-1
  84. - applied new versioning policy
  85. - spec in UTF-8
  86. * Tue Oct 30 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl2
  87. - added Requires: smpeg
  88. * Sun Sep 02 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl1
  89. - update SDL_mixer to 1.2.8
  90. - dropt BuildPreReq: smpeg-devel
  91. - dropt Requires: smpeg
  92. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-0vl1
  93. - new upstream release
  94. - added %post and %postun section
  95. * Mon Mar 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl2
  96. - fixed included devel package
  97. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl1
  98. - new upstream release
  99. - enabled music-ogg, music-mp3
  100. * Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2.5-0vl3
  101. - rebuilt without alsa
  102. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  103. - added japanese description
  104. - built by SDL-1.2.7
  105. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  106. - new upstram version
  107. - used rpmmacros
  108. * Tue Jul 02 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  109. - new upstream version.
  110. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
  111. - updated SDL_mixer-1.2.3
  112. - added BuildPreReq
  113. * Wed Jan 19 2000 Sam Lantinga
  114. - converted to get package information from configure
  115. * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
  116. - initial spec file