2 # warning: Installed (but unpackaged) file(s) found:
3 # /usr/lib/kde3/libamarok_aKode-engine.la
4 # /usr/lib/kde3/libamarok_aKode-engine.so
5 # /usr/share/apps/konqsidebartng/entries/amarok.desktop
6 # /usr/share/apps/konqsidebartng/kicker_entries/amarok.desktop
7 # /usr/share/services/amarok_aKode-engine.desktop
11 %bcond_without arts # disable arts engine
12 %bcond_without gstreamer # disable gstreamer
13 %bcond_without xine # disable xine engine
14 %bcond_without xmms # disable xmms wrapping
15 %bcond_with mysql # enable mysql support
16 %bcond_with akode # enable aKode engine
18 Summary: A KDE audio player
19 Summary(pl): Odtwarzacz audio dla KDE
24 Group: X11/Applications/Multimedia
25 Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
26 # Source0-md5: 9a3bb2c043d1db169c6a370aff439e0f
27 URL: http://amarok.kde.org/
28 BuildRequires: SDL-devel
29 BuildRequires: alsa-lib-devel
30 BuildRequires: arts-qt-devel
31 BuildRequires: automake
32 %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.1}
33 BuildRequires: kdebase-devel
34 BuildRequires: kdemultimedia-akode
35 BuildRequires: kdemultimedia-devel >= 9:3.1.93
36 BuildRequires: libmusicbrainz-devel
37 BuildRequires: libvisual-devel >= 0.2.0
38 BuildRequires: pcre-devel
39 BuildRequires: rpmbuild(macros) >= 1.129
40 BuildRequires: sed >= 4.0
41 BuildRequires: sqlite3-devel
42 BuildRequires: taglib-devel >= 1.3.1
43 #BuildRequires: unsermake >= 040511
44 %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0}
45 %{?with_xmms:BuildRequires: xmms-devel}
46 %{?with_mysql:BuildRequires: mysql-devel}
47 #BuildRequires: kdebindings-kjsembed-devel
48 Requires: %{name}-plugin = %{version}-%{release}
49 Requires: kdebase-core >= 9:3.1.93
50 Requires: kdemultimedia-audiocd >= 9:3.1.93
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 Odtwarzacz audio dla KDE.
61 Summary(pl): Wtyczka arts
62 Group: X11/Applications/Multimedia
63 Requires: %{name} = %{version}-%{release}
64 Provides: %{name}-plugin = %{version}-%{release}
69 %description arts -l pl
73 Summary: Plugin gstreamer
74 Summary(pl): Wtyczka gstreamer
75 Group: X11/Applications/Multimedia
76 # deps, to get it working:
77 # mp3 decoder: gstreamer-mad
78 # ogg decoder: gstreamer-vorbis
79 # audio output driver: gstreamer-audiosink-alsa
80 # from gstreamer-audio-effects to control volume, etc
82 # at least /usr/lib/gstreamer-0.8/libgstresample.so
83 # probably /usr/lib/gstreamer-0.8/libgstadder.so
84 # and probably /usr/lib/gstreamer-0.8/libgstvolume.so
85 # gstreamer-musicbrainz for being able to edit id3 tags on files.
86 Requires: gstreamer-audio-effects
87 Requires: gstreamer-audiosink
88 Requires: gstreamer-mad
89 Requires: gstreamer-vorbis
90 Requires: gstreamer-musicbrainz
91 Requires: %{name} = %{version}-%{release}
92 Provides: %{name}-plugin = %{version}-%{release}
94 %description gstreamer
97 %description gstreamer -l pl
102 Summary(pl): Wtyczka xine
103 Group: X11/Applications/Multimedia
104 Requires: %{name} = %{version}-%{release}
105 Provides: %{name}-plugin = %{version}-%{release}
110 %description xine -l pl
116 %{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \
117 amarok/src/amarok.desktop \
120 cp -f /usr/share/automake/config.sub admin
122 #export UNSERMAKE=/usr/share/unsermake/unsermake
124 %{__make} -f admin/Makefile.common cvs
128 %{!?with_arts:--without-arts} \
129 %{!?with_xine:--without-xine} \
130 %{!?with_gstreamer:--without-gstreamer} \
131 %{?with_mysql:--with-mysql} \
133 --with-qt-libraries=%{_libdir} \
134 --without-included-sqlite
139 rm -rf $RPM_BUILD_ROOT
142 DESTDIR=$RPM_BUILD_ROOT \
143 kde_htmldir=%{_kdedocdir} \
144 kde_libs_htmldir=%{_kdedocdir}
147 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
149 %find_lang amarok --all-name --with-kde
152 rm -rf $RPM_BUILD_ROOT
155 echo "Remember to install libvisual-plugins-* packages if you"
156 echo "want to have a visualizations in amarok."
158 %files -f %{name}.lang
159 %defattr(644,root,root,755)
160 %doc AUTHORS ChangeLog README TODO
161 %attr(755,root,root) %{_bindir}/amarok
162 %{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper2}
163 %attr(755,root,root) %{_bindir}/amarokapp
164 %attr(755,root,root) %{_bindir}/amarok_libvisual
165 #%attr(755,root,root) %{_bindir}/release_amarok
166 %{_libdir}/kde3/konqsidebar_universalamarok.la
167 %attr(755,root,root) %{_libdir}/kde3/konqsidebar_universalamarok.so
168 %{_libdir}/kde3/libamarok_void-engine_plugin.la
169 %attr(755,root,root) %{_libdir}/kde3/libamarok_void-engine_plugin.so
170 %{_datadir}/apps/amarok
171 %{_datadir}/apps/konqueror/servicemenus/amarok_append.desktop
172 %{_datadir}/apps/konqsidebartng/add/amarok.desktop
173 %{_datadir}/apps/profiles/amarok.profile.xml
174 %{_datadir}/config/amarokrc
175 %{_datadir}/config.kcfg/amarok.kcfg
176 %{_datadir}/services/amarok_void-engine_plugin.desktop
177 %{_datadir}/servicetypes/amarok_plugin.desktop
178 %{_desktopdir}/kde/amarok.desktop
179 %{_iconsdir}/*/*/apps/amarok.*
183 %defattr(644,root,root,755)
184 %{_libdir}/kde3/libamarok_artsengine_plugin.la
185 %attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so
186 %{_libdir}/libamarokarts.la
187 %attr(755,root,root) %{_libdir}/libamarokarts.so
188 %{_libdir}/mcop/Amarok
189 %{_libdir}/mcop/amarokarts.mcopclass
190 %{_libdir}/mcop/amarokarts.mcoptype
191 %{_datadir}/services/amarok_artsengine_plugin.desktop
194 %if %{with gstreamer}
196 %defattr(644,root,root,755)
197 %{_libdir}/kde3/libamarok_gstengine_plugin.la
198 %attr(755,root,root) %{_libdir}/kde3/libamarok_gstengine_plugin.so
199 %{_datadir}/config.kcfg/gstconfig.kcfg
200 %{_datadir}/services/amarok_gstengine_plugin.desktop
205 %defattr(644,root,root,755)
206 %{_libdir}/kde3/libamarok_xine-engine.la
207 %attr(755,root,root) %{_libdir}/kde3/libamarok_xine-engine.so
208 %{_datadir}/services/amarok_xine-engine.desktop
209 #%{_datadir}/services/amarok_xineengine_plugin.desktop