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