3 %bcond_without alsa # without alsa sound support
4 %bcond_without arts # without arts sound support
6 Summary: MP3 audio player with theme user interface and streaming support
7 Summary(pl.UTF-8): Odtwarzacz plików MP3 z obsługą motywów i streamingu
12 Group: Applications/Sound
13 Source0: http://dl.sourceforge.net/zinf/%{name}-%{version}.tar.gz
14 # Source0-md5: 727db1d0d2673f68639d343ca0ec9895
15 Source1: %{name}.desktop
17 Patch0: %{name}-ac.patch
18 Patch1: %{name}-boost.patch
19 Patch2: %{name}-musicbrainz.patch
20 URL: http://www.zinf.org/
21 BuildRequires: ORBit-devel >= 0.5.0
22 %{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9.0}
23 %{?with_arts:BuildRequires: artsc-devel}
24 BuildRequires: autoconf >= 2.50
25 BuildRequires: automake
26 BuildRequires: boost-devel >= 1.35.0
27 BuildRequires: esound-devel >= 0.2.12
28 BuildRequires: gdbm-devel
29 BuildRequires: gettext-devel >= 0.13.1
30 BuildRequires: gtk+2-devel >= 1:2.0.0
31 BuildRequires: id3lib-devel
32 BuildRequires: libmusicbrainz-devel >= 2.0.1
33 BuildRequires: libogg-devel >= 2:1.0
34 BuildRequires: libstdc++-devel
35 BuildRequires: libtool
36 BuildRequires: libvorbis-devel >= 1:1.0
37 BuildRequires: metakit-devel
41 BuildRequires: ncurses-devel
42 BuildRequires: pkgconfig
43 BuildRequires: xosd-devel
44 BuildRequires: zlib-devel
47 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 Zinf is an extensible, cross-platform audio player. It features an
51 optimized version of the GPLed Xing MPEG decoder which makes it one of
52 the fastest and best sounding players available. Zinf provides a
53 number of the most common features users have come to expect in a
54 clean, easy to use interface.
56 This project was formely known as FreeAmp.
58 %description -l pl.UTF-8
59 Zinf jest rozszerzalnym, wieloplatformowym odtwarzaczem audio. Jego
60 zalety to zoptymalizowana wersja dekodera Xing MPEG (GPL) dzięki czemu
61 freeamp jest jednym z najszybszych i najlepszych odtwarzaczy. Zinf
62 daje funkcje, których zwykle użytkownicy oczekują od prostego w
63 użytkowaniu i jasnego interfejsu.
65 Ten program wcześniej był znany pod nazwą FreeAmp.
68 Summary: Ogg/Vorbis sound Logical Media Converter plugin for ZINF
69 Summary(pl.UTF-8): Wtyczka konwertera mediów ZINF obsługująca dźwięk Ogg/Vorbis
70 Group: Applications/Sound
71 Requires: %{name} = %{version}-%{release}
73 %description lmc-vorbis
74 Ogg/Vorbis sound Logical Media Converter plugin for ZINF. This package
75 contains also Ogg/Vorbis MetaData Format plugin.
77 %description lmc-vorbis -l pl.UTF-8
78 Wtyczka konwertera mediów (Logical Media Converter) ZINF obsługująca
79 dźwięk Ogg/Vorbis. Pakiet zawiera dodatkowo wtyczkę formatu metadanych
80 (MetaData Format) ZINF obsługującą metadane z plików Ogg/Vorbis.
83 Summary: MusicBrainz MetaData Format plugin for ZINF
84 Summary(pl.UTF-8): Wtyczka formatu metadanych ZINF obsługująca metadane MusicBrainz
85 Group: Applications/Sound
86 Requires: %{name} = %{version}-%{release}
89 MusicBrainz MetaData Format plugin for ZINF.
91 %description mdf-mbcd -l pl.UTF-8
92 Wtyczka formatu metadanych (MetaData Format) ZINF obsługująca metadane
96 Summary: ALSA sound Physical Media Output plugin for ZINF
97 Summary(pl.UTF-8): Wtyczka wyjścia mediów ZINF obsługująca wyjście dźwięku ALSA
98 Group: Applications/Sound
99 Requires: %{name} = %{version}-%{release}
101 %description pmo-alsa
102 ALSA sound Physical Media Output plugin for ZINF.
104 %description pmo-alsa -l pl.UTF-8
105 Wtyczka wyjścia mediów (Physical Media Output) ZINF obsługująca
106 wyjście dźwięku ALSA.
109 Summary: aRts sound Physical Media Output plugin for ZINF
110 Summary(pl.UTF-8): Wtyczka wyjścia mediów ZINF obsługująca wyjście dźwięku aRts
111 Group: Applications/Sound
112 Requires: %{name} = %{version}-%{release}
114 %description pmo-arts
115 aRts sound Physical Media Output plugin for ZINF.
117 %description pmo-arts -l pl.UTF-8
118 Wtyczka wyjścia mediów (Physical Media Output) ZINF obsługująca
119 wyjście dźwięku aRts.
122 Summary: EsounD sound Physical Media Output plugin for ZINF
123 Summary(pl.UTF-8): Wtyczka wyjścia mediów ZINF obsługująca wyjście dźwięku EsounD
124 Group: Applications/Sound
125 Requires: %{name} = %{version}-%{release}
127 %description pmo-esound
128 ALSA sound Physical Media Output plugin for ZINF.
130 %description pmo-esound -l pl.UTF-8
131 Wtyczka wyjścia mediów (Physical Media Output) ZINF obsługująca
132 wyjście dźwięku EsounD.
135 Summary: CORBA User Interface plugin for ZINF
136 Summary(pl.UTF-8): Wtyczka interfejsu ZINF obsługująca interfejs CORBA
137 Group: Applications/Sound
138 Requires: %{name} = %{version}-%{release}
140 %description ui-corba
141 CORBA User Interface plugin for ZINF.
143 %description ui-corba -l pl.UTF-8
144 Wtyczka interfejsu użytkownika (User Interface) ZINF obsługująca
148 Summary: GTK+-based User Interface plugins for ZINF
149 Summary(pl.UTF-8): Wtyczki interfejsu ZINF oparte na GTK+
150 Group: X11/Applications/Sound
151 Requires: %{name} = %{version}-%{release}
154 GTK+-based User Interface plugins for ZINF (albumart, download,
155 musicbrowser and zinf). It also contains Kjofol and Winamp Theme
158 %description ui-gtk -l pl.UTF-8
159 Wtyczki interfejsu użytkownika (User Interface) ZINF oparte na GTK+
160 (albumart, download, musicbrowser oraz zinf). Zawiera także wtyczki
161 formatu motywów (Theme Format) konwertujące motywy Kjofola i Winampa.
164 Summary: XOSD User Interface plugin for ZINF
165 Summary(pl.UTF-8): Wtyczka interfejsu ZINF oparta na XOSD
166 Group: X11/Applications/Sound
167 Requires: %{name} = %{version}-%{release}
170 XOSD User Interface plugin for ZINF.
172 %description ui-xosd -l pl.UTF-8
173 Wtyczka interfejsu użytkownika (User Interface) ZINF oparta na XOSD.
181 %{__perl} -pi -e 's/^ca_ES/ca/' po/LINGUAS
182 mv -f po/{ca_ES,ca}.po
192 CPPFLAGS="-I/usr/include/ncurses"
194 %{!?with_alsa:--disable-alsa} \
195 %{!?with_arts:--disable-arts} \
209 rm -rf $RPM_BUILD_ROOT
210 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
213 DESTDIR=$RPM_BUILD_ROOT
215 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
216 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
221 rm -rf $RPM_BUILD_ROOT
223 %files -f %{name}.lang
224 %defattr(644,root,root,755)
225 %doc AUTHORS NEWS README doc/{README.lcdui,README.linux,ThemeHowTo.txt,WISHLIST,user.txt}
226 %attr(755,root,root) %{_bindir}/*
227 %dir %{_libdir}/%{name}
228 %dir %{_libdir}/%{name}/plugins
229 %attr(755,root,root) %{_libdir}/%{name}/plugins/cd.lmc
230 %attr(755,root,root) %{_libdir}/%{name}/plugins/wav.lmc
231 %attr(755,root,root) %{_libdir}/%{name}/plugins/xingmp3.lmc
232 %attr(755,root,root) %{_libdir}/%{name}/plugins/id3lib.mdf
233 %attr(755,root,root) %{_libdir}/%{name}/plugins/misc.mdf
234 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.plf
235 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.pmi
236 %attr(755,root,root) %{_libdir}/%{name}/plugins/cd.pmo
237 %attr(755,root,root) %{_libdir}/%{name}/plugins/soundcard.pmo
238 %attr(755,root,root) %{_libdir}/%{name}/plugins/wavout.pmo
240 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.ppp
242 %attr(755,root,root) %{_libdir}/%{name}/plugins/cmdline.ui
243 %attr(755,root,root) %{_libdir}/%{name}/plugins/irman.ui
244 %attr(755,root,root) %{_libdir}/%{name}/plugins/lcd.ui
245 %attr(755,root,root) %{_libdir}/%{name}/plugins/mpg123.ui
246 %attr(755,root,root) %{_libdir}/%{name}/plugins/ncurses.ui
248 %{_desktopdir}/*.desktop
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_libdir}/%{name}/plugins/vorbis.lmc
253 %attr(755,root,root) %{_libdir}/%{name}/plugins/vorbis.mdf
256 %defattr(644,root,root,755)
257 %attr(755,root,root) %{_libdir}/%{name}/plugins/mbcd.mdf
261 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_libdir}/%{name}/plugins/alsa.pmo
267 %defattr(644,root,root,755)
268 %attr(755,root,root) %{_libdir}/%{name}/plugins/arts.pmo
272 %defattr(644,root,root,755)
273 %attr(755,root,root) %{_libdir}/%{name}/plugins/esound.pmo
276 %defattr(644,root,root,755)
277 %attr(755,root,root) %{_libdir}/%{name}/plugins/corba.ui
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_libdir}/%{name}/plugins/kjofol.ftf
282 %attr(755,root,root) %{_libdir}/%{name}/plugins/winamp.ftf
283 %attr(755,root,root) %{_libdir}/%{name}/plugins/albumart.ui
284 %attr(755,root,root) %{_libdir}/%{name}/plugins/download.ui
285 %attr(755,root,root) %{_libdir}/%{name}/plugins/musicbrowser.ui
286 %attr(755,root,root) %{_libdir}/%{name}/plugins/zinf.ui
287 # only (graphical) themes here
291 %defattr(644,root,root,755)
292 %attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.ui