diff --git a/owncloud-client.spec b/owncloud-client.spec index 4437a4e..68cc716 100644 --- a/owncloud-client.spec +++ b/owncloud-client.spec @@ -2,7 +2,7 @@ Name: owncloud-client Version: 2.2.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: The ownCloud Client # -libs are LGPLv2+, rest GPLv2 @@ -11,7 +11,6 @@ Url: http://owncloud.org/sync-clients/ Source0: https://download.owncloud.com/desktop/stable/owncloudclient-%{version}.tar.xz Source1: %{name}.appdata.xml Patch0: %{name}-%{version}-syslibs.patch -Patch1: %{name}-%{version}-rpath.patch BuildRequires: check BuildRequires: cmake @@ -34,6 +33,10 @@ BuildRequires: qt5-qtbase-gui BuildRequires: qt5-qtwebkit-devel BuildRequires: qt5-qtxmlpatterns-devel BuildRequires: qt5-qttools qt5-qttools-devel +BuildRequires: extra-cmake-modules +BuildRequires: kf5-kio-devel +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-rpm-macros BuildRequires: sqlite-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -90,18 +93,24 @@ Requires: nemo-python This package provides overlay icons to visualize the sync state in the nemo file manager. +%package dolphin +Summary: Dolphin overlay icons +Requires: dolphin + +%description dolphin +The owncloud desktop client dolphin extension. + %prep %setup -q -n owncloudclient-%{version} %patch0 -p1 -%patch1 -p1 rm -rf src/3rdparty/qtlockedfile src/3rdparty/qtsingleapplication %build mkdir build pushd build -%cmake .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" +%cmake_kf5 .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" make %{?_smp_mflags} popd @@ -134,6 +143,9 @@ fi %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig +%post dolphin -p /sbin/ldconfig +%postun dolphin -p /sbin/ldconfig + %files -f client.lang %{_bindir}/owncloud @@ -163,8 +175,17 @@ fi %files nemo %{_datadir}/nemo-python/extensions/* +%files dolphin +%{_libdir}/libownclouddolphinpluginhelper.so +%{_kf5_plugindir}/overlayicon/ownclouddolphinoverlayplugin.so +%{_qt5_plugindir}/ownclouddolphinactionplugin.so +%{_kf5_datadir}/kservices5/ownclouddolphinactionplugin.desktop + %changelog +* Tue May 24 2016 Nikos Roussos 2.2.0-9 +- Reapply dolphin changes + * Tue May 24 2016 Nikos Roussos 2.2.0-8 - Bump release