- updated gettext BR
[packages/deadbeef.git] / deadbeef.spec
CommitLineData
e57b0fee
ZU
1Summary: Ultimate Music Player
2Name: deadbeef
fde0e022
KK
3Version: 0.5.6
4Release: 0.1
e57b0fee
ZU
5License: GPL v2 and LGPL v2.1
6Group: X11/Applications/Multimedia
561ad530 7Source0: http://downloads.sourceforge.net/deadbeef/%{name}-%{version}.tar.bz2
fde0e022 8# Source0-md5: 26b6036ca7e59c88267d3de4f42c4d01
e93e706d 9Patch0: lm-missing-symbols.patch
e57b0fee
ZU
10URL: http://deadbeef.sourceforge.net/
11BuildRequires: alsa-lib-devel
93184265 12BuildRequires: automake >= 1.11
e57b0fee
ZU
13BuildRequires: curl-devel
14BuildRequires: dbus-devel
fde0e022 15BuildRequires: faad2-devel
f123fe96 16BuildRequires: gettext-tools
561ad530 17BuildRequires: gtk+2-devel >= 2.12
93184265
ŁK
18BuildRequires: imlib2-devel
19BuildRequires: intltool >= 0.40.0
e57b0fee
ZU
20BuildRequires: libcddb-devel
21BuildRequires: libcdio-devel
22BuildRequires: libmad-devel
23BuildRequires: libsamplerate-devel
24BuildRequires: libsndfile-devel
93184265 25BuildRequires: libvorbis-devel
fde0e022 26BuildRequires: libzip-devel
93184265
ŁK
27BuildRequires: pakchois-devel
28BuildRequires: pkgconfig
e57b0fee 29BuildRequires: pulseaudio-devel
93184265 30BuildRequires: wavpack-devel
fde0e022 31BuildRequires: yasm
93184265
ŁK
32Requires(post,postun): desktop-file-utils
33Requires(post,postun): gtk-update-icon-cache
34Requires: hicolor-icon-theme
e57b0fee
ZU
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
e57b0fee
ZU
37%description
38DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems
39with X11 (though now it also runs in plain console without X, in
40FreeBSD, and in OpenSolaris).
41
93184265
ŁK
42%package plugin-aac
43Summary: AAC plugin
44Group: X11/Applications/Multimedia
45
46%description plugin-aac
47AAC player.
48
e57b0fee 49%package plugin-alsa
93184265 50Summary: ALSA plugin
e57b0fee
ZU
51Group: X11/Applications/Multimedia
52
53%description plugin-alsa
93184265
ŁK
54ALSA output plugin.
55
56%package plugin-artwork
57Summary: Artwork plugin
58Group: X11/Applications/Multimedia
59
60%description plugin-artwork
61Album artwork.
62
63%package plugin-cdda
64Summary: CD Audio plugin
65Group: X11/Applications/Multimedia
66
67%description plugin-cdda
68Audio CD player.
69
93184265
ŁK
70%package plugin-flac
71Summary: FLAC plugin
72Group: X11/Applications/Multimedia
73
74%description plugin-flac
75FLAC decoder.
e57b0fee
ZU
76
77%package plugin-gtkui
78Summary: GTKui plugin
79Group: X11/Applications/Multimedia
80
81%description plugin-gtkui
93184265
ŁK
82Standard GTK2 user interface.
83
84%package plugin-hotkeys
85Summary: Hotkeys plugin
86Group: X11/Applications/Multimedia
87
88%description plugin-hotkeys
89Global hotkeys support.
90
91%package plugin-lastfm
92Summary: last.fm plugin
93Group: X11/Applications/Multimedia
94
95%description plugin-lastfm
96last.fm scrobbler.
e57b0fee
ZU
97
98%package plugin-mad
99Summary: Mad plugin
100Group: X11/Applications/Multimedia
101
102%description plugin-mad
93184265
ŁK
103MPEG decoder.
104
105%package plugin-notify
106Summary: Notify plugin
107Group: X11/Applications/Multimedia
108
109%description plugin-notify
110OSD notify.
111
112%package plugin-oss
113Summary: OSS plugin
114Group: X11/Applications/Multimedia
115
116%description plugin-oss
117OSS output plugin.
118
119%package plugin-pulse
120Summary: PulseAudio plugin
121Group: X11/Applications/Multimedia
122
123%description plugin-pulse
124PulseAudio output plugin.
125
126%package plugin-resampler
127Summary: Resampler plugin
128Group: X11/Applications/Multimedia
129
130%description plugin-resampler
131Resampler (Secret Rabit Code).
132
133%package plugin-sndfile
134Summary: WAV/PCM plugin
135Group: X11/Applications/Multimedia
136
137%description plugin-sndfile
138WAV/PCM/aiff player.
139
140%package plugin-vorbis
141Summary: OggVorbis plugin
142Group: X11/Applications/Multimedia
143
144%description plugin-vorbis
145OggVorbis decoder.
146
147%package plugin-wavpack
148Summary: WavPack plugin
149Group: X11/Applications/Multimedia
150
151%description plugin-wavpack
152WavPack decoder.
e57b0fee
ZU
153
154%prep
155%setup -q
fde0e022 156%patch0 -p1
e57b0fee
ZU
157
158%build
14851a2a 159%{__aclocal}
e93e706d 160%{__automake}
536d510d
KG
161%configure \
162 --enable-gtkui \
163 --docdir=%{_docdir}/%{name}-%{version}
e57b0fee
ZU
164%{__make}
165
166%install
167rm -rf $RPM_BUILD_ROOT
168
169%{__make} install \
170 DESTDIR=$RPM_BUILD_ROOT
171
93184265
ŁK
172#remove *.la *.a libraries and *.h files
173%{__rm} $RPM_BUILD_ROOT%{_libdir}/deadbeef/*.{a,la}
174%{__rm} $RPM_BUILD_ROOT%{_includedir}/deadbeef/*.h
536d510d
KG
175
176%find_lang %{name}
e57b0fee 177
fde0e022
KK
178# work around automatic docs installation
179%{__rm} -rf %{name}-%{version}-doc
180cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
181%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
182
e57b0fee
ZU
183%clean
184rm -rf $RPM_BUILD_ROOT
185
93184265
ŁK
186%post
187%update_desktop_database_post
188%update_icon_cache hicolor
189
190%postun
191%update_desktop_database_postun
192%update_icon_cache hicolor
193
536d510d 194%files -f %{name}.lang
e57b0fee 195%defattr(644,root,root,755)
fde0e022
KK
196%doc %{name}-%{version}-doc/{about.txt,ChangeLog,help.txt,README,translators.txt}
197%lang(pt_BR) %doc %{name}-%{version}-doc/help.pt_BR.txt
198%lang(ru) %doc %{name}-%{version}-doc/help.ru.txt
93184265
ŁK
199%attr(755,root,root) %{_bindir}/deadbeef
200%{_desktopdir}/deadbeef.desktop
e57b0fee 201%{_iconsdir}/hicolor/*/apps/deadbeef.png
536d510d 202%{_iconsdir}/hicolor/*/apps/deadbeef.svg
e57b0fee 203%{_datadir}/deadbeef
536d510d 204%dir %{_libdir}/deadbeef
93184265
ŁK
205%attr(755,root,root)%{_libdir}/deadbeef/adplug.so*
206%attr(755,root,root)%{_libdir}/deadbeef/converter.so*
207%attr(755,root,root)%{_libdir}/deadbeef/dca.so*
208%attr(755,root,root)%{_libdir}/deadbeef/ffap.so*
209%attr(755,root,root)%{_libdir}/deadbeef/gme.so*
210%attr(755,root,root)%{_libdir}/deadbeef/m3u.so*
211%attr(755,root,root)%{_libdir}/deadbeef/mms.so*
212%attr(755,root,root)%{_libdir}/deadbeef/musepack.so*
213%attr(755,root,root)%{_libdir}/deadbeef/nullout.so*
214%attr(755,root,root)%{_libdir}/deadbeef/shellexec.so*
215%attr(755,root,root)%{_libdir}/deadbeef/sid.so*
216%attr(755,root,root)%{_libdir}/deadbeef/supereq.so*
217%attr(755,root,root)%{_libdir}/deadbeef/tta.so*
218%attr(755,root,root)%{_libdir}/deadbeef/vfs_curl.so*
219%attr(755,root,root)%{_libdir}/deadbeef/vtx.so*
220%attr(755,root,root)%{_libdir}/deadbeef/wildmidi.so*
f2d0949f 221%dir %{_libdir}/deadbeef/convpresets
93184265
ŁK
222%{_libdir}/deadbeef/convpresets/*
223
224%files plugin-aac
225%defattr(644,root,root,755)
226%attr(755,root,root)%{_libdir}/deadbeef/aac.so*
e57b0fee
ZU
227
228%files plugin-alsa
229%defattr(644,root,root,755)
93184265
ŁK
230%attr(755,root,root)%{_libdir}/deadbeef/alsa.so*
231
232%files plugin-artwork
233%defattr(644,root,root,755)
234%attr(755,root,root)%{_libdir}/deadbeef/artwork.so*
235
236%files plugin-cdda
237%defattr(644,root,root,755)
238%attr(755,root,root)%{_libdir}/deadbeef/cdda.so*
239
93184265
ŁK
240%files plugin-flac
241%defattr(644,root,root,755)
242%attr(755,root,root)%{_libdir}/deadbeef/flac.so*
e57b0fee
ZU
243
244%files plugin-gtkui
245%defattr(644,root,root,755)
93184265 246%attr(755,root,root)%{_libdir}/deadbeef/ddb_gui_GTK2.so*
14851a2a 247%attr(755,root,root)%{_libdir}/deadbeef/converter_gtk2.so*
93184265
ŁK
248
249%files plugin-hotkeys
250%defattr(644,root,root,755)
251%attr(755,root,root)%{_libdir}/deadbeef/hotkeys.so*
252
253%files plugin-lastfm
254%defattr(644,root,root,755)
255%attr(755,root,root)%{_libdir}/deadbeef/lastfm.so*
e57b0fee
ZU
256
257%files plugin-mad
258%defattr(644,root,root,755)
93184265
ŁK
259%attr(755,root,root)%{_libdir}/deadbeef/mpgmad.so*
260
261%files plugin-notify
262%defattr(644,root,root,755)
263%attr(755,root,root)%{_libdir}/deadbeef/notify.so*
264
265%files plugin-oss
266%defattr(644,root,root,755)
267%attr(755,root,root)%{_libdir}/deadbeef/oss.so*
268
269%files plugin-pulse
270%defattr(644,root,root,755)
271%attr(755,root,root)%{_libdir}/deadbeef/pulse.so*
272
273%files plugin-resampler
274%defattr(644,root,root,755)
275%attr(755,root,root)%{_libdir}/deadbeef/dsp_libsrc.so*
276
277%files plugin-sndfile
278%defattr(644,root,root,755)
279%attr(755,root,root)%{_libdir}/deadbeef/sndfile.so*
280
281%files plugin-vorbis
282%defattr(644,root,root,755)
283%attr(755,root,root)%{_libdir}/deadbeef/vorbis.so*
284
285%files plugin-wavpack
286%defattr(644,root,root,755)
287%attr(755,root,root)%{_libdir}/deadbeef/wavpack.so*
This page took 0.165967 seconds and 4 git commands to generate.