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