2 # - try not to link with static mysql
8 Summary: A KDE audio player
9 Summary(pl.UTF-8): Odtwarzacz audio dla KDE
14 Group: X11/Applications/Multimedia
15 Source0: ftp://ftp.kde.org/pub/kde/%{state}/amarok/%{version}/src/%{name}-%{version}.tar.bz2
16 # Source0-md5: fc672a2848e36b3b44eb81dd1466e4f4
17 Patch0: %{name}-disable_qtscriptbindings_check_fix.patch
18 URL: http://amarok.kde.org/
19 BuildRequires: Qt3Support-devel >= %{qtver}
20 BuildRequires: QtCore-devel >= %{qtver}
21 BuildRequires: QtDBus-devel >= %{qtver}
22 BuildRequires: QtNetwork-devel >= %{qtver}
23 BuildRequires: QtOpenGL-devel >= %{qtver}
24 BuildRequires: QtScript-devel >= %{qtver}
25 BuildRequires: QtSql-devel >= %{qtver}
26 BuildRequires: QtSvg-devel >= %{qtver}
27 BuildRequires: QtUiTools-devel >= %{qtver}
28 BuildRequires: QtWebKit-devel >= %{qtver}
29 BuildRequires: QtXml-devel >= %{qtver}
30 BuildRequires: automoc4 >= 0.9.88
31 BuildRequires: cmake >= 2.6.3
32 BuildRequires: curl-devel
33 BuildRequires: gettext-devel
34 BuildRequires: glib2-devel
35 BuildRequires: kde4-kdemultimedia-devel >= %{kdever}
36 BuildRequires: libgpod-devel >= 0.7.0
37 BuildRequires: liblastfm-devel
38 BuildRequires: libmtp-devel >= 0.3.0
39 BuildRequires: loudmouth-devel
40 BuildRequires: mysql-devel >= 5.1.31-3
41 BuildRequires: pcre-devel
42 BuildRequires: pkgconfig
43 BuildRequires: qca-devel
44 BuildRequires: qt4-build >= %{qtver}
45 BuildRequires: qt4-qmake >= %{qtver}
46 BuildRequires: qtscriptbindings
47 BuildRequires: rpmbuild(macros) >= 1.129
48 BuildRequires: strigi-devel >= 0.5.10
49 BuildRequires: taglib-devel >= 1.6
50 BuildRequires: taglib-extras-devel >= 1.0.0
51 BuildRequires: xorg-lib-libXpm-devel
52 Requires(post,postun): /sbin/ldconfig
53 Requires: kde4-kdebase-core
54 Requires: kde4-kdemultimedia-audiocd
56 Requires: qtscriptbindings
57 Suggests: libvisual-plugin-actor-JESS
58 Suggests: libvisual-plugin-actor-bumpscope
59 Suggests: libvisual-plugin-actor-corona
60 Suggests: libvisual-plugin-actor-flower
61 Suggests: libvisual-plugin-actor-gdkpixbuf
62 Suggests: libvisual-plugin-actor-gforce
63 Suggests: libvisual-plugin-actor-gstreamer
64 Suggests: libvisual-plugin-actor-infinite
65 Suggests: libvisual-plugin-actor-jakdaw
66 Suggests: libvisual-plugin-actor-lv_analyzer
67 Suggests: libvisual-plugin-actor-lv_gltest
68 Suggests: libvisual-plugin-actor-lv_scope
69 Suggests: libvisual-plugin-actor-madspin
70 Suggests: libvisual-plugin-actor-nastyfft
71 Suggests: libvisual-plugin-actor-oinksie
72 Suggests: libvisual-plugin-input-alsa
73 Suggests: libvisual-plugin-input-esd
74 Suggests: libvisual-plugin-input-jack
75 Suggests: libvisual-plugin-input-mplayer
76 Suggests: libvisual-plugin-morph-alphablend
77 Suggests: libvisual-plugin-morph-flash
78 Suggests: libvisual-plugin-morph-slide
79 Suggests: libvisual-plugin-morph-tentacle
80 Obsoletes: amarok-arts
81 Obsoletes: amarok-xmms
82 # It should require mysql-embeded
83 Requires: mysql >= 5.1.31-3
84 Conflicts: mysql < 5.1.31-3
85 # sr@Latn vs. sr@latin
86 Conflicts: glibc-misc < 6:2.7
87 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92 %description -l pl.UTF-8
93 Odtwarzacz audio dla KDE.
96 Summary: amaroK scripts
97 Summary(pl.UTF-8): Skrypty amaroKa
98 Group: X11/Applications/Multimedia
99 Requires: %{name} = %{version}-%{release}
100 Requires: kde4-kdebase-kdialog
103 amaroK scripts allow you extend amaroK functionality.
105 You can learn more about scripts in amaroK from here:
106 <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>.
108 %description scripts -l pl.UTF-8
109 Skrypty amaroKa pozwalające rozszerzać jego funkcjonalność.
111 Więcej o skryptach w amaroKu można dowiedzieć się stąd:
112 <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>.
122 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
123 -DLIB_INSTALL_DIR=%{_libdir} \
124 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
125 %if "%{_lib}" == "lib64"
133 rm -rf $RPM_BUILD_ROOT
135 %{__make} -C build install \
136 DESTDIR=$RPM_BUILD_ROOT \
137 kde_htmldir=%{_kdedocdir} \
138 kde_libs_htmldir=%{_kdedocdir}
141 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
143 # remove unsupported locale
144 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/sr@ijekavian*
146 %find_lang %{name} --all-name --with-kde
149 rm -rf $RPM_BUILD_ROOT
151 %post -p /sbin/ldconfig
152 %postun -p /sbin/ldconfig
154 %files -f %{name}.lang
155 %defattr(644,root,root,755)
156 %doc AUTHORS ChangeLog README
157 %attr(755,root,root) %{_bindir}/amarok
158 %attr(755,root,root) %{_bindir}/amarokpkg
159 %attr(755,root,root) %{_bindir}/amarokcollectionscanner
160 %attr(755,root,root) %{_bindir}/amarokmp3tunesharmonydaemon
161 %attr(755,root,root) %{_bindir}/amarok_afttagger
162 %attr(755,root,root) %ghost %{_libdir}/libamaroklib.so.?
163 %attr(755,root,root) %{_libdir}/libamaroklib.so.*.*.*
164 %attr(755,root,root) %ghost %{_libdir}/libamarokpud.so.?
165 %attr(755,root,root) %{_libdir}/libamarokpud.so.*.*.*
166 %attr(755,root,root) %{_libdir}/strigi/strigita_audible.so
167 %attr(755,root,root) %{_libdir}/strigi/strigita_mp4.so
168 %attr(755,root,root) %{_libdir}/kde4/amarok_containment_vertical.so
169 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_currenttrack.so
170 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_lyrics.so
171 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_wikipedia.so
172 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_albums.so
173 %attr(755,root,root) %{_libdir}/kde4/amarok_service_opmldirectory.so
174 %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_current.so
175 %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_lyrics.so
176 %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_wikipedia.so
177 %attr(755,root,root) %{_libdir}/kde4/amarok_service_ampache.so
178 %attr(755,root,root) %{_libdir}/kde4/amarok_service_jamendo.so
179 %attr(755,root,root) %{_libdir}/kde4/amarok_service_lastfm.so
180 %attr(755,root,root) %{_libdir}/kde4/amarok_service_magnatunestore.so
181 %attr(755,root,root) %{_libdir}/kde4/amarok_service_mp3tunes.so
182 %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_ampache.so
183 %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_lastfm.so
184 %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_magnatunestore.so
185 %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_mp3tunes.so
186 %attr(755,root,root) %{_libdir}/kde4/amarok_appletscript_simple_javascript.so
187 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-audiocdcollection.so
188 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-daapcollection.so
189 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-ipodcollection.so
190 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-mtpcollection.so
191 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlecollection.so
192 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlservercollection.so
193 %attr(755,root,root) %{_libdir}/kde4/amarok_collection-umscollection.so
194 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_info.so
195 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_photos.so
196 %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_videoclip.so
197 %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_info.so
198 %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_photos.so
199 %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_videoclip.so
200 %attr(755,root,root) %{_libdir}/kde4/amarok_massstorage-device.so
201 %attr(755,root,root) %{_libdir}/kde4/amarok_runnerscript_javascript.so
202 %dir %{_datadir}/apps/amarok
203 %attr(755,root,root) %{_libdir}/libamaroklib.so
204 %attr(755,root,root) %{_libdir}/libamarokocsclient.so
205 %attr(755,root,root) %ghost %{_libdir}/libamarokocsclient.so.?
206 %attr(755,root,root) %{_libdir}/libamarokocsclient.so.*.*.*
207 %attr(755,root,root) %{_libdir}/libamarok-sqlcollection.so
208 %attr(755,root,root) %ghost %{_libdir}/libamarok-sqlcollection.so.?
209 %attr(755,root,root) %{_libdir}/libamarok-sqlcollection.so.*.*.*
210 %attr(755,root,root) %{_libdir}/libamarokpud.so
211 %dir %{_datadir}/apps/amarok/scripts
212 %{_datadir}/apps/amarok/data
213 %{_datadir}/apps/amarok/icons
214 %{_datadir}/apps/amarok/images
215 %{_datadir}/apps/amarok/amarok.notifyrc
216 %{_datadir}/apps/desktoptheme
217 %{_datadir}/apps/solid/actions/amarok-play-audiocd.desktop
218 %{_datadir}/config.kcfg/amarokconfig.kcfg
219 %{_datadir}/config/amarok.knsrc
220 %{_datadir}/config/amarokapplets.knsrc
221 %{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.player.xml
222 %{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.root.xml
223 %{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.tracklist.xml
224 %{_datadir}/dbus-1/interfaces/org.kde.amarok.Collection.xml
225 %{_datadir}/dbus-1/interfaces/org.kde.amarok.SqlCollection.xml
226 %{_datadir}/kde4/services/amarok.protocol
227 %{_datadir}/kde4/services/amaroklastfm.protocol
228 %{_datadir}/kde4/services/amarokitpc.protocol
229 %{_datadir}/kde4/services/ServiceMenus/amarok_append.desktop
230 %{_datadir}/kde4/services/amarok-containment-vertical.desktop
231 %{_datadir}/kde4/services/amarok-context-applet-currenttrack.desktop
232 %{_datadir}/kde4/services/amarok-context-applet-lyrics.desktop
233 %{_datadir}/kde4/services/amarok-context-applet-wikipedia.desktop
234 %{_datadir}/kde4/services/amarok_collection-mtpcollection.desktop
235 %{_datadir}/kde4/services/amarok-data-engine-current.desktop
236 %{_datadir}/kde4/services/amarok-data-engine-lyrics.desktop
237 %{_datadir}/kde4/services/amarok-data-engine-wikipedia.desktop
238 %{_datadir}/kde4/services/amarok_collection-daapcollection.desktop
239 %{_datadir}/kde4/services/amarok_service_ampache.desktop
240 %{_datadir}/kde4/services/amarok_service_ampache_config.desktop
241 %{_datadir}/kde4/services/amarok_service_jamendo.desktop
242 %{_datadir}/kde4/services/amarok_service_lastfm.desktop
243 %{_datadir}/kde4/services/amarok_service_lastfm_config.desktop
244 %{_datadir}/kde4/services/amarok_service_magnatunestore.desktop
245 %{_datadir}/kde4/services/amarok_service_magnatunestore_config.desktop
246 %{_datadir}/kde4/services/amarok_service_mp3tunes.desktop
247 %{_datadir}/kde4/services/amarok_service_mp3tunes_config.desktop
248 %{_datadir}/kde4/services/amarok-context-applet-albums.desktop
249 %{_datadir}/kde4/services/amarok_collection-ipodcollection.desktop
250 %{_datadir}/kde4/services/amarok_massstorage-device.desktop
251 %{_datadir}/kde4/services/amarok_service_opmldirectory.desktop
252 %{_datadir}/kde4/services/amarok-context-applet-info.desktop
253 %{_datadir}/kde4/services/amarok-context-applet-photos.desktop
254 %{_datadir}/kde4/services/amarok-context-applet-videoclip.desktop
255 %{_datadir}/kde4/services/amarok-data-engine-info.desktop
256 %{_datadir}/kde4/services/amarok-data-engine-photos.desktop
257 %{_datadir}/kde4/services/amarok-data-engine-videoclip.desktop
258 %{_datadir}/kde4/services/amarok-scriptengine-applet-simple-javascript.desktop
259 %{_datadir}/kde4/services/amarok-scriptengine-runner-javascript.desktop
260 %{_datadir}/kde4/services/amarok_collection-audiocdcollection.desktop
261 %{_datadir}/kde4/services/amarok_collection-mysqlecollection.desktop
262 %{_datadir}/kde4/services/amarok_collection-mysqlservercollection.desktop
263 %{_datadir}/kde4/services/amarok_collection-umscollection.desktop
264 %{_datadir}/kde4/servicetypes/amarok_context_applet.desktop
265 %{_datadir}/kde4/servicetypes/amarok_data_engine.desktop
266 %{_datadir}/kde4/servicetypes/amarok_plugin.desktop
267 %{_datadir}/kde4/servicetypes/amarok_codecinstall.desktop
268 %{_desktopdir}/kde4/amarok.desktop
269 %{_iconsdir}/*/*/apps/amarok.*
270 %{_datadir}/config/amarok_homerc
273 %defattr(644,root,root,755)
274 %dir %{_datadir}/apps/amarok/scripts/radio_station_service
275 %{_datadir}/apps/amarok/scripts/radio_station_service/main.js
276 %{_datadir}/apps/amarok/scripts/radio_station_service/script.spec
277 %dir %{_datadir}/apps/amarok/scripts/script_console
278 %{_datadir}/apps/amarok/scripts/script_console/main.js
279 %{_datadir}/apps/amarok/scripts/script_console/script.spec
280 %dir %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki
281 %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki/main.js
282 %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki/script.spec
283 %dir %{_datadir}/apps/amarok/scripts/librivox_service
284 %{_datadir}/apps/amarok/scripts/librivox_service/main.js
285 %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxLogo.png
286 %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxScalableEmblem.svgz
287 %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxService.html
288 %{_datadir}/apps/amarok/scripts/librivox_service/script.spec
289 %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxEmblem.png
290 %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxIcon.png
291 %{_datadir}/apps/amarok/scripts/librivox_service/audio_book128.png