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

Revision 2409, 4.3 KB checked in by Takemikaduchi, 13 years ago (diff)

add BuildRequires?

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