3 %bcond_without gstreamer # disable gstreamer
4 %bcond_without xmms # disable xmms wrapping
6 Summary: A KDE audio player
7 Summary(pl): Odtwarzacz audio dla KDE
12 Group: X11/Applications/Multimedia
13 Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
14 # Source0-md5: 3572e1bbbc76d3985af9a982f22a5da8
15 URL: http://amarok.sf.net/
16 Buildrequires: alsa-lib-devel
17 Buildrequires: arts-qt-devel
18 Buildrequires: automake
19 %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.8.1}
20 BuildRequires: kdemultimedia-devel >= 9:3.1.93
21 BuildRequires: rpmbuild(macros) >= 1.129
22 BuildRequires: sed >= 4.0
23 BuildRequires: taglib-devel >= 0.95
24 BuildRequires: unsermake >= 040511
25 BuildRequires: xine-lib-devel
26 %{?with_xmms:Buildrequires: xmms-devel}
27 Requires: kdebase-core >= 9:3.1.93
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Odtwarzacz audio dla KDE.
37 Summary: Plugin gstreamer
38 Summary(pl): Wtyczka gstreamer
39 Group: X11/Applications/Multimedia
40 Requires: %{name} = %{version}-%{release}
42 %description gstreamer
45 %description gstreamer -l pl
49 %setup -q -n %{name}-%{version}
52 cp -f %{_datadir}/automake/config.sub admin
54 export UNSERMAKE=%{_datadir}/unsermake/unsermake
56 %{__make} -f admin/Makefile.common cvs
60 --with-qt-libraries=%{_libdir}
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT \
69 kde_htmldir=%{_kdedocdir} \
70 kde_libs_htmldir=%{_kdedocdir}
72 %find_lang amarok --all-name --with-kde
75 rm -rf $RPM_BUILD_ROOT
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog README TODO
80 %attr(755,root,root) %{_bindir}/amarok
81 %{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper}
82 %attr(755,root,root) %{_bindir}/amarokapp
83 %{_libdir}/kde3/libamarok_artsengine_plugin.la
84 %attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so
85 %{_libdir}/libamarokarts.la
86 %attr(755,root,root) %{_libdir}/libamarokarts.so
87 %{_libdir}/mcop/Amarok
88 %{_libdir}/mcop/amarokarts.mcopclass
89 %{_libdir}/mcop/amarokarts.mcoptype
90 %{_datadir}/apps/amarok
91 %{_datadir}/config.kcfg/amarok.kcfg
92 %{_datadir}/services/amarok_artsengine_plugin.desktop
93 %{_datadir}/servicetypes/amarok_plugin.desktop
94 %{_desktopdir}/kde/amarok.desktop
95 %{_iconsdir}/[!l]*/*/apps/amarok.png
100 %defattr(644,root,root,755)
101 %{_libdir}/kde3/libamarok_gstengine_plugin.la
102 %attr(755,root,root) %{_libdir}/kde3/libamarok_gstengine_plugin.so
103 %{_datadir}/services/amarok_gstengine_plugin.desktop