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

Revision 6414, 4.8 KB checked in by Takemikaduchi, 12 years ago (diff)

supertuxkart: rebuild
others: new upstream release

Line 
1Summary: Simple DirectMedia Layer - Sample Mixer Library
2Name:    SDL_mixer
3Version: 1.2.12
4Release: 1%{?_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: smpeg-devel
18BuildRequires: libmikmod-devel
19BuildRequires: audiofile-devel
20Requires: libmikmod
21Requires: libvorbis
22Requires: libogg
23Requires: smpeg
24
25%description
26Due to popular demand, here is a simple multi-channel audio mixer.
27It supports 4 channels of 16 bit stereo audio, plus a single channel
28of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
29libraries.
30
31%description -l ja
32これはシンプルなマルチチャンネルなオーディオミキサーです。
334チャンネルの16 bit ステレオオーディオ+一般的な MikMod MOD、
34Timidity MIDI や SMPEG MP3 ライブラリによって
35ミックスされた1チャンネルの音楽をサポートします。
36
37%package devel
38Summary: Libraries, includes and more to develop SDL applications.
39Group: Development/Libraries
40Requires: %{name} = %{version}
41
42%description devel
43Due to popular demand, here is a simple multi-channel audio mixer.
44It supports 4 channels of 16 bit stereo audio, plus a single channel
45of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
46libraries.
47
48%description devel -l ja
49これはシンプルなマルチチャンネルなオーディオミキサーです。
504チャンネルの16 bit ステレオオーディオ+一般的な MikMod MOD、
51Timidity 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
61make %{?_smp_mflags} LDFLAGS=-lm
62
63%install
64rm -rf $RPM_BUILD_ROOT
65make install DESTDIR=$RPM_BUILD_ROOT
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
74rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
75
76%clean
77rm -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* 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
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
107* Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.11-2
108- rebuild with rpm-4.8.1
109
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
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
Note: See TracBrowser for help on using the repository browser.