[521] | 1 | Summary: Simple DirectMedia Layer - Sample Mixer Library |
---|
| 2 | Name: SDL_mixer |
---|
[6414] | 3 | Version: 1.2.12 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 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 |
---|
[1833] | 10 | BuildRequires: flac-devel |
---|
[521] | 11 | BuildRequires: sane |
---|
[4168] | 12 | BuildRequires: libtool |
---|
| 13 | BuildRequires: automake |
---|
| 14 | BuildRequires: autoconf |
---|
[521] | 15 | BuildRequires: libvorbis-devel |
---|
| 16 | BuildRequires: libogg-devel |
---|
[4168] | 17 | BuildRequires: smpeg-devel |
---|
[6414] | 18 | BuildRequires: libmikmod-devel |
---|
[4168] | 19 | BuildRequires: audiofile-devel |
---|
[6414] | 20 | Requires: libmikmod |
---|
[521] | 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 | これはシンプルなマルチチャンネルなオーディオミキサーです。 |
---|
[1833] | 33 | 4チャンネルの16 bit ステレオオーディオ+一般的な MikMod MOD、 |
---|
| 34 | Timidity MIDI や SMPEG MP3 ライブラリによって |
---|
[521] | 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 | これはシンプルなマルチチャンネルなオーディオミキサーです。 |
---|
[1833] | 50 | 4チャンネルの16 bit ステレオオーディオ+一般的な MikMod MOD、 |
---|
| 51 | Timidity MIDI や SMPEG MP3 ライブラリによって |
---|
[521] | 52 | ミックスされた1チャンネルの音楽をサポートします。 |
---|
| 53 | |
---|
| 54 | %prep |
---|
| 55 | %setup -q |
---|
| 56 | |
---|
| 57 | %build |
---|
[4168] | 58 | %configure --disable-dependency-tracking \ |
---|
| 59 | --disable-static \ |
---|
| 60 | --enable-music-mod |
---|
[1833] | 61 | make %{?_smp_mflags} LDFLAGS=-lm |
---|
[521] | 62 | |
---|
| 63 | %install |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
[6414] | 65 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 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) |
---|
[1833] | 85 | %doc README CHANGES COPYING |
---|
[521] | 86 | %{_bindir}/playmus |
---|
| 87 | %{_bindir}/playwave |
---|
| 88 | %{_libdir}/lib*.so.* |
---|
| 89 | |
---|
| 90 | %files devel |
---|
[1833] | 91 | %defattr(-,root,root,-) |
---|
[521] | 92 | %{_libdir}/lib*.so |
---|
[1833] | 93 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 94 | %{_includedir}/SDL |
---|
[521] | 95 | |
---|
| 96 | %changelog |
---|
[6414] | 97 | * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1 |
---|
| 98 | - new upstream release |
---|
| 99 | - change BuildRequires: libmikmod-devel instead of mikmod-devel |
---|
| 100 | |
---|
[4168] | 101 | * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.11-3 |
---|
| 102 | - rebuild for Vine Linux |
---|
| 103 | - add BuildRequires: smpeg-devel, mikmod-devel and audiofile-devel |
---|
| 104 | - change configure option to --enable-music-mod |
---|
| 105 | (--enable-music-libmikmod is obsoleted) |
---|
| 106 | |
---|
[2409] | 107 | * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.11-2 |
---|
| 108 | - rebuild with rpm-4.8.1 |
---|
| 109 | |
---|
[1833] | 110 | * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.11-1 |
---|
| 111 | - new upstream release |
---|
| 112 | - added BuildRequires: flac-devel |
---|
| 113 | - added Requires: libmikmod |
---|
| 114 | - added configure option |
---|
| 115 | --disable-dependency-tracking |
---|
| 116 | --disable-static |
---|
| 117 | --enable-music-libmikmod |
---|
| 118 | - used make %{?_smp_mflags} LDFLAGS=-lm |
---|
| 119 | |
---|
[521] | 120 | * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8-1 |
---|
| 121 | - applied new versioning policy |
---|
| 122 | - spec in UTF-8 |
---|
| 123 | |
---|
| 124 | * Tue Oct 30 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl2 |
---|
| 125 | - added Requires: smpeg |
---|
| 126 | |
---|
| 127 | * Sun Sep 02 2007 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl1 |
---|
| 128 | - update SDL_mixer to 1.2.8 |
---|
| 129 | - dropt BuildPreReq: smpeg-devel |
---|
| 130 | - dropt Requires: smpeg |
---|
| 131 | |
---|
| 132 | * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-0vl1 |
---|
| 133 | - new upstream release |
---|
| 134 | - added %post and %postun section |
---|
| 135 | |
---|
| 136 | * Mon Mar 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl2 |
---|
| 137 | - fixed included devel package |
---|
| 138 | |
---|
| 139 | * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.6-0vl1 |
---|
| 140 | - new upstream release |
---|
| 141 | - enabled music-ogg, music-mp3 |
---|
| 142 | |
---|
| 143 | * Mon Oct 11 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2.5-0vl3 |
---|
| 144 | - rebuilt without alsa |
---|
| 145 | |
---|
| 146 | * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2 |
---|
| 147 | - added japanese description |
---|
| 148 | - built by SDL-1.2.7 |
---|
| 149 | |
---|
| 150 | * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1 |
---|
| 151 | - new upstram version |
---|
| 152 | - used rpmmacros |
---|
| 153 | |
---|
| 154 | * Tue Jul 02 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1 |
---|
| 155 | - new upstream version. |
---|
| 156 | |
---|
| 157 | * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1 |
---|
| 158 | - updated SDL_mixer-1.2.3 |
---|
| 159 | - added BuildPreReq |
---|
| 160 | |
---|
| 161 | * Wed Jan 19 2000 Sam Lantinga |
---|
| 162 | - converted to get package information from configure |
---|
| 163 | * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com> |
---|
| 164 | - initial spec file |
---|
| 165 | |
---|