]> git.pld-linux.org Git - packages/amarok.git/blame - amarok.spec
- BR: gettext-devel
[packages/amarok.git] / amarok.spec
CommitLineData
a74cde9c 1# TODO
2# - try not to link with static mysql
3
4%define state stable
cbffc205 5%define qtver 4.5.3
14df6674 6%define kdever 4.3.3
b5eaa586 7
3dce540f 8Summary: A KDE audio player
78ae220a 9Summary(pl.UTF-8): Odtwarzacz audio dla KDE
3dce540f 10Name: amarok
5bb3705c 11Version: 2.2.1
14df6674 12Release: 2
3dce540f 13License: GPL
14Group: X11/Applications/Multimedia
a74cde9c 15Source0: ftp://ftp.kde.org/pub/kde/%{state}/amarok/%{version}/src/%{name}-%{version}.tar.bz2
5bb3705c 16# Source0-md5: 4f6f45f0c25f85f2a2a1fff169ac7193
a74cde9c 17Patch0: %{name}-link.patch
18Patch1: %{name}-qthreadpool.patch
567ab89c 19URL: http://amarok.kde.org/
a74cde9c 20BuildRequires: Qt3Support-devel >= %{qtver}
21BuildRequires: QtCore-devel >= %{qtver}
22BuildRequires: QtDBus-devel >= %{qtver}
23BuildRequires: QtDesigner-devel >= %{qtver}
24BuildRequires: QtNetwork-devel >= %{qtver}
25BuildRequires: QtOpenGL-devel >= %{qtver}
26BuildRequires: QtScript-devel >= %{qtver}
27BuildRequires: QtSql-devel >= %{qtver}
28BuildRequires: QtSvg-devel >= %{qtver}
29BuildRequires: QtTest-devel >= %{qtver}
30BuildRequires: QtUiTools-devel >= %{qtver}
31BuildRequires: QtWebKit-devel >= %{qtver}
32BuildRequires: QtXml-devel >= %{qtver}
33BuildRequires: automoc4
34BuildRequires: cmake >= 2.6.1-2
35BuildRequires: curl-devel
f3a2739c 36BuildRequires: gettext-devel
a74cde9c 37BuildRequires: giflib-devel
38BuildRequires: glib2-devel
aa9500c3 39BuildRequires: kde4-kdebase-devel >= %{kdever}
40BuildRequires: kde4-kdemultimedia-devel >= %{kdever}
a74cde9c 41BuildRequires: libgpod-devel >= 0.7.0
42BuildRequires: libifp-devel >= 1.0.0.2
214a918d 43BuildRequires: liblastfm-devel
a74cde9c 44BuildRequires: libmtp-devel >= 0.3.0
45BuildRequires: libnjb-devel >= 2.2.4
62f70c2c 46BuildRequires: libvisual-devel >= 0.4.0
a74cde9c 47BuildRequires: loudmouth-devel
6d11e954 48BuildRequires: mpeg4ip-devel >= 1:1.6
a74cde9c 49BuildRequires: mysql-devel >= 5.1.31-3
6fc2033f 50BuildRequires: pcre-devel
f0306acf 51BuildRequires: pkgconfig
5bb3705c 52BuildRequires: qca-devel
a74cde9c 53BuildRequires: qt4-build >= %{qtver}
54BuildRequires: qt4-qmake >= %{qtver}
55BuildRequires: qtscriptbindings
532341d1 56BuildRequires: rpm-pythonprov
baa5dbe4 57BuildRequires: rpmbuild(macros) >= 1.129
a74cde9c 58BuildRequires: soprano-devel >= 2.1
59BuildRequires: strigi-devel >= 0.5.10
214a918d
SP
60BuildRequires: taglib-devel >= 1.6
61BuildRequires: taglib-extras-devel >= 1.0.0
a74cde9c 62BuildRequires: utempter-devel
63BuildRequires: xorg-lib-libXpm-devel
64Requires(post,postun): /sbin/ldconfig
65Requires: kde4-kdebase-core
66Requires: kde4-kdemultimedia-audiocd
67Requires: kde4-phonon
68Requires: qtscriptbindings
8028f5c0
PG
69Suggests: libvisual-plugin-actor-JESS
70Suggests: libvisual-plugin-actor-bumpscope
71Suggests: libvisual-plugin-actor-corona
72Suggests: libvisual-plugin-actor-flower
73Suggests: libvisual-plugin-actor-gdkpixbuf
74Suggests: libvisual-plugin-actor-gforce
a74cde9c 75Suggests: libvisual-plugin-actor-gstreamer
8028f5c0
PG
76Suggests: libvisual-plugin-actor-infinite
77Suggests: libvisual-plugin-actor-jakdaw
78Suggests: libvisual-plugin-actor-lv_analyzer
79Suggests: libvisual-plugin-actor-lv_gltest
80Suggests: libvisual-plugin-actor-lv_scope
81Suggests: libvisual-plugin-actor-madspin
82Suggests: libvisual-plugin-actor-nastyfft
83Suggests: libvisual-plugin-actor-oinksie
84Suggests: libvisual-plugin-input-alsa
85Suggests: libvisual-plugin-input-esd
86Suggests: libvisual-plugin-input-jack
87Suggests: libvisual-plugin-input-mplayer
88Suggests: libvisual-plugin-morph-alphablend
89Suggests: libvisual-plugin-morph-flash
90Suggests: libvisual-plugin-morph-slide
91Suggests: libvisual-plugin-morph-tentacle
86666641 92Obsoletes: amarok-arts
1581e7f4 93Obsoletes: amarok-xmms
a74cde9c 94# It should require mysql-embeded
95Requires: mysql >= 5.1.31-3
96Conflicts: mysql < 5.1.31-3
3be5e8cd 97# sr@Latn vs. sr@latin
98Conflicts: glibc-misc < 6:2.7
3dce540f 99BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100
101%description
102A KDE audio player.
103
86426fe7 104%description -l pl.UTF-8
3dce540f 105Odtwarzacz audio dla KDE.
106
9d393535
ER
107%package scripts
108Summary: amaroK scripts
78ae220a 109Summary(pl.UTF-8): Skrypty amaroKa
9d393535
ER
110Group: X11/Applications/Multimedia
111Requires: %{name} = %{version}-%{release}
a74cde9c 112Requires: kde4-kdebase-kdialog
9d393535
ER
113
114%description scripts
115amaroK scripts allow you extend amaroK functionality.
116
117You can learn more about scripts in amaroK from here:
2fde3dac 118<http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>.
9d393535 119
86426fe7
JR
120%description scripts -l pl.UTF-8
121Skrypty amaroKa pozwalające rozszerzać jego funkcjonalność.
cb7dcc83 122
86426fe7 123Więcej o skryptach w amaroKu można dowiedzieć się stąd:
2fde3dac 124<http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>.
cb7dcc83 125
3dce540f 126%prep
d6f0ca1c 127%setup -q
214a918d 128#%patch0 -p0
a74cde9c 129#%patch1 -p0
b5eaa586 130
3dce540f 131%build
a74cde9c 132install -d build
133cd build
134%cmake \
135 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
136 -DLIB_INSTALL_DIR=%{_libdir} \
50398d35 137 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
a74cde9c 138%if "%{_lib}" == "lib64"
139 -DLIB_SUFFIX=64 \
140%endif
141 ../
3dce540f 142
9a083733 143%{__make}
3dce540f 144
145%install
146rm -rf $RPM_BUILD_ROOT
147
a74cde9c 148%{__make} -C build install \
3dce540f 149 DESTDIR=$RPM_BUILD_ROOT \
bd5fd9cb 150 kde_htmldir=%{_kdedocdir} \
151 kde_libs_htmldir=%{_kdedocdir}
43342c86 152
3248aa1e 153# remove bogus dir
154rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
155
aed7613d 156%find_lang %{name} --with-kde
3dce540f 157
158%clean
159rm -rf $RPM_BUILD_ROOT
160
a74cde9c 161%post -p /sbin/ldconfig
162%postun -p /sbin/ldconfig
b5eaa586 163
aed7613d 164%files -f %{name}.lang
3dce540f 165%defattr(644,root,root,755)
2f1d9ab2 166%doc AUTHORS ChangeLog README
d4535bda 167%attr(755,root,root) %{_bindir}/amarok
214a918d 168%attr(755,root,root) %{_bindir}/amarokpkg
b5eaa586 169%attr(755,root,root) %{_bindir}/amarokcollectionscanner
a74cde9c 170%attr(755,root,root) %{_bindir}/amarokmp3tunesharmonydaemon
171%attr(755,root,root) %{_bindir}/amarok_afttagger
172%attr(755,root,root) %ghost %{_libdir}/libamaroklib.so.?
173%attr(755,root,root) %{_libdir}/libamaroklib.so.*.*.*
a74cde9c 174%attr(755,root,root) %ghost %{_libdir}/libamarokpud.so.?
175%attr(755,root,root) %{_libdir}/libamarokpud.so.*.*.*
a74cde9c 176%attr(755,root,root) %{_libdir}/strigi/strigita_audible.so
177%attr(755,root,root) %{_libdir}/strigi/strigita_mp4.so
178%attr(755,root,root) %{_libdir}/kde4/amarok_containment_vertical.so
a74cde9c 179%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_currenttrack.so
180%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_lyrics.so
a74cde9c 181%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_wikipedia.so
182%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_albums.so
183%attr(755,root,root) %{_libdir}/kde4/amarok_service_opmldirectory.so
a74cde9c 184%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_current.so
185%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_lyrics.so
a74cde9c 186%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_wikipedia.so
187%attr(755,root,root) %{_libdir}/kde4/amarok_service_ampache.so
188%attr(755,root,root) %{_libdir}/kde4/amarok_service_jamendo.so
189%attr(755,root,root) %{_libdir}/kde4/amarok_service_lastfm.so
190%attr(755,root,root) %{_libdir}/kde4/amarok_service_magnatunestore.so
191%attr(755,root,root) %{_libdir}/kde4/amarok_service_mp3tunes.so
a74cde9c 192%attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_ampache.so
193%attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_lastfm.so
194%attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_magnatunestore.so
195%attr(755,root,root) %{_libdir}/kde4/kcm_amarok_service_mp3tunes.so
214a918d
SP
196%attr(755,root,root) %{_libdir}/kde4/amarok_appletscript_simple_javascript.so
197%attr(755,root,root) %{_libdir}/kde4/amarok_collection-audiocdcollection.so
198%attr(755,root,root) %{_libdir}/kde4/amarok_collection-daapcollection.so
199%attr(755,root,root) %{_libdir}/kde4/amarok_collection-ipodcollection.so
200%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mtpcollection.so
201%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlecollection.so
202%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlservercollection.so
203%attr(755,root,root) %{_libdir}/kde4/amarok_collection-umscollection.so
204%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_info.so
205%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_photos.so
206%attr(755,root,root) %{_libdir}/kde4/amarok_context_applet_videoclip.so
207%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_info.so
208%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_photos.so
209%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_videoclip.so
210%attr(755,root,root) %{_libdir}/kde4/amarok_massstorage-device.so
211%attr(755,root,root) %{_libdir}/kde4/amarok_runnerscript_javascript.so
9d393535 212%dir %{_datadir}/apps/amarok
214a918d
SP
213%attr(755,root,root) %{_libdir}/libamaroklib.so
214%attr(755,root,root) %{_libdir}/libamarokocsclient.so
215%attr(755,root,root) %{_libdir}/libamarokocsclient.so.4
216%attr(755,root,root) %{_libdir}/libamarokocsclient.so.4.3.0
217%attr(755,root,root) %{_libdir}/libamarokpud.so
9d393535 218%dir %{_datadir}/apps/amarok/scripts
9d393535
ER
219%{_datadir}/apps/amarok/data
220%{_datadir}/apps/amarok/icons
221%{_datadir}/apps/amarok/images
5bb3705c 222%{_datadir}/apps/amarok/amarok.notifyrc
a74cde9c 223%{_datadir}/apps/desktoptheme
214a918d 224%{_datadir}/apps/solid/actions/amarok-play-audiocd.desktop
a74cde9c 225%{_datadir}/config.kcfg/amarokconfig.kcfg
226%{_datadir}/config/amarok.knsrc
214a918d 227%{_datadir}/config/amarokapplets.knsrc
a74cde9c 228%{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.player.xml
229%{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.root.xml
230%{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.tracklist.xml
214a918d
SP
231%{_datadir}/dbus-1/interfaces/org.kde.amarok.Collection.xml
232%{_datadir}/dbus-1/interfaces/org.kde.amarok.SqlCollection.xml
a74cde9c 233%{_datadir}/kde4/services/amarok.protocol
234%{_datadir}/kde4/services/amaroklastfm.protocol
235%{_datadir}/kde4/services/ServiceMenus/amarok_append.desktop
236%{_datadir}/kde4/services/amarok-containment-vertical.desktop
a74cde9c 237%{_datadir}/kde4/services/amarok-context-applet-currenttrack.desktop
238%{_datadir}/kde4/services/amarok-context-applet-lyrics.desktop
a74cde9c 239%{_datadir}/kde4/services/amarok-context-applet-wikipedia.desktop
a74cde9c 240%{_datadir}/kde4/services/amarok_collection-mtpcollection.desktop
241%{_datadir}/kde4/services/amarok-data-engine-current.desktop
242%{_datadir}/kde4/services/amarok-data-engine-lyrics.desktop
a74cde9c 243%{_datadir}/kde4/services/amarok-data-engine-wikipedia.desktop
244%{_datadir}/kde4/services/amarok_collection-daapcollection.desktop
a74cde9c 245%{_datadir}/kde4/services/amarok_service_ampache.desktop
246%{_datadir}/kde4/services/amarok_service_ampache_config.desktop
247%{_datadir}/kde4/services/amarok_service_jamendo.desktop
248%{_datadir}/kde4/services/amarok_service_lastfm.desktop
249%{_datadir}/kde4/services/amarok_service_lastfm_config.desktop
250%{_datadir}/kde4/services/amarok_service_magnatunestore.desktop
251%{_datadir}/kde4/services/amarok_service_magnatunestore_config.desktop
252%{_datadir}/kde4/services/amarok_service_mp3tunes.desktop
253%{_datadir}/kde4/services/amarok_service_mp3tunes_config.desktop
a74cde9c 254%{_datadir}/kde4/services/amarok-context-applet-albums.desktop
255%{_datadir}/kde4/services/amarok_collection-ipodcollection.desktop
256%{_datadir}/kde4/services/amarok_massstorage-device.desktop
257%{_datadir}/kde4/services/amarok_service_opmldirectory.desktop
214a918d
SP
258%{_datadir}/kde4/services/amarok-context-applet-info.desktop
259%{_datadir}/kde4/services/amarok-context-applet-photos.desktop
260%{_datadir}/kde4/services/amarok-context-applet-videoclip.desktop
261%{_datadir}/kde4/services/amarok-data-engine-info.desktop
262%{_datadir}/kde4/services/amarok-data-engine-photos.desktop
263%{_datadir}/kde4/services/amarok-data-engine-videoclip.desktop
264%{_datadir}/kde4/services/amarok-scriptengine-applet-simple-javascript.desktop
265%{_datadir}/kde4/services/amarok-scriptengine-runner-javascript.desktop
266%{_datadir}/kde4/services/amarok_collection-audiocdcollection.desktop
267%{_datadir}/kde4/services/amarok_collection-mysqlecollection.desktop
268%{_datadir}/kde4/services/amarok_collection-mysqlservercollection.desktop
269%{_datadir}/kde4/services/amarok_collection-umscollection.desktop
a74cde9c 270%{_datadir}/kde4/servicetypes/amarok_context_applet.desktop
271%{_datadir}/kde4/servicetypes/amarok_data_engine.desktop
272%{_datadir}/kde4/servicetypes/amarok_plugin.desktop
273%{_datadir}/kde4/servicetypes/amarok_codecinstall.desktop
274%{_desktopdir}/kde4/amarok.desktop
60b883ee 275%{_iconsdir}/*/*/apps/amarok.*
a74cde9c 276%{_datadir}/config/amarok_homerc
9d393535
ER
277
278%files scripts
279%defattr(644,root,root,755)
a74cde9c 280%dir %{_datadir}/apps/amarok/scripts/radio_station_service
281%{_datadir}/apps/amarok/scripts/radio_station_service/main.js
282%{_datadir}/apps/amarok/scripts/radio_station_service/script.spec
283%dir %{_datadir}/apps/amarok/scripts/script_console
284%{_datadir}/apps/amarok/scripts/script_console/main.js
285%{_datadir}/apps/amarok/scripts/script_console/script.spec
286%dir %{_datadir}/apps/amarok/scripts/lyrics_lyricwiki
287%{_datadir}/apps/amarok/scripts/lyrics_lyricwiki/main.js
288%{_datadir}/apps/amarok/scripts/lyrics_lyricwiki/script.spec
289%dir %{_datadir}/apps/amarok/scripts/librivox_service
290%{_datadir}/apps/amarok/scripts/librivox_service/main.js
291%{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxLogo.png
214a918d 292%{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxScalableEmblem.svgz
a74cde9c 293%{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxService.html
294%{_datadir}/apps/amarok/scripts/librivox_service/script.spec
aed7613d 295%{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxEmblem.png
296%{_datadir}/apps/amarok/scripts/librivox_service/LibrivoxIcon.png
297%{_datadir}/apps/amarok/scripts/librivox_service/audio_book128.png
This page took 1.239552 seconds and 4 git commands to generate.