]>
Commit | Line | Data |
---|---|---|
ba295710 | 1 | |
7e6732ad | 2 | %bcond_without xmms # disable xmms wrapping |
ba295710 | 3 | |
3dce540f | 4 | Summary: A KDE audio player |
5 | Summary(pl): Odtwarzacz audio dla KDE | |
6 | Name: amarok | |
67b93ebf SP |
7 | Version: 1.0 |
8 | Release: 1 | |
3dce540f | 9 | License: GPL |
10 | Group: X11/Applications/Multimedia | |
67b93ebf SP |
11 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
12 | # Source0-md5: c52d89bde4c51b17ca7cce767b4515f3 | |
4db1ce0a | 13 | URL: http://amarok.sf.net/ |
3aa3d858 | 14 | Buildrequires: arts-qt-devel |
3022f84e | 15 | Buildrequires: automake |
ac33bc29 | 16 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
3022f84e | 17 | BuildRequires: rpmbuild(macros) >= 1.129 |
43342c86 | 18 | BuildRequires: sed >= 4.0 |
3022f84e | 19 | BuildRequires: taglib-devel >= 0.95 |
dd353647 | 20 | BuildRequires: unsermake >= 040511 |
3aa3d858 | 21 | BuildRequires: xine-lib-devel |
ba295710 | 22 | %{?with_xmms:BuildRequires: xmms-devel} |
3dce540f | 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 | |
67b93ebf | 33 | %setup -q -n %{name}-%{version} |
3dce540f | 34 | |
35 | %build | |
3022f84e | 36 | cp -f /usr/share/automake/config.sub admin |
d3a55e61 | 37 | |
38 | export UNSERMAKE=/usr/share/unsermake/unsermake | |
39 | ||
40 | %{__make} -f admin/Makefile.common cvs | |
41 | ||
3dce540f | 42 | %configure \ |
43 | --disable-rpath \ | |
d3a55e61 | 44 | --with-qt-libraries=%{_libdir} |
3dce540f | 45 | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT \ | |
bd5fd9cb | 53 | kde_htmldir=%{_kdedocdir} \ |
54 | kde_libs_htmldir=%{_kdedocdir} | |
43342c86 | 55 | |
69bf77cf | 56 | #find_lang %{name} --with-kde |
3dce540f | 57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
69bf77cf | 61 | %files |
62 | #-f %{name}.lang | |
3dce540f | 63 | %defattr(644,root,root,755) |
64 | %attr(755,root,root) %{_bindir}/amarok | |
ba295710 | 65 | %{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper} |
d3a55e61 | 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 | |
3dce540f | 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 | |
d3a55e61 | 75 | %{_datadir}/config.kcfg/amarok.kcfg |
76 | %{_datadir}/services/amarok_artsengine_plugin.desktop | |
77 | %{_datadir}/servicetypes/amarok_plugin.desktop | |
3dce540f | 78 | %{_desktopdir}/kde/amarok.desktop |
79 | %{_iconsdir}/[!l]*/*/apps/amarok.png | |
3aa3d858 | 80 | %{_datadir}/config/* |