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