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