- update to 0.5.6
[packages/deadbeef.git] / deadbeef.spec
1 Summary:        Ultimate Music Player
2 Name:           deadbeef
3 Version:        0.5.6
4 Release:        0.1
5 License:        GPL v2 and LGPL v2.1
6 Group:          X11/Applications/Multimedia
7 Source0:        http://downloads.sourceforge.net/deadbeef/%{name}-%{version}.tar.bz2
8 # Source0-md5:  26b6036ca7e59c88267d3de4f42c4d01
9 Patch0:         lm-missing-symbols.patch
10 URL:            http://deadbeef.sourceforge.net/
11 BuildRequires:  alsa-lib-devel
12 BuildRequires:  automake >= 1.11
13 BuildRequires:  curl-devel
14 BuildRequires:  dbus-devel
15 BuildRequires:  faad2-devel
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 2.12
18 BuildRequires:  imlib2-devel
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libcddb-devel
21 BuildRequires:  libcdio-devel
22 BuildRequires:  libmad-devel
23 BuildRequires:  libsamplerate-devel
24 BuildRequires:  libsndfile-devel
25 BuildRequires:  libvorbis-devel
26 BuildRequires:  libzip-devel
27 BuildRequires:  pakchois-devel
28 BuildRequires:  pkgconfig
29 BuildRequires:  pulseaudio-devel
30 BuildRequires:  wavpack-devel
31 BuildRequires:  yasm
32 Requires(post,postun):  desktop-file-utils
33 Requires(post,postun):  gtk-update-icon-cache
34 Requires:       hicolor-icon-theme
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems
39 with X11 (though now it also runs in plain console without X, in
40 FreeBSD, and in OpenSolaris).
41
42 %package plugin-aac
43 Summary:        AAC plugin
44 Group:          X11/Applications/Multimedia
45
46 %description plugin-aac
47 AAC player.
48
49 %package plugin-alsa
50 Summary:        ALSA plugin
51 Group:          X11/Applications/Multimedia
52
53 %description plugin-alsa
54 ALSA output plugin.
55
56 %package plugin-artwork
57 Summary:        Artwork plugin
58 Group:          X11/Applications/Multimedia
59
60 %description plugin-artwork
61 Album artwork.
62
63 %package plugin-cdda
64 Summary:        CD Audio plugin
65 Group:          X11/Applications/Multimedia
66
67 %description plugin-cdda
68 Audio CD player.
69
70 %package plugin-flac
71 Summary:        FLAC plugin
72 Group:          X11/Applications/Multimedia
73
74 %description plugin-flac
75 FLAC decoder.
76
77 %package plugin-gtkui
78 Summary:        GTKui plugin
79 Group:          X11/Applications/Multimedia
80
81 %description plugin-gtkui
82 Standard GTK2 user interface.
83
84 %package plugin-hotkeys
85 Summary:        Hotkeys plugin
86 Group:          X11/Applications/Multimedia
87
88 %description plugin-hotkeys
89 Global hotkeys support.
90
91 %package plugin-lastfm
92 Summary:        last.fm plugin
93 Group:          X11/Applications/Multimedia
94
95 %description plugin-lastfm
96 last.fm scrobbler.
97
98 %package plugin-mad
99 Summary:        Mad plugin
100 Group:          X11/Applications/Multimedia
101
102 %description plugin-mad
103 MPEG decoder.
104
105 %package plugin-notify
106 Summary:        Notify plugin
107 Group:          X11/Applications/Multimedia
108
109 %description plugin-notify
110 OSD notify.
111
112 %package plugin-oss
113 Summary:        OSS plugin
114 Group:          X11/Applications/Multimedia
115
116 %description plugin-oss
117 OSS output plugin.
118
119 %package plugin-pulse
120 Summary:        PulseAudio plugin
121 Group:          X11/Applications/Multimedia
122
123 %description plugin-pulse
124 PulseAudio output plugin.
125
126 %package plugin-resampler
127 Summary:        Resampler plugin
128 Group:          X11/Applications/Multimedia
129
130 %description plugin-resampler
131 Resampler (Secret Rabit Code).
132
133 %package plugin-sndfile
134 Summary:        WAV/PCM plugin
135 Group:          X11/Applications/Multimedia
136
137 %description plugin-sndfile
138 WAV/PCM/aiff player.
139
140 %package plugin-vorbis
141 Summary:        OggVorbis plugin
142 Group:          X11/Applications/Multimedia
143
144 %description plugin-vorbis
145 OggVorbis decoder.
146
147 %package plugin-wavpack
148 Summary:        WavPack plugin
149 Group:          X11/Applications/Multimedia
150
151 %description plugin-wavpack
152 WavPack decoder.
153
154 %prep
155 %setup -q
156 %patch0 -p1
157
158 %build
159 %{__aclocal}
160 %{__automake}
161 %configure \
162         --enable-gtkui \
163         --docdir=%{_docdir}/%{name}-%{version}
164 %{__make}
165
166 %install
167 rm -rf $RPM_BUILD_ROOT
168
169 %{__make} install \
170         DESTDIR=$RPM_BUILD_ROOT
171
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
175
176 %find_lang %{name}
177
178 # work around automatic docs installation
179 %{__rm} -rf %{name}-%{version}-doc
180 cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
181 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
182
183 %clean
184 rm -rf $RPM_BUILD_ROOT
185
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
194 %files -f %{name}.lang
195 %defattr(644,root,root,755)
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
199 %attr(755,root,root) %{_bindir}/deadbeef
200 %{_desktopdir}/deadbeef.desktop
201 %{_iconsdir}/hicolor/*/apps/deadbeef.png
202 %{_iconsdir}/hicolor/*/apps/deadbeef.svg
203 %{_datadir}/deadbeef
204 %dir %{_libdir}/deadbeef
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*
221 %dir %{_libdir}/deadbeef/convpresets
222 %{_libdir}/deadbeef/convpresets/*
223
224 %files plugin-aac
225 %defattr(644,root,root,755)
226 %attr(755,root,root)%{_libdir}/deadbeef/aac.so*
227
228 %files plugin-alsa
229 %defattr(644,root,root,755)
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
240 %files plugin-flac
241 %defattr(644,root,root,755)
242 %attr(755,root,root)%{_libdir}/deadbeef/flac.so*
243
244 %files plugin-gtkui
245 %defattr(644,root,root,755)
246 %attr(755,root,root)%{_libdir}/deadbeef/ddb_gui_GTK2.so*
247 %attr(755,root,root)%{_libdir}/deadbeef/converter_gtk2.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*
256
257 %files plugin-mad
258 %defattr(644,root,root,755)
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.049057 seconds and 3 git commands to generate.