]>
Commit | Line | Data |
---|---|---|
3dce540f | 1 | |
3dce540f | 2 | Summary: A KDE audio player |
3 | Summary(pl): Odtwarzacz audio dla KDE | |
4 | Name: amarok | |
d9713c6a | 5 | Version: 0.8.3 |
6 | Release: 0.1 | |
3dce540f | 7 | License: GPL |
8 | Group: X11/Applications/Multimedia | |
d9713c6a | 9 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: bdd9532e983ca85711e93929c008a5ba | |
4db1ce0a | 11 | URL: http://amarok.sf.net/ |
3aa3d858 | 12 | Buildrequires: arts-qt-devel |
ac33bc29 | 13 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
14 | BuildRequires: rpmbuild(macros) >= 1.129 | |
43342c86 | 15 | BuildRequires: sed >= 4.0 |
3dce540f | 16 | BuildRequires: taglib-devel >= 0.95 |
3aa3d858 | 17 | BuildRequires: xine-lib-devel |
3dce540f | 18 | Requires: kdebase-core >= 9:3.1.93 |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | A KDE audio player. | |
23 | ||
24 | %description -l pl | |
25 | Odtwarzacz audio dla KDE. | |
26 | ||
27 | %prep | |
d9713c6a | 28 | %setup -q |
3dce540f | 29 | |
30 | %build | |
3dce540f | 31 | %configure \ |
32 | --disable-rpath \ | |
33 | --enable-final | |
34 | ||
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT \ | |
43342c86 | 42 | kde_appsdir=%{_applnkdir} \ |
43 | kde_htmldir=%{_kdedocdir} | |
3dce540f | 44 | install -d $RPM_BUILD_ROOT%{_desktopdir}/kde |
45 | ||
46 | mv $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia/amarok.desktop,%{_desktopdir}/kde} | |
47 | ||
43342c86 | 48 | # Grrr... |
49 | sed -i 's/Categories=Audio/Categories=AudioVideo/' \ | |
50 | $RPM_BUILD_ROOT%{_desktopdir}/kde/amarok.desktop | |
51 | ||
52 | %find_lang %{name} --with-kde | |
3dce540f | 53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
43342c86 | 57 | %files -f %{name}.lang |
3dce540f | 58 | %defattr(644,root,root,755) |
59 | %attr(755,root,root) %{_bindir}/amarok | |
60 | %{_libdir}/libamarokarts.la | |
61 | %attr(755,root,root) %{_libdir}/libamarokarts.so | |
62 | %{_libdir}/mcop/Amarok | |
63 | %{_libdir}/mcop/amarokarts.mcopclass | |
64 | %{_libdir}/mcop/amarokarts.mcoptype | |
65 | %{_datadir}/apps/amarok | |
66 | %{_desktopdir}/kde/amarok.desktop | |
67 | %{_iconsdir}/[!l]*/*/apps/amarok.png | |
3aa3d858 | 68 | %{_datadir}/config/* |