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