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