6ea9a39f9bbd97ba25ce3dd616dd4024de86cacf
[packages/deadbeef.git] / deadbeef.spec
1 Summary:        Ultimate Music Player
2 Name:           deadbeef
3 Version:        0.4.1
4 Release:        0.2
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:  69383c6490461751c2ec6281158a8624
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 --enable-gtkui
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -rf %{_docdir}/%{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README about.txt help.txt
72 %dir %{dblibdir}
73 %attr(755,root,root) %{_bindir}/%{name}
74 %{_desktopdir}/%{name}.desktop
75 %{_iconsdir}/hicolor/*/apps/deadbeef.png
76 %{_datadir}/deadbeef
77
78 %files plugin-alsa
79 %defattr(644,root,root,755)
80 %{dblibdir}/alsa.*so*
81
82 %files plugin-gtkui
83 %defattr(644,root,root,755)
84 %{dblibdir}/gtkui.*so*
85
86 %files plugin-mad
87 %defattr(644,root,root,755)
88 %{dblibdir}/mpgmad.*so*
This page took 0.04524 seconds and 2 git commands to generate.