#
# TODO
# - use mysql-embedded in the future and try not to link with static mysqld lib
+# - amarok now requires his own database which is not automaticly created
#
%define state stable
Summary: A KDE audio player
Summary(pl.UTF-8): Odtwarzacz audio dla KDE
Name: amarok
-Version: 2.4.0
-Release: 4
+Version: 2.4.3
+Release: 2
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
-# Source0-md5: bdb6ddc8e38d0982a0786ff8ac96d923
-Patch0: %{name}-disable_qtscriptbindings_check_fix.patch
+# Source0-md5: 24e8141bcbd065448911fa872c50197d
+Patch0: %{name}-upnp-dep.patch
URL: http://amarok.kde.org/
BuildRequires: QtNetwork-devel >= %{qtver}
BuildRequires: QtSql-devel >= %{qtver}
BuildRequires: automoc4 >= 0.9.88
BuildRequires: cmake >= 2.8.0
BuildRequires: curl-devel
+BuildRequires: ffmpeg-devel >= 0.7.1
BuildRequires: gettext-devel
BuildRequires: glib2-devel
+BuildRequires: herqq-devel
BuildRequires: kde4-kdelibs-devel >= %{kdever}
BuildRequires: kde4-kdemultimedia-devel >= %{kdever}
+BuildRequires: libaio-devel
BuildRequires: libgpod-devel >= 0.7.0
BuildRequires: liblastfm-devel
-BuildRequires: libmtp-devel >= 0.3.0
+BuildRequires: libmtp-devel >= 1.0.4
BuildRequires: libofa-devel
BuildRequires: libwrap-devel
BuildRequires: loudmouth-devel
BuildRequires: pcre-devel
BuildRequires: pkgconfig
BuildRequires: qca-devel
+BuildRequires: qjson-devel >= 0.5
BuildRequires: qt4-build >= %{qtver}
BuildRequires: qt4-qmake >= %{qtver}
BuildRequires: qtscriptbindings
BuildRequires: rpmbuild(macros) >= 1.600
BuildRequires: soprano-devel
BuildRequires: strigi-devel >= 0.7.0
-BuildRequires: taglib-devel >= 1.6
+BuildRequires: taglib-devel >= 1.7
BuildRequires: taglib-extras-devel >= 1.0.0
BuildRequires: xorg-lib-libXpm-devel
Requires(post,postun): /sbin/ldconfig
%attr(755,root,root) %{_libdir}/libamarokcore.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libamarok-transcoding.so.?
%attr(755,root,root) %{_libdir}/libamarok-transcoding.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libamarokqtjson.so.?
-%attr(755,root,root) %{_libdir}/libamarokqtjson.so.*.*.*
+#%%attr(755,root,root) %ghost %{_libdir}/libamarokqtjson.so.?
+#%%attr(755,root,root) %{_libdir}/libamarokqtjson.so.*.*.*
%attr(755,root,root) %{_libdir}/libampache_account_login.so
%attr(755,root,root) %{_libdir}/kde4/amarok_appletscript_simple_javascript.so
%attr(755,root,root) %{_libdir}/kde4/amarok_collection-audiocdcollection.so
%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_upcomingEvents.so
%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_videoclip.so
%attr(755,root,root) %{_libdir}/kde4/amarok_data_engine_wikipedia.so
-%attr(755,root,root) %{_libdir}/kde4/amarok_massstorage-device.so
+%attr(755,root,root) %{_libdir}/kde4/amarok_device_massstorage.so
+%attr(755,root,root) %{_libdir}/kde4/amarok_device_nfs.so
+%attr(755,root,root) %{_libdir}/kde4/amarok_device_smb.so
%attr(755,root,root) %{_libdir}/kde4/amarok_runnerscript_javascript.so
%attr(755,root,root) %{_libdir}/kde4/amarok_service_ampache.so
%attr(755,root,root) %{_libdir}/kde4/amarok_service_jamendo.so
%{_datadir}/dbus-1/interfaces/org.kde.amarok.App.xml
%{_datadir}/dbus-1/interfaces/org.kde.amarok.Mpris1Extensions.Player.xml
%{_datadir}/dbus-1/interfaces/org.kde.amarok.Mpris2Extensions.Player.xml
-%{_datadir}/applications/kde4/amarok_containers.desktop
+%{_desktopdir}/kde4/amarok_containers.desktop
%{_datadir}/kde4/services/amarok.protocol
%{_datadir}/kde4/services/amaroklastfm.protocol
%{_datadir}/kde4/services/amarokitpc.protocol
%{_datadir}/kde4/services/amarok-data-engine-upcomingEvents.desktop
%{_datadir}/kde4/services/amarok-data-engine-videoclip.desktop
%{_datadir}/kde4/services/amarok-data-engine-wikipedia.desktop
-%{_datadir}/kde4/services/amarok_massstorage-device.desktop
+%{_datadir}/kde4/services/amarok_device_massstorage.desktop
+%{_datadir}/kde4/services/amarok_device_nfs.desktop
+%{_datadir}/kde4/services/amarok_device_smb.desktop
%{_datadir}/kde4/services/amarok_service_ampache.desktop
%{_datadir}/kde4/services/amarok_service_ampache_config.desktop
%{_datadir}/kde4/services/amarok_service_jamendo.desktop
%{_desktopdir}/kde4/amarok.desktop
%{_iconsdir}/*/*/apps/amarok.*
%{_datadir}/config/amarok_homerc
+%attr(755,root,root) %{_datadir}/apps/kconf_update/*.pl
+%{_datadir}/apps/kconf_update/amarok.upd
%files scripts
%defattr(644,root,root,755)