]> git.pld-linux.org Git - packages/zinf.git/blame - zinf.spec
- updated gettext BR
[packages/zinf.git] / zinf.spec
CommitLineData
ce4fd665
JB
1#
2# Conditional build:
ae6bf935 3%bcond_without alsa # without alsa sound support
4%bcond_without arts # without arts sound support
ce4fd665 5#
560b4e15 6Summary: MP3 audio player with theme user interface and streaming support
70665f46 7Summary(pl.UTF-8): Odtwarzacz plików MP3 z obsługą motywów i streamingu
560b4e15 8Name: zinf
e494b507 9Version: 2.2.5
be97c807 10Release: 7
560b4e15 11License: GPL
e494b507 12Group: Applications/Sound
2e954cfe 13Source0: http://dl.sourceforge.net/zinf/%{name}-%{version}.tar.gz
e494b507 14# Source0-md5: 727db1d0d2673f68639d343ca0ec9895
560b4e15 15Source1: %{name}.desktop
22d6e894 16Source2: %{name}.png
e494b507 17Patch0: %{name}-ac.patch
8d344f4d 18Patch1: %{name}-boost.patch
19Patch2: %{name}-musicbrainz.patch
560b4e15 20URL: http://www.zinf.org/
e494b507
JB
21BuildRequires: ORBit-devel >= 0.5.0
22%{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9.0}
ccc4b005 23%{?with_arts:BuildRequires: artsc-devel}
e494b507 24BuildRequires: autoconf >= 2.50
560b4e15 25BuildRequires: automake
9dbd641b 26BuildRequires: boost-devel >= 1.35.0
560b4e15 27BuildRequires: esound-devel >= 0.2.12
e494b507 28BuildRequires: gdbm-devel
3a1d4cb2 29BuildRequires: gettext-tools >= 0.13.1
b8d8f18d 30BuildRequires: gtk+2-devel >= 1:2.0.0
560b4e15 31BuildRequires: id3lib-devel
e494b507
JB
32BuildRequires: libmusicbrainz-devel >= 2.0.1
33BuildRequires: libogg-devel >= 2:1.0
ce4fd665 34BuildRequires: libstdc++-devel
22d6e894 35BuildRequires: libtool
e494b507
JB
36BuildRequires: libvorbis-devel >= 1:1.0
37BuildRequires: metakit-devel
560b4e15
JK
38%ifarch %{ix86}
39BuildRequires: nasm
40%endif
ce4fd665 41BuildRequires: ncurses-devel
dbfa1beb 42BuildRequires: pkgconfig
e494b507 43BuildRequires: xosd-devel
560b4e15 44BuildRequires: zlib-devel
f021c0af 45Provides: freeamp
b448a271 46Obsoletes: freeamp
1c5932eb 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
560b4e15 48
560b4e15
JK
49%description
50Zinf is an extensible, cross-platform audio player. It features an
51optimized version of the GPLed Xing MPEG decoder which makes it one of
52the fastest and best sounding players available. Zinf provides a
53number of the most common features users have come to expect in a
54clean, easy to use interface.
55
56This project was formely known as FreeAmp.
57
52aa07f8 58%description -l pl.UTF-8
560b4e15 59Zinf jest rozszerzalnym, wieloplatformowym odtwarzaczem audio. Jego
52aa07f8 60zalety to zoptymalizowana wersja dekodera Xing MPEG (GPL) dzięki czemu
560b4e15 61freeamp jest jednym z najszybszych i najlepszych odtwarzaczy. Zinf
52aa07f8
JR
62daje funkcje, których zwykle użytkownicy oczekują od prostego w
63użytkowaniu i jasnego interfejsu.
560b4e15 64
52aa07f8 65Ten program wcześniej był znany pod nazwą FreeAmp.
560b4e15 66
e494b507
JB
67%package lmc-vorbis
68Summary: Ogg/Vorbis sound Logical Media Converter plugin for ZINF
70665f46 69Summary(pl.UTF-8): Wtyczka konwertera mediów ZINF obsługująca dźwięk Ogg/Vorbis
e494b507
JB
70Group: Applications/Sound
71Requires: %{name} = %{version}-%{release}
72
73%description lmc-vorbis
9cb49729
JB
74Ogg/Vorbis sound Logical Media Converter plugin for ZINF. This package
75contains also Ogg/Vorbis MetaData Format plugin.
e494b507 76
52aa07f8
JR
77%description lmc-vorbis -l pl.UTF-8
78Wtyczka konwertera mediów (Logical Media Converter) ZINF obsługująca
79dźwięk Ogg/Vorbis. Pakiet zawiera dodatkowo wtyczkę formatu metadanych
80(MetaData Format) ZINF obsługującą metadane z plików Ogg/Vorbis.
e494b507
JB
81
82%package mdf-mbcd
83Summary: MusicBrainz MetaData Format plugin for ZINF
70665f46 84Summary(pl.UTF-8): Wtyczka formatu metadanych ZINF obsługująca metadane MusicBrainz
e494b507
JB
85Group: Applications/Sound
86Requires: %{name} = %{version}-%{release}
87
88%description mdf-mbcd
89MusicBrainz MetaData Format plugin for ZINF.
90
52aa07f8
JR
91%description mdf-mbcd -l pl.UTF-8
92Wtyczka formatu metadanych (MetaData Format) ZINF obsługująca metadane
881438f6 93MusicBrainz.
e494b507
JB
94
95%package pmo-alsa
96Summary: ALSA sound Physical Media Output plugin for ZINF
70665f46 97Summary(pl.UTF-8): Wtyczka wyjścia mediów ZINF obsługująca wyjście dźwięku ALSA
e494b507
JB
98Group: Applications/Sound
99Requires: %{name} = %{version}-%{release}
100
101%description pmo-alsa
102ALSA sound Physical Media Output plugin for ZINF.
103
52aa07f8
JR
104%description pmo-alsa -l pl.UTF-8
105Wtyczka wyjścia mediów (Physical Media Output) ZINF obsługująca
106wyjście dźwięku ALSA.
e494b507
JB
107
108%package pmo-arts
109Summary: aRts sound Physical Media Output plugin for ZINF
70665f46 110Summary(pl.UTF-8): Wtyczka wyjścia mediów ZINF obsługująca wyjście dźwięku aRts
e494b507
JB
111Group: Applications/Sound
112Requires: %{name} = %{version}-%{release}
113
114%description pmo-arts
115aRts sound Physical Media Output plugin for ZINF.
116
52aa07f8
JR
117%description pmo-arts -l pl.UTF-8
118Wtyczka wyjścia mediów (Physical Media Output) ZINF obsługująca
119wyjście dźwięku aRts.
e494b507
JB
120
121%package pmo-esound
122Summary: EsounD sound Physical Media Output plugin for ZINF
70665f46 123Summary(pl.UTF-8): Wtyczka wyjścia mediów ZINF obsługująca wyjście dźwięku EsounD
e494b507
JB
124Group: Applications/Sound
125Requires: %{name} = %{version}-%{release}
126
127%description pmo-esound
128ALSA sound Physical Media Output plugin for ZINF.
129
52aa07f8
JR
130%description pmo-esound -l pl.UTF-8
131Wtyczka wyjścia mediów (Physical Media Output) ZINF obsługująca
132wyjście dźwięku EsounD.
e494b507
JB
133
134%package ui-corba
135Summary: CORBA User Interface plugin for ZINF
70665f46 136Summary(pl.UTF-8): Wtyczka interfejsu ZINF obsługująca interfejs CORBA
e494b507
JB
137Group: Applications/Sound
138Requires: %{name} = %{version}-%{release}
139
140%description ui-corba
141CORBA User Interface plugin for ZINF.
142
52aa07f8
JR
143%description ui-corba -l pl.UTF-8
144Wtyczka interfejsu użytkownika (User Interface) ZINF obsługująca
e494b507
JB
145interfejs CORBA.
146
147%package ui-gtk
148Summary: GTK+-based User Interface plugins for ZINF
70665f46 149Summary(pl.UTF-8): Wtyczki interfejsu ZINF oparte na GTK+
e494b507
JB
150Group: X11/Applications/Sound
151Requires: %{name} = %{version}-%{release}
152
153%description ui-gtk
154GTK+-based User Interface plugins for ZINF (albumart, download,
155musicbrowser and zinf). It also contains Kjofol and Winamp Theme
156Format plugins.
157
52aa07f8
JR
158%description ui-gtk -l pl.UTF-8
159Wtyczki interfejsu użytkownika (User Interface) ZINF oparte na GTK+
160(albumart, download, musicbrowser oraz zinf). Zawiera także wtyczki
161formatu motywów (Theme Format) konwertujące motywy Kjofola i Winampa.
e494b507
JB
162
163%package ui-xosd
164Summary: XOSD User Interface plugin for ZINF
70665f46 165Summary(pl.UTF-8): Wtyczka interfejsu ZINF oparta na XOSD
e494b507
JB
166Group: X11/Applications/Sound
167Requires: %{name} = %{version}-%{release}
168
169%description ui-xosd
170XOSD User Interface plugin for ZINF.
171
52aa07f8
JR
172%description ui-xosd -l pl.UTF-8
173Wtyczka interfejsu użytkownika (User Interface) ZINF oparta na XOSD.
e494b507 174
560b4e15
JK
175%prep
176%setup -q
177%patch0 -p1
8d344f4d 178%patch1 -p1
179%patch2 -p1
560b4e15 180
9f74f61b
JB
181%{__perl} -pi -e 's/^ca_ES/ca/' po/LINGUAS
182mv -f po/{ca_ES,ca}.po
183rm -f po/stamp-po
184
560b4e15 185%build
e494b507 186%{__gettextize}
22d6e894
JB
187%{__libtoolize}
188%{__aclocal} -I m4
2e954cfe 189%{__autoconf}
22d6e894
JB
190%{__autoheader}
191%{__automake}
b8d8f18d 192CPPFLAGS="-I/usr/include/ncurses"
560b4e15 193%configure \
e494b507 194 %{!?with_alsa:--disable-alsa} \
ccc4b005 195 %{!?with_arts:--disable-arts} \
e494b507 196 --enable-corba \
560b4e15 197 --enable-esd \
32d5b30f 198%ifarch %{ix86}
e494b507 199 --enable-rio \
32d5b30f 200%endif
560b4e15
JK
201%ifnarch %{ix86}
202 --disable-x86opts \
203%endif
e494b507 204 --enable-xosd
560b4e15
JK
205
206%{__make}
207
208%install
209rm -rf $RPM_BUILD_ROOT
e494b507 210install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
560b4e15 211
22d6e894
JB
212%{__make} install \
213 DESTDIR=$RPM_BUILD_ROOT
560b4e15 214
e494b507 215install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
22d6e894 216install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
560b4e15 217
e494b507
JB
218%find_lang %{name}
219
560b4e15
JK
220%clean
221rm -rf $RPM_BUILD_ROOT
222
e494b507 223%files -f %{name}.lang
560b4e15 224%defattr(644,root,root,755)
22d6e894 225%doc AUTHORS NEWS README doc/{README.lcdui,README.linux,ThemeHowTo.txt,WISHLIST,user.txt}
560b4e15
JK
226%attr(755,root,root) %{_bindir}/*
227%dir %{_libdir}/%{name}
228%dir %{_libdir}/%{name}/plugins
e494b507
JB
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
560b4e15
JK
234%attr(755,root,root) %{_libdir}/%{name}/plugins/*.plf
235%attr(755,root,root) %{_libdir}/%{name}/plugins/*.pmi
e494b507
JB
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
4d736961 239%ifarch %{ix86}
e494b507 240%attr(755,root,root) %{_libdir}/%{name}/plugins/*.ppp
4d736961 241%endif
e494b507
JB
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
247%{_pixmapsdir}/*.png
248%{_desktopdir}/*.desktop
249
250%files lmc-vorbis
251%defattr(644,root,root,755)
252%attr(755,root,root) %{_libdir}/%{name}/plugins/vorbis.lmc
9cb49729 253%attr(755,root,root) %{_libdir}/%{name}/plugins/vorbis.mdf
e494b507
JB
254
255%files mdf-mbcd
256%defattr(644,root,root,755)
257%attr(755,root,root) %{_libdir}/%{name}/plugins/mbcd.mdf
258
259%if %{with alsa}
260%files pmo-alsa
261%defattr(644,root,root,755)
262%attr(755,root,root) %{_libdir}/%{name}/plugins/alsa.pmo
263%endif
264
265%if %{with arts}
266%files pmo-arts
267%defattr(644,root,root,755)
268%attr(755,root,root) %{_libdir}/%{name}/plugins/arts.pmo
269%endif
270
271%files pmo-esound
272%defattr(644,root,root,755)
273%attr(755,root,root) %{_libdir}/%{name}/plugins/esound.pmo
274
275%files ui-corba
276%defattr(644,root,root,755)
277%attr(755,root,root) %{_libdir}/%{name}/plugins/corba.ui
278
279%files ui-gtk
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
560b4e15 288%{_datadir}/%{name}
e494b507
JB
289
290%files ui-xosd
291%defattr(644,root,root,755)
292%attr(755,root,root) %{_libdir}/%{name}/plugins/xosd.ui
This page took 0.097504 seconds and 4 git commands to generate.