Add boolean `Supplements` to file manager add-on subpackages.

Use `install -p` to preserve mtimes.
f40
Maxwell G 3 years ago committed by gotmax23
parent f3f40de1c1
commit 4edd9097e6

@ -99,6 +99,7 @@ Development headers for use of the nextcloud-client library
%package nautilus
Summary: nextcloud client nautilus extension
Supplements: (nextcloud-client and nautilus)
Requires: nautilus
Requires: nautilus-python
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -112,6 +113,7 @@ The nextcloud desktop client nautilus extension.
# Only Fedora has Cinnamon, so there is no need for Nemo extension on EPEL
%package nemo
Summary: Nemo overlay icons
Supplements: (nextcloud-client and nemo)
Requires: nemo
Requires: nemo-python
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -123,6 +125,7 @@ in the nemo file manager.
# Only Fedora has Mate, so there is no need for Caja extension on EPEL
%package caja
Summary: Caja overlay icons
Supplements: (nextcloud-client and caja)
Requires: caja
Requires: python3-caja
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -135,6 +138,7 @@ in the caja file manager.
%if 0%{?fedora} || 0%{?rhel} > 7
%package dolphin
Summary: Dolphin overlay icons
Supplements: (nextcloud-client and dolphin)
Requires: dolphin
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -163,7 +167,7 @@ sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt
%find_lang client --with-qt
mkdir -p %{buildroot}%{_datadir}/appdata/
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml
install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml
# for distros that do not have KDE Plasma 5

Loading…
Cancel
Save