Merge branch 'rawhide' into f40

f40 imports/f40/nextcloud-client-3.14.2-2.el9
Mukundan Ragavan 3 weeks ago
commit 6eeccaf0ad

3
.gitignore vendored

@ -29,3 +29,6 @@
/desktop-3.13.1.tar.gz /desktop-3.13.1.tar.gz
/desktop-3.13.2.tar.gz /desktop-3.13.2.tar.gz
/desktop-3.13.4.tar.gz /desktop-3.13.4.tar.gz
/desktop-3.14.0.tar.gz
/desktop-3.14.1.tar.gz
/desktop-3.14.2.tar.gz

@ -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/

@ -1 +1 @@
SHA512 (desktop-3.13.4.tar.gz) = f870508f024f1334813db55863e66866fee719c1e74f52d61338d321fc2ef65d2589f9211912956bd2251ea67802bc4425c63e6d25628c8a7117256297a1bb87 SHA512 (desktop-3.14.2.tar.gz) = 86739a5d9dfaaafc07a02bcac98bf1da2cb57651a9b7473574dbdf8bb65dbcce0383c1d476bd8d8056240a54d9d1f7b3b4842e96979bf001bdeba1f6e0d9f2f0

Loading…
Cancel
Save