|
|
@ -4,13 +4,12 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: nextcloud-client
|
|
|
|
Name: nextcloud-client
|
|
|
|
Version: 3.13.4
|
|
|
|
Version: 3.14.2
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: The Nextcloud Client
|
|
|
|
Summary: The Nextcloud Client
|
|
|
|
|
|
|
|
|
|
|
|
# -libs are LGPLv2+, rest GPLv2
|
|
|
|
# -libs are LGPLv2+, rest GPLv2
|
|
|
|
# Automatically converted from old format: LGPLv2+ and GPLv2 - review is highly recommended.
|
|
|
|
License: LGPL-2.1-or-later and GPL-2.0-only
|
|
|
|
License: LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-only
|
|
|
|
|
|
|
|
Url: https://nextcloud.com/install/#install-clients
|
|
|
|
Url: https://nextcloud.com/install/#install-clients
|
|
|
|
Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz
|
|
|
|
Source1: com.nextcloud.desktopclient.nextcloud.metainfo.xml
|
|
|
|
Source1: com.nextcloud.desktopclient.nextcloud.metainfo.xml
|
|
|
@ -37,38 +36,36 @@ BuildRequires: neon-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: qtlockedfile-qt5-devel
|
|
|
|
BuildRequires: qtlockedfile-qt6-devel
|
|
|
|
BuildRequires: qtkeychain-qt5-devel
|
|
|
|
BuildRequires: qtkeychain-qt6-devel
|
|
|
|
BuildRequires: qtsingleapplication-qt5-devel
|
|
|
|
BuildRequires: qtsingleapplication-qt6-devel
|
|
|
|
BuildRequires: qt5-qtbase
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt6-qtbase-private-devel
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
BuildRequires: qt6-qtbase-gui
|
|
|
|
BuildRequires: qt5-qtbase-gui
|
|
|
|
BuildRequires: qt6-qtdeclarative-devel
|
|
|
|
BuildRequires: qt5-qtwebkit-devel
|
|
|
|
BuildRequires: qt6-qttools
|
|
|
|
BuildRequires: qt5-qtxmlpatterns-devel
|
|
|
|
BuildRequires: qt6-qttools-devel
|
|
|
|
BuildRequires: qt5-qttools
|
|
|
|
BuildRequires: qt6-qtscxml-devel
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
BuildRequires: qt6-qtquickcontrols2-devel
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
|
|
|
BuildRequires: qt6-qtwebengine-devel
|
|
|
|
BuildRequires: qt5-qtwebengine-devel
|
|
|
|
BuildRequires: qt6-qtwebsockets-devel
|
|
|
|
BuildRequires: qt5-qtwebsockets-devel
|
|
|
|
BuildRequires: qt6-qtsvg-devel
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
|
|
BuildRequires: qt6-qt5compat-devel
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: inkscape
|
|
|
|
BuildRequires: inkscape
|
|
|
|
# Plasma 5 Dolphin integration
|
|
|
|
BuildRequires: kf6-kio-devel
|
|
|
|
|
|
|
|
BuildRequires: kf6-kbookmarks-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Dolphin integration
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
BuildRequires: kf6-kio-devel
|
|
|
|
BuildRequires: kf6-karchive-devel
|
|
|
|
BuildRequires: kf5-karchive-devel
|
|
|
|
|
|
|
|
BuildRequires: kf6-kcoreaddons-devel
|
|
|
|
BuildRequires: kf6-kcoreaddons-devel
|
|
|
|
BuildRequires: kf6-rpm-macros
|
|
|
|
BuildRequires: kf6-rpm-macros
|
|
|
|
|
|
|
|
BuildRequires: kf6-kguiaddons-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 33
|
|
|
|
|
|
|
|
# concerning libgnome-keyring read https://bugzilla.redhat.com/show_bug.cgi?id=1652973
|
|
|
|
|
|
|
|
Requires: libgnome-keyring
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: qt5-qtquickcontrols
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides: mirall = %{version}-%{release}
|
|
|
|
Provides: mirall = %{version}-%{release}
|
|
|
|
Obsoletes: mirall < 1.8.0
|
|
|
|
Obsoletes: mirall < 1.8.0
|
|
|
@ -85,8 +82,7 @@ the directory and the Nextcloud Client does the rest.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
%package libs
|
|
|
|
Summary: Common files for nextcloud-client
|
|
|
|
Summary: Common files for nextcloud-client
|
|
|
|
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
License: LicenseRef-Callaway-LGPLv2+
|
|
|
|
|
|
|
|
Provides: mirall-common = %{version}-%{release}
|
|
|
|
Provides: mirall-common = %{version}-%{release}
|
|
|
|
Obsoletes: mirall-common < 1.8.0
|
|
|
|
Obsoletes: mirall-common < 1.8.0
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
@ -98,8 +94,7 @@ configuration file that determines the excluded files in a sync.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for nextcloud-client
|
|
|
|
Summary: Development files for nextcloud-client
|
|
|
|
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
License: LicenseRef-Callaway-LGPLv2+
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
@ -166,7 +161,7 @@ sed -i 's/-fPIE/-fPIC/g' src/gui/CMakeLists.txt
|
|
|
|
sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt
|
|
|
|
sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake_kf5 \
|
|
|
|
%cmake_kf6 \
|
|
|
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
|
|
|
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
|
|
|
|
-DNO_SHIBBOLETH=1 \
|
|
|
|
-DNO_SHIBBOLETH=1 \
|
|
|
|
-DBUILD_UPDATER=False
|
|
|
|
-DBUILD_UPDATER=False
|
|
|
@ -176,25 +171,12 @@ sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
# move dolphin plugins to kf5_plugindir
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_kf6_plugindir}
|
|
|
|
|
|
|
|
mv -v %{buildroot}%{_qt5_plugindir}/kf6/kfileitemaction %{buildroot}/%{_kf6_plugindir}
|
|
|
|
|
|
|
|
mv -v %{buildroot}%{_qt5_plugindir}/kf6/overlayicon/ %{buildroot}/%{_kf6_plugindir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang client --with-qt
|
|
|
|
%find_lang client --with-qt
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/metainfo/
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/metainfo/
|
|
|
|
install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml
|
|
|
|
install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# for distros that do not have KDE Plasma 5
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 24 && 0%{?rhel} <= 7
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/libnextclouddolphinpluginhelper.so
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_kf5_plugindir}/overlayicon/nextclouddolphinoverlayplugin.so
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_qt5_plugindir}/nextclouddolphinactionplugin.so
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_kf5_datadir}/kservices5/nextclouddolphinactionplugin.desktop
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel}
|
|
|
|
# Only Fedora has Cinnamon, so there is no need for Nemo extension on EPEL
|
|
|
|
# Only Fedora has Cinnamon, so there is no need for Nemo extension on EPEL
|
|
|
|
rm -rf %{buildroot}%{_datadir}/nemo-python/
|
|
|
|
rm -rf %{buildroot}%{_datadir}/nemo-python/
|
|
|
|