]>
Commit | Line | Data |
---|---|---|
7cdc9e11 | 1 | # TODO: |
94287388 ER |
2 | # - postgresql support alongside mysql |
3 | # - NMM audio backend support (fix build - propably some BRs) | |
4 | # - make descriptions less useless | |
5 | # - track http://websvn.kde.org/trunk/extragear/multimedia/amarok/TODO?rev=470324&r1=470292&r2=470324 | |
6 | # - include /usr/bin/amarok_proxy.rb (proxy server for last.fm, but req. ruby) | |
7 | # - main package pulls /usr/bin/ruby | |
4d4ee9f4 | 8 | # - monitor http://bugs.kde.org/show_bug.cgi?id=137390 to remove the temporary fix |
eed176a3 ER |
9 | # - karma & MFS (see README) |
10 | # - ProjectM (see README) | |
8d75a549 | 11 | # |
948e9545 | 12 | # Conditional builds: |
b5eaa586 | 13 | %bcond_with gstreamer # enable gstreamer (gst10 not stable) |
7cdc9e11 | 14 | %bcond_without mas # disable MAS audio backend |
7dae3fc2 | 15 | %bcond_without xine # disable xine engine |
9d393535 | 16 | %bcond_without zeroconf # disable support for zeroconf |
90db3fe9 | 17 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA), needs sqlite >= 3.3 otherwise |
349afe6d | 18 | %bcond_without helix # disable HelixPlayer engine |
4533435a | 19 | %bcond_without mp3players # disable iPod and iRiver MP3 players support |
f36f7321 | 20 | %bcond_with nmm # enable NMM audio backend |
5f8dff22 JB |
21 | %bcond_with mysql # enable MySQL support |
22 | %bcond_with pgsql # enable PostgreSQL support | |
4722306d | 23 | # |
3012d1fc JB |
24 | %ifarch i386 |
25 | %undefine with_helix | |
26 | %endif | |
b5eaa586 | 27 | |
3dce540f | 28 | Summary: A KDE audio player |
78ae220a | 29 | Summary(pl.UTF-8): Odtwarzacz audio dla KDE |
3dce540f | 30 | Name: amarok |
eed176a3 | 31 | Version: 1.4.5 |
6e6904d9 | 32 | Release: 4 |
3dce540f | 33 | License: GPL |
34 | Group: X11/Applications/Multimedia | |
eed176a3 ER |
35 | Source0: ftp://ftp.kde.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2 |
36 | # Source0-md5: 1dac1cb5ac9c9cdabdab5f69b39e92c8 | |
b5eaa586 | 37 | Patch0: %{name}-helixplayer-morearchs.patch |
d7564753 | 38 | Patch1: %{name}-libnjb.patch |
911123c3 | 39 | Patch3: %{name}-sparc.patch |
40 | Patch4: kde-ac260-lt.patch | |
41 | Patch5: kde-common-PLD.patch | |
eaae6bf7 | 42 | Patch6: %{name}-gcc4.patch |
80fb643e | 43 | Patch7: %{name}-titleorder.patch |
567ab89c | 44 | URL: http://amarok.kde.org/ |
6fc2033f | 45 | BuildRequires: SDL-devel |
46 | BuildRequires: alsa-lib-devel | |
d3131899 | 47 | BuildRequires: autoconf |
6fc2033f | 48 | BuildRequires: automake |
b5eaa586 | 49 | BuildRequires: dbus-glib-devel |
349afe6d | 50 | BuildRequires: gettext-devel |
b5eaa586 | 51 | %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.10.0} |
60b883ee | 52 | BuildRequires: kdebase-devel |
7cdc9e11 | 53 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 54 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
eed176a3 ER |
55 | %{?with_mp3players:BuildRequires: libgpod-devel >= 0.4.2} |
56 | %{?with_mp3players:BuildRequires: libifp-devel >= 1.0.0.2} | |
80fb643e | 57 | BuildRequires: libltdl-devel |
eed176a3 ER |
58 | %{?with_mp3players:BuildRequires: libmtp-devel >= 0.1.1} |
59 | %{?with_mp3players:BuildRequires: libnjb-devel >= 2.2.4} | |
b5eaa586 | 60 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
f59b4956 | 61 | BuildRequires: libtunepimp-devel >= 0.5.1-6 |
62f70c2c | 62 | BuildRequires: libvisual-devel >= 0.4.0 |
eed176a3 | 63 | BuildRequires: mpeg4ip-devel >= 1:1.5 |
349afe6d | 64 | %{?with_mysql:BuildRequires: mysql-devel} |
6fc2033f | 65 | BuildRequires: pcre-devel |
f0306acf | 66 | BuildRequires: pkgconfig |
532341d1 | 67 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 68 | BuildRequires: rpmbuild(macros) >= 1.129 |
f1b37988 | 69 | BuildRequires: ruby-devel >= 1.8 |
43342c86 | 70 | BuildRequires: sed >= 4.0 |
baa3d0c2 | 71 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel >= 3.3} |
7cdc9e11 | 72 | BuildRequires: taglib-devel >= 1.4 |
b5eaa586 | 73 | %{?with_xine:BuildRequires: xine-lib-devel >= 1.1.1} |
59849355 | 74 | Requires(post): /sbin/ldconfig |
48801ec3 | 75 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 76 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 77 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
5f8dff22 | 78 | Obsoletes: amarok-arts |
1581e7f4 | 79 | Obsoletes: amarok-xmms |
3dce540f | 80 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
81 | ||
3eddb524 PS |
82 | # temporary hack for proper libgpod::itdb_get_mountpoint() detection. |
83 | %define filterout_ld -Wl,--as-needed | |
84 | ||
3dce540f | 85 | %description |
86 | A KDE audio player. | |
87 | ||
86426fe7 | 88 | %description -l pl.UTF-8 |
3dce540f | 89 | Odtwarzacz audio dla KDE. |
90 | ||
7cdc9e11 AM |
91 | %package akode |
92 | Summary: Plugin akode | |
78ae220a | 93 | Summary(pl.UTF-8): Wtyczka akode |
7cdc9e11 | 94 | Group: X11/Applications/Multimedia |
68391d5a | 95 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
96 | Provides: %{name}-plugin = %{version}-%{release} |
97 | ||
98 | %description akode | |
99 | Plugin akode. | |
100 | ||
86426fe7 | 101 | %description akode -l pl.UTF-8 |
7cdc9e11 AM |
102 | Wtyczka akode. |
103 | ||
cffbab11 | 104 | %package helix |
ab563251 | 105 | Summary: Helix/Realplayer playback support for amarok |
78ae220a | 106 | Summary(pl.UTF-8): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka |
ab563251 SP |
107 | Group: X11/Applications/Multimedia |
108 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 109 | Requires: helix-core |
ab563251 | 110 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 111 | |
112 | %description helix | |
113 | Helix/Realplayer playback support for amarok. | |
114 | ||
86426fe7 | 115 | %description helix -l pl.UTF-8 |
cffbab11 | 116 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. |
117 | ||
8d75a549 | 118 | %package gstreamer |
d4535bda | 119 | Summary: Plugin gstreamer |
78ae220a | 120 | Summary(pl.UTF-8): Wtyczka gstreamer |
8d75a549 | 121 | Group: X11/Applications/Multimedia |
ee3a150f | 122 | # deps, to get it working: |
b5eaa586 ER |
123 | # mp3 decoder: gstreamer-mad |
124 | # ogg decoder: gstreamer-vorbis | |
125 | # audio output driver: gstreamer-audiosink-alsa | |
ee3a150f ER |
126 | # from gstreamer-audio-effects to control volume, etc |
127 | # needed libs: | |
87fa3a5c | 128 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
129 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
130 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
131 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 132 | Requires: %{name} = %{version}-%{release} |
22795390 | 133 | Requires: gstreamer-audio-effects |
ee3a150f ER |
134 | Requires: gstreamer-audiosink |
135 | Requires: gstreamer-mad | |
ee3a150f | 136 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 137 | Requires: gstreamer-vorbis |
48801ec3 | 138 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 139 | |
140 | %description gstreamer | |
d4535bda | 141 | Plugin gstreamer. |
8d75a549 | 142 | |
86426fe7 | 143 | %description gstreamer -l pl.UTF-8 |
8d75a549 | 144 | Wtyczka gstreamer. |
145 | ||
7dae3fc2 | 146 | %package xine |
147 | Summary: Plugin xine | |
78ae220a | 148 | Summary(pl.UTF-8): Wtyczka xine |
7dae3fc2 | 149 | Group: X11/Applications/Multimedia |
1aff4314 | 150 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 151 | Requires: xine-plugin-audio |
48801ec3 | 152 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 153 | |
154 | %description xine | |
155 | Plugin xine. | |
156 | ||
86426fe7 | 157 | %description xine -l pl.UTF-8 |
7dae3fc2 | 158 | Wtyczka xine. |
159 | ||
7cdc9e11 AM |
160 | %package zeroconf |
161 | Summary: Zeroconf data | |
78ae220a | 162 | Summary(pl.UTF-8): Dane dla zeroconf |
7cdc9e11 | 163 | Group: X11/Applications/Multimedia |
68391d5a | 164 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
165 | Requires: kdenetwork-kdnssd |
166 | Provides: %{name}-plugin = %{version}-%{release} | |
167 | ||
168 | %description zeroconf | |
169 | Zeroconf data. | |
170 | ||
86426fe7 | 171 | %description zeroconf -l pl.UTF-8 |
68391d5a | 172 | Dane dla zeroconf. |
7cdc9e11 | 173 | |
9d393535 ER |
174 | %package scripts |
175 | Summary: amaroK scripts | |
78ae220a | 176 | Summary(pl.UTF-8): Skrypty amaroKa |
9d393535 ER |
177 | Group: X11/Applications/Multimedia |
178 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 179 | Requires: kdebase-kdialog |
74a15c28 | 180 | Requires: python-PyQt |
b5eaa586 | 181 | Requires: ruby-modules |
9d393535 ER |
182 | |
183 | %description scripts | |
184 | amaroK scripts allow you extend amaroK functionality. | |
185 | ||
186 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 187 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 188 | |
86426fe7 JR |
189 | %description scripts -l pl.UTF-8 |
190 | Skrypty amaroKa pozwalające rozszerzać jego funkcjonalność. | |
cb7dcc83 | 191 | |
86426fe7 | 192 | Więcej o skryptach w amaroKu można dowiedzieć się stąd: |
2fde3dac | 193 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
cb7dcc83 | 194 | |
3dce540f | 195 | %prep |
d6f0ca1c | 196 | %setup -q |
7cdc9e11 | 197 | %patch0 -p1 |
d7564753 | 198 | %patch1 -p1 |
eed176a3 | 199 | %patch3 -p1 |
4d4ee9f4 | 200 | %patch4 -p1 |
911123c3 | 201 | %patch5 -p1 |
eaae6bf7 | 202 | %patch6 -p1 |
80fb643e | 203 | %patch7 -p1 |
f59b4956 | 204 | |
69409e85 | 205 | %{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \ |
206 | amarok/src/amarok.desktop \ | |
207 | ||
d3131899 | 208 | # see kde bug #110909 |
62f70c2c | 209 | %{__sed} -i -e 's/amarok_live//' amarok/src/scripts/Makefile.am |
d3131899 | 210 | |
b5eaa586 | 211 | # kill env, call interpreter directly, so rpm automatics could rule |
62f70c2c | 212 | %{__sed} -i -e ' |
b5eaa586 | 213 | 1s,#!.*bin/env.*ruby,#!%{_bindir}/ruby, |
80fb643e | 214 | 1s,#!.*bin/env.*python,#!%{__python}, |
b5eaa586 | 215 | 1s,#!.*bin/env.*bash,#!/bin/bash, |
f10e883c | 216 | ' amarok/src/scripts/*/*.{py,rb,sh} amarok/src/amarok_proxy.rb |
b5eaa586 | 217 | |
3dce540f | 218 | %build |
2ec35f1d | 219 | cp -f /usr/share/automake/config.sub admin |
d3a55e61 | 220 | %{__make} -f admin/Makefile.common cvs |
221 | ||
ed83aa1d JB |
222 | # hack: passing something other than "no" or "yes" to --with-helix allows |
223 | # us to pass HELIX_LIBS | |
3dce540f | 224 | %configure \ |
ed83aa1d | 225 | HELIX_LIBS=%{_libdir}/helixplayer \ |
99b5a68d | 226 | --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \ |
3dce540f | 227 | --disable-rpath \ |
9a2047e2 | 228 | --with%{!?with_mas:out}-mas \ |
229 | --with%{!?with_xine:out}-xine \ | |
b5eaa586 | 230 | --with%{!?with_gstreamer:out}-gstreamer10 \ |
9a2047e2 | 231 | --with%{!?with_akode:out}-akode \ |
ed83aa1d | 232 | --with%{!?with_helix:out}-helix%{?with_helix:=usegivenpath} \ |
9a2047e2 | 233 | --with%{!?with_nmm:out}-nmm \ |
b5eaa586 | 234 | --with%{!?with_mp3players:out}-libgpod \ |
24d1fecb | 235 | --with%{!?with_mp3players:out}-libnjb \ |
dfc2e7bf | 236 | --with%{!?with_mp3players:out}-libmtp \ |
b5eaa586 | 237 | --with%{!?with_mp3players:out}-ifp \ |
9a2047e2 | 238 | --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \ |
31c4954e | 239 | --%{?with_mysql:en}%{!?with_mysql:dis}able-postgresql \ |
60b883ee | 240 | --disable-final \ |
b5eaa586 | 241 | --with-mp4v2 \ |
f15a6325 | 242 | --with-qt-libraries=%{_libdir} \ |
6eed0820 | 243 | --with%{!?with_included_sqlite:out}-included-sqlite |
3dce540f | 244 | |
9a083733 | 245 | %{__make} |
3dce540f | 246 | |
247 | %install | |
248 | rm -rf $RPM_BUILD_ROOT | |
249 | ||
250 | %{__make} install \ | |
251 | DESTDIR=$RPM_BUILD_ROOT \ | |
bd5fd9cb | 252 | kde_htmldir=%{_kdedocdir} \ |
253 | kde_libs_htmldir=%{_kdedocdir} | |
43342c86 | 254 | |
3248aa1e | 255 | # remove bogus dir |
256 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx | |
257 | ||
e0c079c0 | 258 | rm $RPM_BUILD_ROOT%{_libdir}/kde3/*.la |
4005dcb2 | 259 | rm $RPM_BUILD_ROOT%{_libdir}/ruby_lib/libhttp11.la |
f691f94c | 260 | |
4d1b1b41 | 261 | %find_lang amarok --all-name --with-kde |
3dce540f | 262 | |
263 | %clean | |
264 | rm -rf $RPM_BUILD_ROOT | |
265 | ||
59849355 ER |
266 | %post |
267 | /sbin/ldconfig | |
62f70c2c | 268 | if [ "$1" = 1 ]; then |
269 | echo "Remember to install libvisual-plugins-* packages if you" | |
270 | echo "want to have a visualizations in amaroK." | |
271 | fi | |
b5eaa586 ER |
272 | |
273 | %postun -p /sbin/ldconfig | |
60b883ee | 274 | |
f691f94c | 275 | %files -f amarok.lang |
3dce540f | 276 | %defattr(644,root,root,755) |
2f1d9ab2 | 277 | %doc AUTHORS ChangeLog README |
d4535bda | 278 | %attr(755,root,root) %{_bindir}/amarok |
d3a55e61 | 279 | %attr(755,root,root) %{_bindir}/amarokapp |
b5eaa586 | 280 | %attr(755,root,root) %{_bindir}/amarokcollectionscanner |
62f70c2c | 281 | %attr(755,root,root) %{_bindir}/amarok_libvisual |
b648b1fb | 282 | %attr(755,root,root) %{_bindir}/amarok_proxy.rb |
283 | %attr(755,root,root) %{_bindir}/amarok_daapserver.rb | |
f691f94c | 284 | %attr(755,root,root) %{_libdir}/libamarok.so |
b5eaa586 | 285 | %attr(755,root,root) %{_libdir}/libamarok.so.*.*.* |
60b883ee | 286 | %attr(755,root,root) %{_libdir}/kde3/konqsidebar_universalamarok.so |
b5eaa586 | 287 | %attr(755,root,root) %{_libdir}/kde3/libamarok_generic-mediadevice.so |
7dae3fc2 | 288 | %attr(755,root,root) %{_libdir}/kde3/libamarok_void-engine_plugin.so |
b648b1fb | 289 | %attr(755,root,root) %{_libdir}/kde3/libamarok_daap-mediadevice.so |
b648b1fb | 290 | %attr(755,root,root) %{_libdir}/kde3/libamarok_massstorage-device.so |
b648b1fb | 291 | %attr(755,root,root) %{_libdir}/kde3/libamarok_nfs-device.so |
b648b1fb | 292 | %attr(755,root,root) %{_libdir}/kde3/libamarok_smb-device.so |
6e6904d9 | 293 | %dir %{_libdir}/ruby_lib |
fa7a4f16 | 294 | %{_libdir}/ruby_lib/http11.rb |
f691f94c | 295 | %attr(755,root,root) %{_libdir}/ruby_lib/libhttp11.so |
fa7a4f16 | 296 | %attr(755,root,root) %{_libdir}/ruby_lib/libhttp11.so.0.0.0 |
9d393535 ER |
297 | %dir %{_datadir}/apps/amarok |
298 | %dir %{_datadir}/apps/amarok/scripts | |
b648b1fb | 299 | %{_datadir}/apps/amarok/ruby_lib |
9d393535 ER |
300 | %{_datadir}/apps/amarok/*.rc |
301 | %{_datadir}/apps/amarok/data | |
302 | %{_datadir}/apps/amarok/icons | |
303 | %{_datadir}/apps/amarok/images | |
304 | %{_datadir}/apps/amarok/themes | |
7dae3fc2 | 305 | %{_datadir}/apps/konqueror/servicemenus/amarok_append.desktop |
fa7a4f16 | 306 | %{_datadir}/apps/konqueror/servicemenus/amarok_addaspodcast.desktop |
307 | %{_datadir}/apps/konqueror/servicemenus/amarok_play_audiocd.desktop | |
60b883ee | 308 | %{_datadir}/apps/konqsidebartng/add/amarok.desktop |
7cdc9e11 AM |
309 | %{_datadir}/apps/konqsidebartng/entries/amarok.desktop |
310 | %{_datadir}/apps/konqsidebartng/kicker_entries/amarok.desktop | |
60b883ee SP |
311 | %{_datadir}/apps/profiles/amarok.profile.xml |
312 | %{_datadir}/config/amarokrc | |
d3a55e61 | 313 | %{_datadir}/config.kcfg/amarok.kcfg |
b5eaa586 | 314 | %{_datadir}/services/amarok_generic-mediadevice.desktop |
7dae3fc2 | 315 | %{_datadir}/services/amarok_void-engine_plugin.desktop |
b648b1fb | 316 | %{_datadir}/services/amarok_daap-mediadevice.desktop |
317 | %{_datadir}/services/amarok_massstorage-device.desktop | |
318 | %{_datadir}/services/amarok_nfs-device.desktop | |
319 | %{_datadir}/services/amarok_smb-device.desktop | |
320 | %{_datadir}/services/amaroklastfm.protocol | |
321 | %{_datadir}/services/amarokitpc.protocol | |
322 | %{_datadir}/services/amarokpcast.protocol | |
f10e883c | 323 | %{_datadir}/servicetypes/amarok_codecinstall.desktop |
d3a55e61 | 324 | %{_datadir}/servicetypes/amarok_plugin.desktop |
3dce540f | 325 | %{_desktopdir}/kde/amarok.desktop |
60b883ee | 326 | %{_iconsdir}/*/*/apps/amarok.* |
b5eaa586 ER |
327 | # TODO: move to subpackage |
328 | %if %{with mp3players} | |
b5eaa586 | 329 | %attr(755,root,root) %{_libdir}/kde3/libamarok_ifp-mediadevice.so |
f10e883c | 330 | %attr(755,root,root) %{_libdir}/kde3/libamarok_ipod-mediadevice.so |
4533435a | 331 | %attr(755,root,root) %{_libdir}/kde3/libamarok_mtp-mediadevice.so |
f10e883c | 332 | %attr(755,root,root) %{_libdir}/kde3/libamarok_njb-mediadevice.so |
b5eaa586 | 333 | %{_datadir}/services/amarok_ifp-mediadevice.desktop |
f10e883c | 334 | %{_datadir}/services/amarok_ipod-mediadevice.desktop |
4533435a | 335 | %{_datadir}/services/amarok_mtp-mediadevice.desktop |
49d2388a | 336 | %{_datadir}/services/amarok_njb-mediadevice.desktop |
48801ec3 | 337 | %endif |
338 | ||
7cdc9e11 AM |
339 | %if %{with akode} |
340 | %files akode | |
341 | %defattr(644,root,root,755) | |
7cdc9e11 AM |
342 | %attr(755,root,root) %{_libdir}/kde3/libamarok_aKode-engine.so |
343 | %{_datadir}/services/amarok_aKode-engine.desktop | |
344 | %endif | |
345 | ||
8d75a549 | 346 | %if %{with gstreamer} |
347 | %files gstreamer | |
348 | %defattr(644,root,root,755) | |
b5eaa586 | 349 | %attr(755,root,root) %{_libdir}/kde3/libamarok_gst10engine_plugin.so |
7dae3fc2 | 350 | %{_datadir}/config.kcfg/gstconfig.kcfg |
b5eaa586 | 351 | %{_datadir}/services/amarok_gst10engine_plugin.desktop |
8d75a549 | 352 | %endif |
7dae3fc2 | 353 | |
cffbab11 | 354 | %if %{with helix} |
355 | %files helix | |
356 | %defattr(644,root,root,755) | |
cffbab11 | 357 | %attr(755,root,root) %{_libdir}/kde3/libamarok_helixengine_plugin.so |
358 | %{_datadir}/config.kcfg/helixconfig.kcfg | |
359 | %{_datadir}/services/amarok_helixengine_plugin.desktop | |
360 | %endif | |
361 | ||
7dae3fc2 | 362 | %if %{with xine} |
363 | %files xine | |
364 | %defattr(644,root,root,755) | |
7dae3fc2 | 365 | %attr(755,root,root) %{_libdir}/kde3/libamarok_xine-engine.so |
7cdc9e11 | 366 | %{_datadir}/config.kcfg/xinecfg.kcfg |
7dae3fc2 | 367 | %{_datadir}/services/amarok_xine-engine.desktop |
7dae3fc2 | 368 | %endif |
7cdc9e11 | 369 | |
6e376c10 | 370 | %if 0 |
7cdc9e11 AM |
371 | %if %{with zeroconf} |
372 | %files zeroconf | |
373 | %defattr(644,root,root,755) | |
68d8bb51 | 374 | #%{_datadir}/apps/zeroconf/_shoutcast._tcp |
7cdc9e11 | 375 | %endif |
6e376c10 | 376 | %endif |
9d393535 ER |
377 | |
378 | %files scripts | |
379 | %defattr(644,root,root,755) | |
b5eaa586 ER |
380 | %dir %{_datadir}/apps/amarok/scripts/common |
381 | %{_datadir}/apps/amarok/scripts/common/Publisher.py | |
382 | %{_datadir}/apps/amarok/scripts/common/Zeroconf.py | |
383 | ||
384 | %dir %{_datadir}/apps/amarok/scripts/templates | |
385 | %{_datadir}/apps/amarok/scripts/templates/amarok.rb | |
386 | %{_datadir}/apps/amarok/scripts/templates/python_qt_template.py | |
387 | %{_datadir}/apps/amarok/scripts/templates/ruby_qt_template.rb | |
9d393535 | 388 | |
b5eaa586 ER |
389 | # amarok searches for executable programs for scripts |
390 | # to figure out which files need to have execute permission, use this | |
391 | # find command: | |
392 | # $ find $RPM_BUILD_ROOT/usr/share/apps/amarok/scripts -perm +1 | |
9d393535 | 393 | |
b5eaa586 ER |
394 | #%dir %{_datadir}/apps/amarok/scripts/graphequalizer |
395 | #%{_datadir}/apps/amarok/scripts/graphequalizer/README | |
396 | #%attr(755,root,root) %{_datadir}/apps/amarok/scripts/graphequalizer/graphequalizer | |
9d393535 ER |
397 | |
398 | %dir %{_datadir}/apps/amarok/scripts/playlist2html | |
399 | %{_datadir}/apps/amarok/scripts/playlist2html/README | |
400 | %{_datadir}/apps/amarok/scripts/playlist2html/Playlist.py | |
b5eaa586 ER |
401 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/playlist2html/PlaylistServer.py |
402 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/playlist2html/playlist2html.py | |
9d393535 ER |
403 | |
404 | %dir %{_datadir}/apps/amarok/scripts/webcontrol | |
405 | %{_datadir}/apps/amarok/scripts/webcontrol/README | |
406 | %{_datadir}/apps/amarok/scripts/webcontrol/Globals.py | |
407 | %{_datadir}/apps/amarok/scripts/webcontrol/Playlist.py | |
408 | %{_datadir}/apps/amarok/scripts/webcontrol/RequestHandler.py | |
409 | %{_datadir}/apps/amarok/scripts/webcontrol/amarok_cut.png | |
410 | %{_datadir}/apps/amarok/scripts/webcontrol/controlbackground.png | |
411 | %{_datadir}/apps/amarok/scripts/webcontrol/main.css | |
412 | %{_datadir}/apps/amarok/scripts/webcontrol/main.js | |
413 | %{_datadir}/apps/amarok/scripts/webcontrol/player_end.png | |
414 | %{_datadir}/apps/amarok/scripts/webcontrol/player_pause.png | |
415 | %{_datadir}/apps/amarok/scripts/webcontrol/player_play.png | |
416 | %{_datadir}/apps/amarok/scripts/webcontrol/player_start.png | |
417 | %{_datadir}/apps/amarok/scripts/webcontrol/player_stop.png | |
418 | %{_datadir}/apps/amarok/scripts/webcontrol/template.thtml | |
419 | %{_datadir}/apps/amarok/scripts/webcontrol/vol_speaker.png | |
420 | %{_datadir}/apps/amarok/scripts/webcontrol/WebPublisher.py | |
b5eaa586 ER |
421 | %{_datadir}/apps/amarok/scripts/webcontrol/WebControl.spec |
422 | %{_datadir}/apps/amarok/scripts/webcontrol/smallstar.png | |
423 | %{_datadir}/apps/amarok/scripts/webcontrol/star.png | |
f36f7321 | 424 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/webcontrol/WebControl.py |
9d393535 | 425 | |
b5eaa586 ER |
426 | %dir %{_datadir}/apps/amarok/scripts/lyrics_astraweb |
427 | %{_datadir}/apps/amarok/scripts/lyrics_astraweb/COPYING | |
428 | %{_datadir}/apps/amarok/scripts/lyrics_astraweb/README | |
429 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/lyrics_astraweb/lyrics_astraweb.rb | |
430 | %{_datadir}/apps/amarok/scripts/lyrics_astraweb/lyrics_astraweb.spec | |
431 | ||
432 | %dir %{_datadir}/apps/amarok/scripts/lyrics_lyrc | |
433 | %{_datadir}/apps/amarok/scripts/lyrics_lyrc/COPYING | |
434 | %{_datadir}/apps/amarok/scripts/lyrics_lyrc/README | |
435 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb | |
436 | %{_datadir}/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.spec | |
9d393535 | 437 | |
49d2388a SP |
438 | %dir %{_datadir}/apps/amarok/scripts/score_default |
439 | %{_datadir}/apps/amarok/scripts/score_default/COPYING | |
440 | %{_datadir}/apps/amarok/scripts/score_default/README | |
441 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/score_default/score_default.rb | |
442 | %{_datadir}/apps/amarok/scripts/score_default/score_default.spec | |
443 | %dir %{_datadir}/apps/amarok/scripts/score_impulsive | |
444 | %{_datadir}/apps/amarok/scripts/score_impulsive/COPYING | |
445 | %{_datadir}/apps/amarok/scripts/score_impulsive/README | |
446 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/score_impulsive/score_impulsive.rb | |
447 | %{_datadir}/apps/amarok/scripts/score_impulsive/score_impulsive.spec | |
448 | ||
b5eaa586 ER |
449 | %dir %{_datadir}/apps/amarok/scripts/ruby_debug |
450 | %{_datadir}/apps/amarok/scripts/ruby_debug/debug.rb | |
9d393535 | 451 | |
d3131899 | 452 | %if 0 |
9d393535 ER |
453 | %dir %{_datadir}/apps/amarok/scripts/amarok_live |
454 | %{_datadir}/apps/amarok/scripts/amarok_live/README | |
455 | %{_datadir}/apps/amarok/scripts/amarok_live/amarok.live.remaster.part1.sh | |
456 | %{_datadir}/apps/amarok/scripts/amarok_live/amarok.live.remaster.part2.sh | |
f36f7321 | 457 | %attr(755,root,root) %{_datadir}/apps/amarok/scripts/amarok_live/amarok_live.py |
d3131899 | 458 | %endif |