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