|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.7.3)
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 2;
|
|
|
|
|
release_number = 1;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
@ -14,12 +14,12 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: nextcloud-client
|
|
|
|
|
Version: 3.15.3
|
|
|
|
|
Version: 3.13.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: The Nextcloud Client
|
|
|
|
|
|
|
|
|
|
# -libs are LGPLv2+, rest GPLv2
|
|
|
|
|
License: LGPL-2.1-or-later and GPL-2.0-only
|
|
|
|
|
License: LGPLv2+ and GPLv2
|
|
|
|
|
Url: https://nextcloud.com/install/#install-clients
|
|
|
|
|
Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz
|
|
|
|
|
Source1: com.nextcloud.desktopclient.nextcloud.metainfo.xml
|
|
|
|
@ -46,36 +46,37 @@ BuildRequires: neon-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: qtlockedfile-qt6-devel
|
|
|
|
|
BuildRequires: qtkeychain-qt6-devel
|
|
|
|
|
BuildRequires: qtsingleapplication-qt6-devel
|
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
|
BuildRequires: qt6-qtbase-private-devel
|
|
|
|
|
BuildRequires: qt6-qtbase-gui
|
|
|
|
|
BuildRequires: qt6-qtdeclarative-devel
|
|
|
|
|
BuildRequires: qt6-qttools
|
|
|
|
|
BuildRequires: qt6-qttools-devel
|
|
|
|
|
BuildRequires: qt6-qtscxml-devel
|
|
|
|
|
BuildRequires: qt6-qtquickcontrols2-devel
|
|
|
|
|
BuildRequires: qt6-qtwebengine-devel
|
|
|
|
|
BuildRequires: qt6-qtwebsockets-devel
|
|
|
|
|
BuildRequires: qt6-qtsvg-devel
|
|
|
|
|
BuildRequires: qt6-qt5compat-devel
|
|
|
|
|
BuildRequires: qtlockedfile-qt5-devel
|
|
|
|
|
BuildRequires: qtkeychain-qt5-devel
|
|
|
|
|
BuildRequires: qtsingleapplication-qt5-devel
|
|
|
|
|
BuildRequires: qt5-qtbase
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-gui
|
|
|
|
|
BuildRequires: qt5-qtwebkit-devel
|
|
|
|
|
BuildRequires: qt5-qtxmlpatterns-devel
|
|
|
|
|
BuildRequires: qt5-qttools
|
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
|
|
|
|
BuildRequires: qt5-qtwebengine-devel
|
|
|
|
|
BuildRequires: qt5-qtwebsockets-devel
|
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: inkscape
|
|
|
|
|
BuildRequires: kf6-kio-devel
|
|
|
|
|
BuildRequires: kf6-kbookmarks-devel
|
|
|
|
|
|
|
|
|
|
# Dolphin integration
|
|
|
|
|
# Plasma 5 Dolphin integration
|
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
|
BuildRequires: kf6-karchive-devel
|
|
|
|
|
BuildRequires: kf6-kcoreaddons-devel
|
|
|
|
|
BuildRequires: kf6-rpm-macros
|
|
|
|
|
BuildRequires: kf6-kguiaddons-devel
|
|
|
|
|
BuildRequires: kf5-kio-devel
|
|
|
|
|
BuildRequires: kf5-karchive-devel
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
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}
|
|
|
|
|
Obsoletes: mirall < 1.8.0
|
|
|
|
@ -92,7 +93,7 @@ the directory and the Nextcloud Client does the rest.
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: Common files for nextcloud-client
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Provides: mirall-common = %{version}-%{release}
|
|
|
|
|
Obsoletes: mirall-common < 1.8.0
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
@ -104,7 +105,7 @@ configuration file that determines the excluded files in a sync.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for nextcloud-client
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
@ -171,7 +172,7 @@ sed -i 's/-fPIE/-fPIC/g' src/gui/CMakeLists.txt
|
|
|
|
|
sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake_kf6 \
|
|
|
|
|
%cmake_kf5 \
|
|
|
|
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
|
|
|
|
|
-DNO_SHIBBOLETH=1 \
|
|
|
|
|
-DBUILD_UPDATER=False
|
|
|
|
@ -181,12 +182,20 @@ sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang client --with-qt
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/metainfo/
|
|
|
|
|
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}
|
|
|
|
|
# Only Fedora has Cinnamon, so there is no need for Nemo extension on EPEL
|
|
|
|
|
rm -rf %{buildroot}%{_datadir}/nemo-python/
|
|
|
|
@ -221,6 +230,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.nextc
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
|
%{_datadir}/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml
|
|
|
|
|
%{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
|
|
|
|
|
%{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%{_libdir}/libnextcloudsync.so.0
|
|
|
|
@ -252,54 +262,17 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.nextc
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%files dolphin
|
|
|
|
|
%{_libdir}/libnextclouddolphinpluginhelper.so
|
|
|
|
|
%{_kf6_plugindir}/overlayicon/nextclouddolphinoverlayplugin.so
|
|
|
|
|
%{_kf6_plugindir}/kfileitemaction/nextclouddolphinactionplugin.so
|
|
|
|
|
%{_kf5_plugindir}/overlayicon/nextclouddolphinoverlayplugin.so
|
|
|
|
|
%{_kf5_plugindir}/kfileitemaction/nextclouddolphinactionplugin.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Jan 14 2025 Eduard Basov <ebasov@msvsphere-os.ru> - 3.15.3-1
|
|
|
|
|
- Rebuild For MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Sat Jan 11 2025 Mukundan Ragavan <nonamedotc@gmail.com> - 3.15.3-1
|
|
|
|
|
- Update to v3.15.3; close rhbz#2336107
|
|
|
|
|
|
|
|
|
|
* Thu Dec 19 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.15.2-1
|
|
|
|
|
- Update to v3.15.2; close rhbz#2321485
|
|
|
|
|
|
|
|
|
|
* Sat Nov 23 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.14.3-1
|
|
|
|
|
- Update to v3.14.3
|
|
|
|
|
|
|
|
|
|
* Wed Oct 23 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.14.2-1
|
|
|
|
|
- Update to v3.14.2
|
|
|
|
|
|
|
|
|
|
* Mon Oct 14 2024 Jan Grulich <jgrulich@redhat.com> - 3.14.1-2
|
|
|
|
|
- Rebuild (qt6)
|
|
|
|
|
|
|
|
|
|
* Mon Sep 30 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.14.1-1
|
|
|
|
|
- Update to v3.14.1; rhbz#2315501
|
|
|
|
|
|
|
|
|
|
* Wed Sep 25 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.14.0-2
|
|
|
|
|
- Convert license to SPDX format
|
|
|
|
|
|
|
|
|
|
* Sat Sep 21 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.14.0-1
|
|
|
|
|
- Update to v3.14.0; move all dependencies to QT6; spec cleanup:drop old
|
|
|
|
|
conditionals
|
|
|
|
|
|
|
|
|
|
* Mon Sep 16 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.13.4-1
|
|
|
|
|
- Update to v3.13.4
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 3.13.2-4
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
* Sat Aug 17 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.13.2-3
|
|
|
|
|
- Build nextcloud client with kf6 dolphin support; fixes bz#2299950
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
* Mon Sep 02 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 3.13.2-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Sat Jul 13 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.13.2-1
|
|
|
|
|
- update to v3.13.2
|
|
|
|
|
- Update to v3.13.2
|
|
|
|
|
|
|
|
|
|
* Fri Jul 05 2024 Mukundan Ragavan <nonamedotc@gmail.com> - 3.13.1-3
|
|
|
|
|
- Add openssl-devel-engine as BR; close #rhbz 2295633
|
|
|
|
|