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