]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | %bcond_without xmms # disable xmms wrapping | |
3 | ||
4 | Summary: A KDE audio player | |
5 | Summary(pl): Odtwarzacz audio dla KDE | |
6 | Name: amarok | |
7 | Version: 1.0 | |
8 | Release: 1 | |
9 | License: GPL | |
10 | Group: X11/Applications/Multimedia | |
11 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: c52d89bde4c51b17ca7cce767b4515f3 | |
13 | URL: http://amarok.sf.net/ | |
14 | Buildrequires: arts-qt-devel | |
15 | Buildrequires: automake | |
16 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 | |
17 | BuildRequires: rpmbuild(macros) >= 1.129 | |
18 | BuildRequires: sed >= 4.0 | |
19 | BuildRequires: taglib-devel >= 0.95 | |
20 | BuildRequires: unsermake >= 040511 | |
21 | BuildRequires: xine-lib-devel | |
22 | %{?with_xmms:BuildRequires: xmms-devel} | |
23 | Requires: kdebase-core >= 9:3.1.93 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | A KDE audio player. | |
28 | ||
29 | %description -l pl | |
30 | Odtwarzacz audio dla KDE. | |
31 | ||
32 | %prep | |
33 | %setup -q -n %{name}-%{version} | |
34 | ||
35 | %build | |
36 | cp -f /usr/share/automake/config.sub admin | |
37 | ||
38 | export UNSERMAKE=/usr/share/unsermake/unsermake | |
39 | ||
40 | %{__make} -f admin/Makefile.common cvs | |
41 | ||
42 | %configure \ | |
43 | --disable-rpath \ | |
44 | --with-qt-libraries=%{_libdir} | |
45 | ||
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT \ | |
53 | kde_htmldir=%{_kdedocdir} \ | |
54 | kde_libs_htmldir=%{_kdedocdir} | |
55 | ||
56 | #find_lang %{name} --with-kde | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | #-f %{name}.lang | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_bindir}/amarok | |
65 | %{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper} | |
66 | %attr(755,root,root) %{_bindir}/amarokapp | |
67 | %{_libdir}/kde3/libamarok_artsengine_plugin.la | |
68 | %attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so | |
69 | %{_libdir}/libamarokarts.la | |
70 | %attr(755,root,root) %{_libdir}/libamarokarts.so | |
71 | %{_libdir}/mcop/Amarok | |
72 | %{_libdir}/mcop/amarokarts.mcopclass | |
73 | %{_libdir}/mcop/amarokarts.mcoptype | |
74 | %{_datadir}/apps/amarok | |
75 | %{_datadir}/config.kcfg/amarok.kcfg | |
76 | %{_datadir}/services/amarok_artsengine_plugin.desktop | |
77 | %{_datadir}/servicetypes/amarok_plugin.desktop | |
78 | %{_desktopdir}/kde/amarok.desktop | |
79 | %{_iconsdir}/[!l]*/*/apps/amarok.png | |
80 | %{_datadir}/config/* |