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