]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/alsaplayer.git] / alsaplayer.spec
1 Summary:        Alsaplayer - MP2/MP3/WAV/CD player
2 Summary(pl):    Alsaplayer - odtwarzacz MP2/MP3/WAV/CD
3 Name:           alsaplayer
4 Version:        0.99.70
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
9 Patch0:         %{name}-nas.patch
10 Patch1:         %{name}-docs.patch
11 Patch2:         %{name}-c++.patch
12 BuildRequires:  alsa-lib-devel
13 BuildRequires:  audiofile-devel
14 BuildRequires:  esound-devel
15 BuildRequires:  gtk+-devel
16 BuildRequires:  libmikmod-devel
17 BuildRequires:  libvorbis-devel
18 BuildRequires:  mad-devel
19 BuildRequires:  nas-devel
20 BuildRequires:  libtool
21 BuildRequires:  automake
22 BuildRequires:  autoconf
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
27 and tries to excercise the ALSA library and driver quite a bit.
28 Features include:
29
30 Input addons:
31  - MP2 and MP3 support
32  - Ogg Vorbis support (subpackage)
33  - WAV support, 8-, 16-bit, mono, stereo, any sample rate
34  - CDDA support, CD Digital Audio playback! and thus USB ready :)
35  - Also plays files mapped by audiofs (CDDA)
36  - MAD MPEG audio
37  - Module support (mikmod) (subpcakage)
38
39 Output addons:
40  - ALSA. Best supported of course :) (subpackage)
41  - OSS. Kernel native sound drivers
42  - Sparc. UltraSparc sound drivers
43  - SGI. SGI audio library driver
44  - ESD. Enlightened sound daemon support (subpackage)
45  - NAS. Network Audio System (subpakcage)
46  - null :-)
47
48 Visual scopes:
49  - Stereoscope
50  - Monoscope
51  - Levelmeter
52  - Spacescope
53  - FFTscope
54  - FFTscope II
55  - More being developed...
56
57 General features:
58  - Full speed (pitch) control, positive *and* negative! (First Linux
59    player that does this!! MP3's and CD's do varispeed :)
60  - Queue (playlist) support
61  - Concurrent visual scopes (open as many as you want)
62  - Multi-threaded design for efficient/skip free playback (RT)
63  - GUI Interface based on gtk+
64  - NOGUI operation for shell script usage
65  - Plug-in core architecture
66  - Low latency mode, as low as 5ms when scheduled RT
67  - Effects stream
68  - Software based volume/pan control
69  - Accurate scope/audio syncing using ALSA features
70  - Portable (well, we'll see about that :)
71  - Open source(tm)
72
73 %description -l pl
74 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
75 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
76
77 Wej¶cie:
78  - obs³uga MP2 i MP3
79  - obs³uga Ogg Vorbis (w podpakiecie)
80  - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
81  - obs³uga CD Digital Audio
82  - odtwarzanie plików podmapowanych przez audiofs (CDDA)
83  - obs³uga MAD - MPEG Audio
84  - obs³uga modu³ów (mikmod) (w podpakiecie)
85
86 Wyj¶cie:
87  - OSS - natywne sterowniki z j±dra
88  - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
89  - Sparc - sterowniki d¼wiêku dla UltraSparca
90  - SGI - biblioteka sterowników d¼wiêku SGI
91  - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
92  - NAS - Sieciowego Systemu Audio (w podpakiecie)
93  - null :-)
94
95 Wizualizacja:
96  - Stereoskop
97  - Monoskop
98  - Wska¼nik poziomu d¼wiêku
99  - inne, wkrótce wiêcej...
100
101 Ogólne cechy:
102  - Kontrola szybko¶ci (w obie strony)
103  - obs³uga kolejki (playlisty)
104  - obs³uga wielu wska¼ników naraz
105  - wielow±tkowo¶æ
106  - interfejs graficzny bazuj±cy na gtk+
107  - operacje bez GUI na potrzeby skryptów
108  - architektura wtyczek
109  - programowa kontrola g³o¶no¶ci i balansu
110  - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
111
112 %package input-mikmod
113 Summary:        Alsaplayer plugin for playing mod files
114 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików mod
115 Group:          X11/Applications/Multimedia
116 Requires:       %{name} = %{version}
117
118 %description input-mikmod
119 Alsaplayer plugin for playing mod files.
120
121 %description input-mikmod -l pl 
122 Wtyczka do alsaplayera do odtwarzania plików mod.
123
124 %package input-vorbis
125 Summary:        Alsaplayer plugin for playing ogg/vorbis files
126 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
127 Group:          X11/Applications/Multimedia
128 Requires:       %{name} = %{version}
129
130 %description input-vorbis
131 Alsaplayer plugin for playing ogg/vorbis files.
132
133 %description input-vorbis -l pl 
134 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
135
136 %package input-audiofile
137 Summary:        Alsaplayer plugin for playing wave audio formats
138 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików audio typu wave
139 Group:          X11/Applications/Multimedia
140 Requires:       %{name} = %{version}
141
142 %description input-audiofile
143 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
144 WAVE, ...).
145
146 %description input-audiofile -l pl 
147 Wtyczka do alsaplayera do odtwarzania plików audio typa wave (AIFF,
148 AIFC, WAVE, ...)
149
150 %package output-alsa
151 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
152 # but this libraraies provide different .so number, so the
153 # version built will work only with correct alsa-lib version,
154 # what we do want :-)
155
156 Summary:        Alsaplayer plugin for playing through alsa drivers
157 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez drivery alsa
158 Group:          X11/Applications/Multimedia
159 Requires:       %{name} = %{version}
160
161 %description output-alsa
162 Alsaplayer plugin for playing sound through alsa drivers.
163
164 %description output-alsa -l pl 
165 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez drivery alsa.
166
167 %package output-esound
168 Summary:        Alsaplayer plugin for playing through esound daemon
169 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona esound
170 Group:          X11/Applications/Multimedia
171 Requires:       %{name} = %{version}
172
173 %description output-esound
174 Alsaplayer plugin for playing sound through esound daemon.
175
176 %description output-esound -l pl 
177 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
178
179 %package output-nas
180 Summary:        Alsaplayer plugin for playing through NAS daemon
181 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona NAS
182 Group:          X11/Applications/Multimedia
183 Requires:       %{name} = %{version}
184
185 %description output-nas
186 Alsaplayer plugin for playing sound through NAS (network audio
187 system) daemon.
188
189 %description output-nas -l pl 
190 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
191 (network audio system).
192
193 %define         _pkglibdir      %{_libdir}/%{name}
194 %define         _prefix         /usr/X11R6
195 %define         _mandir         %{_prefix}/man
196
197 %prep
198 %setup -q
199 %patch0 -p1
200 %patch1 -p1
201 %patch2 -p1
202
203 %build
204 libtoolize --copy --force
205 aclocal
206 %{__autoconf}
207 %{__automake}
208 %configure \
209         --enable-alsa \
210         --enable-audiofile \
211         --enable-esd \
212         --enable-gtk \
213         --enable-mikmod \
214         --enable-nas \
215         --enable-oggvorbis \
216         --enable-opengl \
217         --enable-oss \
218 %ifarch sparc   
219         --enable-sparc
220 %endif
221
222 %{__make}
223
224 %install
225 rm -rf $RPM_BUILD_ROOT
226
227 %{__make} install \
228         DESTDIR=$RPM_BUILD_ROOT
229
230 %clean
231 rm -rf $RPM_BUILD_ROOT
232
233 %files
234 %defattr(644,root,root,755)
235 %doc AUTHORS README ChangeLog
236 %attr(755,root,root) %{_bindir}/alsaplayer
237 %dir %{_pkglibdir}
238 %dir %{_pkglibdir}/input
239 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
240 %{_pkglibdir}/input/libcdda.la
241 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
242 %{_pkglibdir}/input/libwav.la
243 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
244 %{_pkglibdir}/input/libmad_in.la
245 %dir %{_pkglibdir}/output
246 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
247 %{_pkglibdir}/output/liboss_out.la
248 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
249 %{_pkglibdir}/output/libnull_out.la
250 %ifarch sparc
251 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
252 %{_pkglibdir}/output/libsparc_out.la
253 %endif
254 %attr(755,root,root) %{_pkglibdir}/interface/lib*.so
255 %{_pkglibdir}/interface/lib*.la
256 %attr(755,root,root) %{_pkglibdir}/scopes/lib*.so
257 %{_pkglibdir}/scopes/lib*.la
258 %{_mandir}/man*/*
259
260 %files input-mikmod
261 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
263 %{_pkglibdir}/input/libmod.la
264
265 %files input-vorbis
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
268 %{_pkglibdir}/input/libvorbis_in.la
269
270 %files input-audiofile
271 %defattr(644,root,root,755)
272 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
273 %{_pkglibdir}/input/libaf.la
274
275 %files output-alsa
276 %defattr(644,root,root,755)
277 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
278 %{_pkglibdir}/output/libalsa_out.la
279
280 %files output-esound
281 %defattr(644,root,root,755)
282 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
283 %{_pkglibdir}/output/libesound_out.la
284
285 %files output-nas
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
288 %{_pkglibdir}/output/libnas_out.la
This page took 0.115107 seconds and 4 git commands to generate.