added macro for Caja extension

f40
Germano Massullo 8 years ago
parent 93b478dc6b
commit a32ccce2c2

@ -100,7 +100,8 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This package provides overlay icons to visualize the sync state
in the nemo file manager.
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
# Only Fedora has Mate, so there is no need for Caja extension on EPEL
%if 0%{?fedora}
%package caja
Summary: Caja overlay icons
Requires: caja
@ -162,6 +163,11 @@ rm -f %{buildroot}%{_qt5_plugindir}/nextclouddolphinactionplugin.so
rm -f %{buildroot}%{_kf5_datadir}/kservices5/nextclouddolphinactionplugin.desktop
%endif
# Only Fedora has Mate, so there is no need for Caja extension on EPEL
%if 0%{?rhel}
rf -rf %{_datadir}/caja-python/
%endif
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml
@ -213,7 +219,8 @@ fi
%files nemo
%{_datadir}/nemo-python/extensions/*
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
# Only Fedora has Mate, so there is no need for Caja extension on EPEL
%if 0%{?fedora}
%files caja
%{_datadir}/caja-python/extensions/*
%endif

Loading…
Cancel
Save