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