1 Summary: Ultimate Music Player
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: be8359d1bd9cf7679cf2ca748996e726
9 URL: http://deadbeef.sourceforge.net/
10 BuildRequires: alsa-lib-devel
11 BuildRequires: curl-devel
12 BuildRequires: dbus-devel
13 BuildRequires: ffmpeg-devel
14 BuildRequires: gtk+2-devel >= 2.12
15 BuildRequires: libcddb-devel
16 BuildRequires: libcdio-devel
17 BuildRequires: libmad-devel
18 BuildRequires: libsamplerate-devel
19 BuildRequires: libsndfile-devel
20 BuildRequires: pulseaudio-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define dblibdir %{_libdir}/%{name}
26 DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems
27 with X11 (though now it also runs in plain console without X, in
28 FreeBSD, and in OpenSolaris).
32 Group: X11/Applications/Multimedia
34 %description plugin-alsa
39 Group: X11/Applications/Multimedia
41 %description plugin-gtkui
46 Group: X11/Applications/Multimedia
48 %description plugin-mad
57 --docdir=%{_docdir}/%{name}-%{version}
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 #rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
68 #remove *.la *.a libraries and deadbeef.h
69 rm -f $RPM_BUILD_ROOT%{_libdir}/deadbeef/*.a
70 rm -f $RPM_BUILD_ROOT%{_libdir}/deadbeef/*.la
71 rm -f $RPM_BUILD_ROOT%{_includedir}/deadbeef/deadbeef.h
76 rm -rf $RPM_BUILD_ROOT
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README about.txt help.txt
82 %attr(755,root,root) %{_bindir}/%{name}
83 %{_desktopdir}/%{name}.desktop
84 %{_iconsdir}/hicolor/*/apps/deadbeef.png
85 %{_iconsdir}/hicolor/*/apps/deadbeef.svg
87 %dir %{_libdir}/deadbeef
88 %attr(755,root,root)%{_libdir}/deadbeef/*.so
89 %attr(755,root,root)%{_libdir}/deadbeef/*.so.0
90 %attr(755,root,root)%{_libdir}/deadbeef/*.so.0.0.0
93 %defattr(644,root,root,755)
97 %defattr(644,root,root,755)
98 %{dblibdir}/gtkui.*so*
101 %defattr(644,root,root,755)
102 %{dblibdir}/mpgmad.*so*