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