- updated to 0.4.4
[packages/deadbeef.git] / deadbeef.spec
1 Summary:        Ultimate Music Player
2 Name:           deadbeef
3 Version:        0.4.4
4 Release:        0.1
5 License:        GPL v2 and LGPL v2.1
6 Group:          X11/Applications/Multimedia
7 Source0:        http://downloads.sourceforge.net/project/deadbeef/%{name}-%{version}.tar.bz2
8 # Source0-md5:  546e63d456d6a5625461019b15501e38
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
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)
22
23 %define dblibdir %{_libdir}/%{name}
24
25 %description
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).
29
30 %package plugin-alsa
31 Summary:        Alsa plugin
32 Group:          X11/Applications/Multimedia
33
34 %description plugin-alsa
35 Alsa plugin.
36
37 %package plugin-gtkui
38 Summary:        GTKui plugin
39 Group:          X11/Applications/Multimedia
40
41 %description plugin-gtkui
42 GTKui plugin.
43
44 %package plugin-mad
45 Summary:        Mad plugin
46 Group:          X11/Applications/Multimedia
47
48 %description plugin-mad
49 Mad plugin.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure \
56         --enable-gtkui \
57         --docdir=%{_docdir}/%{name}-%{version}
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 #rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
67
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
72
73 %find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README about.txt help.txt
81 %dir %{dblibdir}
82 %attr(755,root,root) %{_bindir}/%{name}
83 %{_desktopdir}/%{name}.desktop
84 %{_iconsdir}/hicolor/*/apps/deadbeef.png
85 %{_iconsdir}/hicolor/*/apps/deadbeef.svg
86 %{_datadir}/deadbeef
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
91
92 %files plugin-alsa
93 %defattr(644,root,root,755)
94 %{dblibdir}/alsa.*so*
95
96 %files plugin-gtkui
97 %defattr(644,root,root,755)
98 %{dblibdir}/gtkui.*so*
99
100 %files plugin-mad
101 %defattr(644,root,root,755)
102 %{dblibdir}/mpgmad.*so*
This page took 0.038111 seconds and 3 git commands to generate.