source: projects/specs/trunk/S/SDL_mixer/SDL_mixer-vl.spec @ 6750

Revision 6750, 4.9 KB checked in by iwaim, 12 years ago (diff)

SDL_mixer 1.2.12-2

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