From 93d53ddf53763f2d4b57b9c6922f2a95bb5e8cb5c560cc70d939247f3336f998 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 24 Jun 2023 09:45:59 +0000 Subject: [PATCH] Accepting request 1094954 from home:dimstar:Factory - Split off nextcloudcmd into nextcloud-cli subpackage, which is required by nextcloud-desktop. Allow users of text-only remote systems to interact with a nextcloud instance without the need to pull ub a full graphical stack. Users of 'nextcloud-desktop', the 'leading' package, will get the -cli tool installed by dependency. - Move /etc/Netcloud to the -cli sub package. This is the common denominator for all installations (text-only users will pick the -cli package, graphical users pick nextcloud-desktop, which in turn requires the -cli package. OBS-URL: https://build.opensuse.org/request/show/1094954 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=106 --- nextcloud-desktop.changes | 14 ++++++++++++++ nextcloud-desktop.spec | 18 ++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/nextcloud-desktop.changes b/nextcloud-desktop.changes index 3a54a98..5b49ec7 100644 --- a/nextcloud-desktop.changes +++ b/nextcloud-desktop.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Jun 23 07:41:23 UTC 2023 - Atri Bhattacharya + +- Split off nextcloudcmd into nextcloud-cli subpackage, which is + required by nextcloud-desktop. Allow users of text-only remote + systems to interact with a nextcloud instance without the need to + pull ub a full graphical stack. Users of 'nextcloud-desktop', the + 'leading' package, will get the -cli tool installed by + dependency. +- Move /etc/Netcloud to the -cli sub package. This is the common + denominator for all installations (text-only users will pick the + -cli package, graphical users pick nextcloud-desktop, which in + turn requires the -cli package. + ------------------------------------------------------------------- Wed Jun 14 06:27:26 UTC 2023 - ecsos diff --git a/nextcloud-desktop.spec b/nextcloud-desktop.spec index e02bdf5..70d0272 100644 --- a/nextcloud-desktop.spec +++ b/nextcloud-desktop.spec @@ -69,6 +69,7 @@ Recommends: cloudproviders-extension-nextcloud = %{version} Requires: %{soname}%{sover} = %{version} Requires: libqt5-qtgraphicaleffects Requires: libqt5-qtquickcontrols2 +Requires: nextcloud-cli = %{version} Provides: nextcloud-client = %{version} Obsoletes: nextcloud-client < %{version} Provides: nextcloud-client-lang = %{version} @@ -186,6 +187,15 @@ This package provides the necessary plugin libraries for the Dolphin filemanager to display overlay icons. %endif +%package -n nextcloud-cli +Summary: Nextcloud sync client - Command-line utility + +%description -n nextcloud-cli +The Nextcloud Desktop Client is a tool to synchronise files from +the Nextcloud Server with your computer. + +This package provides Nextcloud's command-line sync utility. + %prep %autosetup -p1 -n desktop-%{version} cp -a %{SOURCE1} sysctl-sync-inotify.conf @@ -234,9 +244,8 @@ done %files %license COPYING* -%config %{_sysconfdir}/Nextcloud/ #%%config %%{_sysconfdir}/sysctl.d/99-%%{name}-sync-inotify.conf -%{_bindir}/nextcloud* +%{_bindir}/nextcloud %dir %{_datadir}/nextcloud/ %{_datadir}/applications/com.nextcloud.desktopclient.nextcloud.desktop %dir %{_datadir}/icons/hicolor/1024x1024/ @@ -298,4 +307,9 @@ done %{_libdir}/qt5/plugins/kf5/kfileitemaction/nextclouddolphinactionplugin.so %endif +%files -n nextcloud-cli +%license COPYING +%config %{_sysconfdir}/Nextcloud/ +%{_bindir}/nextcloudcmd + %changelog