+#
# TODO
-# - try not to link with static mysql
+# - use mysql-embedded in the future and try not to link with static mysqld lib
+#
%define state stable
%define qtver 4.7.1
Summary(pl.UTF-8): Odtwarzacz audio dla KDE
Name: amarok
Version: 2.4.0
-Release: 2
+Release: 5
License: GPL v2+ and LGPL v2.1+
Group: X11/Applications/Multimedia
Source0: ftp://ftp.kde.org/pub/kde/%{state}/amarok/%{version}/src/%{name}-%{version}.tar.bz2
Suggests: libvisual-plugin-actor-nastyfft
Suggests: libvisual-plugin-actor-oinksie
Suggests: libvisual-plugin-input-alsa
-Suggests: libvisual-plugin-input-esd
Suggests: libvisual-plugin-input-jack
Suggests: libvisual-plugin-input-mplayer
Suggests: libvisual-plugin-morph-alphablend
install -d build
cd build
%cmake \
+ -DWITH_MYSQL_EMBEDDED=OFF \
../
%{__make}
%attr(755,root,root) %{_libdir}/kde4/amarok_collection-daapcollection.so
%attr(755,root,root) %{_libdir}/kde4/amarok_collection-ipodcollection.so
%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mtpcollection.so
-%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlecollection.so
+#%%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlecollection.so
%attr(755,root,root) %{_libdir}/kde4/amarok_collection-mysqlservercollection.so
%attr(755,root,root) %{_libdir}/kde4/amarok_collection-umscollection.so
%attr(755,root,root) %{_libdir}/kde4/amarok_containment_vertical.so
%{_datadir}/kde4/services/amarok_collection-daapcollection.desktop
%{_datadir}/kde4/services/amarok_collection-ipodcollection.desktop
%{_datadir}/kde4/services/amarok_collection-mtpcollection.desktop
-%{_datadir}/kde4/services/amarok_collection-mysqlecollection.desktop
+#%%{_datadir}/kde4/services/amarok_collection-mysqlecollection.desktop
%{_datadir}/kde4/services/amarok_collection-mysqlservercollection.desktop
%{_datadir}/kde4/services/amarok_collection-umscollection.desktop
%{_datadir}/kde4/services/amarok-containment-vertical.desktop