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