]>
Commit | Line | Data |
---|---|---|
a74cde9c | 1 | # TODO |
2df54dfa | 2 | # - try not to link with static mysql |
3 | # - libampache_account_login.so is missing | |
a74cde9c | 4 | |
2df54dfa | 5 | %define state unstable |
354c5f31 | 6 | %define qtver 4.7.0 |
ac4fcc4e | 7 | %define kdever 4.5.0 |
b5eaa586 | 8 | |
3dce540f | 9 | Summary: A KDE audio player |
78ae220a | 10 | Summary(pl.UTF-8): Odtwarzacz audio dla KDE |
3dce540f | 11 | Name: amarok |
2df54dfa | 12 | Version: 2.3.90 |
c0ae9963 | 13 | Release: 0.beta.1 |
2df54dfa | 14 | License: GPL v2+ and LGPL v2.1+ |
3dce540f | 15 | Group: X11/Applications/Multimedia |
d3b2a786 | 16 | Source0: ftp://ftp.kde.org/pub/kde/%{state}/amarok/%{version}/src/%{name}-%{version}.tar.bz2 |
2df54dfa | 17 | # Source0-md5: 6dc00a1291a45996458452251fb5fd0e |
d3b2a786 | 18 | Patch0: %{name}-disable_qtscriptbindings_check_fix.patch |
567ab89c | 19 | URL: http://amarok.kde.org/ |
a74cde9c | 20 | BuildRequires: QtNetwork-devel >= %{qtver} |
a74cde9c | 21 | BuildRequires: QtSql-devel >= %{qtver} |
3138c2ac | 22 | BuildRequires: automoc4 >= 0.9.88 |
30124835 | 23 | BuildRequires: cmake >= 2.8.0 |
a74cde9c | 24 | BuildRequires: curl-devel |
f3a2739c | 25 | BuildRequires: gettext-devel |
a74cde9c | 26 | BuildRequires: glib2-devel |
63a59d76 | 27 | BuildRequires: kde4-kdelibs-devel >= %{kdever} |
aa9500c3 | 28 | BuildRequires: kde4-kdemultimedia-devel >= %{kdever} |
a74cde9c | 29 | BuildRequires: libgpod-devel >= 0.7.0 |
214a918d | 30 | BuildRequires: liblastfm-devel |
a74cde9c | 31 | BuildRequires: libmtp-devel >= 0.3.0 |
68864201 | 32 | BuildRequires: libwrap-devel |
a74cde9c | 33 | BuildRequires: loudmouth-devel |
a74cde9c | 34 | BuildRequires: mysql-devel >= 5.1.31-3 |
6fc2033f | 35 | BuildRequires: pcre-devel |
f0306acf | 36 | BuildRequires: pkgconfig |
5bb3705c | 37 | BuildRequires: qca-devel |
a74cde9c | 38 | BuildRequires: qt4-build >= %{qtver} |
39 | BuildRequires: qt4-qmake >= %{qtver} | |
40 | BuildRequires: qtscriptbindings | |
68864201 | 41 | BuildRequires: rpmbuild(macros) >= 1.577 |
42 | BuildRequires: soprano-devel | |
30124835 | 43 | BuildRequires: strigi-devel >= 0.7.0 |
214a918d SP |
44 | BuildRequires: taglib-devel >= 1.6 |
45 | BuildRequires: taglib-extras-devel >= 1.0.0 | |
a74cde9c | 46 | BuildRequires: xorg-lib-libXpm-devel |
47 | Requires(post,postun): /sbin/ldconfig | |
a74cde9c | 48 | Requires: kde4-kdemultimedia-audiocd |
49 | Requires: kde4-phonon | |
50 | Requires: qtscriptbindings | |
8028f5c0 PG |
51 | Suggests: libvisual-plugin-actor-JESS |
52 | Suggests: libvisual-plugin-actor-bumpscope | |
53 | Suggests: libvisual-plugin-actor-corona | |
54 | Suggests: libvisual-plugin-actor-flower | |
55 | Suggests: libvisual-plugin-actor-gdkpixbuf | |
56 | Suggests: libvisual-plugin-actor-gforce | |
a74cde9c | 57 | Suggests: libvisual-plugin-actor-gstreamer |
8028f5c0 PG |
58 | Suggests: libvisual-plugin-actor-infinite |
59 | Suggests: libvisual-plugin-actor-jakdaw | |
60 | Suggests: libvisual-plugin-actor-lv_analyzer | |
61 | Suggests: libvisual-plugin-actor-lv_gltest | |
62 | Suggests: libvisual-plugin-actor-lv_scope | |
63 | Suggests: libvisual-plugin-actor-madspin | |
64 | Suggests: libvisual-plugin-actor-nastyfft | |
65 | Suggests: libvisual-plugin-actor-oinksie | |
66 | Suggests: libvisual-plugin-input-alsa | |
67 | Suggests: libvisual-plugin-input-esd | |
68 | Suggests: libvisual-plugin-input-jack | |
69 | Suggests: libvisual-plugin-input-mplayer | |
70 | Suggests: libvisual-plugin-morph-alphablend | |
71 | Suggests: libvisual-plugin-morph-flash | |
72 | Suggests: libvisual-plugin-morph-slide | |
73 | Suggests: libvisual-plugin-morph-tentacle | |
86666641 | 74 | Obsoletes: amarok-arts |
1581e7f4 | 75 | Obsoletes: amarok-xmms |
a74cde9c | 76 | # It should require mysql-embeded |
77 | Requires: mysql >= 5.1.31-3 | |
78 | Conflicts: mysql < 5.1.31-3 | |
3be5e8cd | 79 | # sr@Latn vs. sr@latin |
80 | Conflicts: glibc-misc < 6:2.7 | |
3dce540f | 81 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82 | ||
83 | %description | |
84 | A KDE audio player. | |
85 | ||
86426fe7 | 86 | %description -l pl.UTF-8 |
3dce540f | 87 | Odtwarzacz audio dla KDE. |
88 | ||
9d393535 ER |
89 | %package scripts |
90 | Summary: amaroK scripts | |
78ae220a | 91 | Summary(pl.UTF-8): Skrypty amaroKa |
9d393535 ER |
92 | Group: X11/Applications/Multimedia |
93 | Requires: %{name} = %{version}-%{release} | |
a74cde9c | 94 | Requires: kde4-kdebase-kdialog |
9d393535 ER |
95 | |
96 | %description scripts | |
97 | amaroK scripts allow you extend amaroK functionality. | |
98 | ||
99 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 100 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 101 | |
86426fe7 JR |
102 | %description scripts -l pl.UTF-8 |
103 | Skrypty amaroKa pozwalające rozszerzać jego funkcjonalność. | |
cb7dcc83 | 104 | |
86426fe7 | 105 | Więcej o skryptach w amaroKu można dowiedzieć się stąd: |
2fde3dac | 106 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
cb7dcc83 | 107 | |
3dce540f | 108 | %prep |
d6f0ca1c | 109 | %setup -q |
d3b2a786 | 110 | %patch0 -p1 |
b5eaa586 | 111 | |
3dce540f | 112 | %build |
a74cde9c | 113 | install -d build |
114 | cd build | |
68864201 | 115 | %cmake .. |
3dce540f | 116 | |
9a083733 | 117 | %{__make} |
3dce540f | 118 | |
119 | %install | |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
a74cde9c | 122 | %{__make} -C build install \ |
3dce540f | 123 | DESTDIR=$RPM_BUILD_ROOT \ |
bd5fd9cb | 124 | kde_htmldir=%{_kdedocdir} \ |
125 | kde_libs_htmldir=%{_kdedocdir} | |
43342c86 | 126 | |
d3b2a786 | 127 | # remove unsupported locale |
2df54dfa | 128 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/sr@ijekavian* |
d3b2a786 | 129 | |
bcfb337c | 130 | # remove .so symlinks so that noone gets the stupid idea to package them |
2df54dfa | 131 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.so |
bcfb337c | 132 | |
d3b2a786 | 133 | %find_lang %{name} --all-name --with-kde |
3dce540f | 134 | |
135 | %clean | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
a74cde9c | 138 | %post -p /sbin/ldconfig |
139 | %postun -p /sbin/ldconfig | |
b5eaa586 | 140 | |
aed7613d | 141 | %files -f %{name}.lang |
3dce540f | 142 | %defattr(644,root,root,755) |
2f1d9ab2 | 143 | %doc AUTHORS ChangeLog README |
d4535bda | 144 | %attr(755,root,root) %{_bindir}/amarok |
214a918d | 145 | %attr(755,root,root) %{_bindir}/amarokpkg |
b5eaa586 | 146 | %attr(755,root,root) %{_bindir}/amarokcollectionscanner |
a74cde9c | 147 | %attr(755,root,root) %{_bindir}/amarokmp3tunesharmonydaemon |
148 | %attr(755,root,root) %{_bindir}/amarok_afttagger | |
1712a7ec | 149 | %attr(755,root,root) %ghost %{_libdir}/libamarok-sqlcollection.so.? |
150 | %attr(755,root,root) %{_libdir}/libamarok-sqlcollection.so.*.*.* | |
2df54dfa | 151 | %attr(755,root,root) %ghost %{_libdir}/libamarok-transcoding.so.? |
152 | %attr(755,root,root) %{_libdir}/libamarok-transcoding.so.*.*.* | |
153 | %attr(755,root,root) %ghost %{_libdir}/libamarokcore.so.? | |
154 | %attr(755,root,root) %{_libdir}/libamarokcore.so.*.*.* | |
1712a7ec | 155 | %attr(755,root,root) %ghost %{_libdir}/libamarokocsclient.so.? |
156 | %attr(755,root,root) %{_libdir}/libamarokocsclient.so.*.*.* | |
a74cde9c | 157 | %attr(755,root,root) %ghost %{_libdir}/libamaroklib.so.? |
158 | %attr(755,root,root) %{_libdir}/libamaroklib.so.*.*.* | |
a74cde9c | 159 | %attr(755,root,root) %ghost %{_libdir}/libamarokpud.so.? |
160 | %attr(755,root,root) %{_libdir}/libamarokpud.so.*.*.* | |
2df54dfa | 161 | %attr(755,root,root) %ghost %{_libdir}/libamarokqtjson.so.? |
162 | %attr(755,root,root) %{_libdir}/libamarokqtjson.so.*.*.* | |
163 | #%%attr(755,root,root) %{_libdir}/strigi/strigita_audible.so | |
164 | #%%attr(755,root,root) %{_libdir}/strigi/strigita_mp4.so | |
165 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_tabs.so | |
1712a7ec | 166 | %attr(755,root,root) %{_libdir}/kde4/amarok_appletscript_simple_javascript.so |
167 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-audiocdcollection.so | |
168 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-daapcollection.so | |
169 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-ipodcollection.so | |
170 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-mtpcollection.so | |
171 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlecollection.so | |
172 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlservercollection.so | |
173 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-umscollection.so | |
a74cde9c | 174 | %attr(755,root,root) %{_libdir}/kde4/amarok_containment_vertical.so |
1712a7ec | 175 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_albums.so |
a74cde9c | 176 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_currenttrack.so |
1712a7ec | 177 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_info.so |
68864201 | 178 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_labels.so |
a74cde9c | 179 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_lyrics.so |
1712a7ec | 180 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_photos.so |
a19a7a80 | 181 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_similarArtists.so |
182 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_upcomingEvents.so | |
1712a7ec | 183 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_videoclip.so |
184 | %attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_wikipedia.so | |
a74cde9c | 185 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_current.so |
1712a7ec | 186 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_info.so |
68864201 | 187 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_labels.so |
a74cde9c | 188 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_lyrics.so |
1712a7ec | 189 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_photos.so |
190 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_similarArtists.so | |
2df54dfa | 191 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_tabs.so |
1712a7ec | 192 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_upcomingEvents.so |
193 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_videoclip.so | |
a74cde9c | 194 | %attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_wikipedia.so |
1712a7ec | 195 | %attr(755,root,root) %{_libdir}/kde4/amarok_massstorage-device.so |
2df54dfa | 196 | %attr(755,root,root) %{_libdir}/kde4/amarok_collection-playdarcollection.so |
1712a7ec | 197 | %attr(755,root,root) %{_libdir}/kde4/amarok_runnerscript_javascript.so |
a74cde9c | 198 | %attr(755,root,root) %{_libdir}/kde4/amarok_service_ampache.so |
199 | %attr(755,root,root) %{_libdir}/kde4/amarok_service_jamendo.so | |
200 | %attr(755,root,root) %{_libdir}/kde4/amarok_service_lastfm.so | |
201 | %attr(755,root,root) %{_libdir}/kde4/amarok_service_magnatunestore.so | |
202 | %attr(755,root,root) %{_libdir}/kde4/amarok_service_mp3tunes.so | |
a19a7a80 | 203 | %attr(755,root,root) %{_libdir}/kde4/amarok_service_opmldirectory.so |
a74cde9c | 204 | %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_ampache.so |
205 | %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_lastfm.so | |
206 | %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_magnatunestore.so | |
207 | %attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_mp3tunes.so | |
2df54dfa | 208 | %{_libdir}/kde4/amarok_collection-upnpcollection.so |
9d393535 ER |
209 | %dir %{_datadir}/apps/amarok |
210 | %dir %{_datadir}/apps/amarok/scripts | |
9d393535 ER |
211 | %{_datadir}/apps/amarok/data |
212 | %{_datadir}/apps/amarok/icons | |
213 | %{_datadir}/apps/amarok/images | |
5bb3705c | 214 | %{_datadir}/apps/amarok/amarok.notifyrc |
a74cde9c | 215 | %{_datadir}/apps/desktoptheme |
214a918d | 216 | %{_datadir}/apps/solid/actions/amarok-play-audiocd.desktop |
a74cde9c | 217 | %{_datadir}/config.kcfg/amarokconfig.kcfg |
218 | %{_datadir}/config/amarok.knsrc | |
214a918d | 219 | %{_datadir}/config/amarokapplets.knsrc |
2df54dfa | 220 | %{_datadir}/dbus-1/interfaces/org.kde.amarok.App.xml |
a74cde9c | 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 | |
2df54dfa | 224 | %{_datadir}/dbus-1/interfaces/org.kde.amarok.Mpris1Extensions.Player.xml |
225 | %{_datadir}/dbus-1/interfaces/org.kde.amarok.Mpris2Extensions.Player.xml | |
214a918d | 226 | %{_datadir}/dbus-1/interfaces/org.kde.amarok.Collection.xml |
a74cde9c | 227 | %{_datadir}/kde4/services/amarok.protocol |
228 | %{_datadir}/kde4/services/amaroklastfm.protocol | |
d3b2a786 | 229 | %{_datadir}/kde4/services/amarokitpc.protocol |
a74cde9c | 230 | %{_datadir}/kde4/services/ServiceMenus/amarok_append.desktop |
1712a7ec | 231 | %{_datadir}/kde4/services/amarok_collection-audiocdcollection.desktop |
232 | %{_datadir}/kde4/services/amarok_collection-daapcollection.desktop | |
233 | %{_datadir}/kde4/services/amarok_collection-ipodcollection.desktop | |
234 | %{_datadir}/kde4/services/amarok_collection-mtpcollection.desktop | |
235 | %{_datadir}/kde4/services/amarok_collection-mysqlecollection.desktop | |
236 | %{_datadir}/kde4/services/amarok_collection-mysqlservercollection.desktop | |
2df54dfa | 237 | %{_datadir}/kde4/services/amarok_collection-playdarcollection.desktop |
238 | %{_datadir}/kde4/services/amarok_collection-upnpcollection.desktop | |
1712a7ec | 239 | %{_datadir}/kde4/services/amarok_collection-umscollection.desktop |
a74cde9c | 240 | %{_datadir}/kde4/services/amarok-containment-vertical.desktop |
1712a7ec | 241 | %{_datadir}/kde4/services/amarok-context-applet-albums.desktop |
a74cde9c | 242 | %{_datadir}/kde4/services/amarok-context-applet-currenttrack.desktop |
1712a7ec | 243 | %{_datadir}/kde4/services/amarok-context-applet-info.desktop |
68864201 | 244 | %{_datadir}/kde4/services/amarok-context-applet-labels.desktop |
a74cde9c | 245 | %{_datadir}/kde4/services/amarok-context-applet-lyrics.desktop |
1712a7ec | 246 | %{_datadir}/kde4/services/amarok-context-applet-photos.desktop |
a19a7a80 | 247 | %{_datadir}/kde4/services/amarok-context-applet-similarArtists.desktop |
2df54dfa | 248 | %{_datadir}/kde4/services/amarok-context-applet-tabs.desktop |
a19a7a80 | 249 | %{_datadir}/kde4/services/amarok-context-applet-upcomingEvents.desktop |
1712a7ec | 250 | %{_datadir}/kde4/services/amarok-context-applet-videoclip.desktop |
251 | %{_datadir}/kde4/services/amarok-context-applet-wikipedia.desktop | |
a74cde9c | 252 | %{_datadir}/kde4/services/amarok-data-engine-current.desktop |
1712a7ec | 253 | %{_datadir}/kde4/services/amarok-data-engine-info.desktop |
68864201 | 254 | %{_datadir}/kde4/services/amarok-data-engine-labels.desktop |
a74cde9c | 255 | %{_datadir}/kde4/services/amarok-data-engine-lyrics.desktop |
1712a7ec | 256 | %{_datadir}/kde4/services/amarok-data-engine-photos.desktop |
257 | %{_datadir}/kde4/services/amarok-data-engine-similarArtists.desktop | |
2df54dfa | 258 | %{_datadir}/kde4/services/amarok-data-engine-tabs.desktop |
1712a7ec | 259 | %{_datadir}/kde4/services/amarok-data-engine-upcomingEvents.desktop |
260 | %{_datadir}/kde4/services/amarok-data-engine-videoclip.desktop | |
a74cde9c | 261 | %{_datadir}/kde4/services/amarok-data-engine-wikipedia.desktop |
1712a7ec | 262 | %{_datadir}/kde4/services/amarok_massstorage-device.desktop |
a74cde9c | 263 | %{_datadir}/kde4/services/amarok_service_ampache.desktop |
264 | %{_datadir}/kde4/services/amarok_service_ampache_config.desktop | |
265 | %{_datadir}/kde4/services/amarok_service_jamendo.desktop | |
266 | %{_datadir}/kde4/services/amarok_service_lastfm.desktop | |
267 | %{_datadir}/kde4/services/amarok_service_lastfm_config.desktop | |
268 | %{_datadir}/kde4/services/amarok_service_magnatunestore.desktop | |
269 | %{_datadir}/kde4/services/amarok_service_magnatunestore_config.desktop | |
270 | %{_datadir}/kde4/services/amarok_service_mp3tunes.desktop | |
271 | %{_datadir}/kde4/services/amarok_service_mp3tunes_config.desktop | |
a74cde9c | 272 | %{_datadir}/kde4/services/amarok_service_opmldirectory.desktop |
214a918d SP |
273 | %{_datadir}/kde4/services/amarok-scriptengine-applet-simple-javascript.desktop |
274 | %{_datadir}/kde4/services/amarok-scriptengine-runner-javascript.desktop | |
1712a7ec | 275 | %{_datadir}/kde4/servicetypes/amarok_codecinstall.desktop |
a74cde9c | 276 | %{_datadir}/kde4/servicetypes/amarok_context_applet.desktop |
277 | %{_datadir}/kde4/servicetypes/amarok_data_engine.desktop | |
278 | %{_datadir}/kde4/servicetypes/amarok_plugin.desktop | |
a74cde9c | 279 | %{_desktopdir}/kde4/amarok.desktop |
60b883ee | 280 | %{_iconsdir}/*/*/apps/amarok.* |
a74cde9c | 281 | %{_datadir}/config/amarok_homerc |
9d393535 ER |
282 | |
283 | %files scripts | |
284 | %defattr(644,root,root,755) | |
a74cde9c | 285 | %dir %{_datadir}/apps/amarok/scripts/radio_station_service |
286 | %{_datadir}/apps/amarok/scripts/radio_station_service/main.js | |
287 | %{_datadir}/apps/amarok/scripts/radio_station_service/script.spec | |
288 | %dir %{_datadir}/apps/amarok/scripts/script_console | |
289 | %{_datadir}/apps/amarok/scripts/script_console/main.js | |
290 | %{_datadir}/apps/amarok/scripts/script_console/script.spec | |
291 | %dir %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki | |
292 | %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki/main.js | |
293 | %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki/script.spec | |
294 | %dir %{_datadir}/apps/amarok/scripts/librivox_service | |
295 | %{_datadir}/apps/amarok/scripts/librivox_service/main.js | |
296 | %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxLogo.png | |
214a918d | 297 | %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxScalableEmblem.svgz |
a74cde9c | 298 | %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxService.html |
299 | %{_datadir}/apps/amarok/scripts/librivox_service/script.spec | |
aed7613d | 300 | %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxEmblem.png |
301 | %{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxIcon.png | |
302 | %{_datadir}/apps/amarok/scripts/librivox_service/audio_book128.png |