|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
Name: nextcloud-client
|
|
|
|
|
Version: 2.2.4
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: The Nextcloud Client
|
|
|
|
|
|
|
|
|
|
# -libs are LGPLv2+, rest GPLv2
|
|
|
|
@ -104,6 +104,18 @@ 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
|
|
|
|
|
%package caja
|
|
|
|
|
Summary: Caja overlay icons
|
|
|
|
|
Requires: caja
|
|
|
|
|
Requires: python-caja
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description caja
|
|
|
|
|
This package provides overlay icons to visualize the sync state
|
|
|
|
|
in the caja file manager.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
|
%package dolphin
|
|
|
|
|
Summary: Dolphin overlay icons
|
|
|
|
@ -146,6 +158,14 @@ popd
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/appdata/
|
|
|
|
|
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
|
# Make a Caja extension from a Nemo's one.
|
|
|
|
|
# https://github.com/owncloud/client/pull/5262
|
|
|
|
|
install -Dpm 0644 %{buildroot}%{_datadir}/{nemo,caja}-python/extensions/syncstate.py
|
|
|
|
|
sed -i 's/nautilus/caja/g;s/Nautilus/Caja/g' \
|
|
|
|
|
%{buildroot}%{_datadir}/caja-python/extensions/syncstate.py
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 24 && 0%{?rhel} <= 7
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/libnextclouddolphinpluginhelper.so
|
|
|
|
|
rm -f %{buildroot}%{_kf5_plugindir}/overlayicon/nextclouddolphinoverlayplugin.so
|
|
|
|
@ -204,6 +224,11 @@ fi
|
|
|
|
|
%files nemo
|
|
|
|
|
%{_datadir}/nemo-python/extensions/*
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
|
%files caja
|
|
|
|
|
%{_datadir}/caja-python/extensions/*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
|
|
|
|
|
%files dolphin
|
|
|
|
|
%{_libdir}/libnextclouddolphinpluginhelper.so
|
|
|
|
@ -213,6 +238,8 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 02 2017 Claudio Rodrigo Pereyra Diaz <elsupergomez@fedoraproject.org> - 2.2.4-7
|
|
|
|
|
- Add caja extension
|
|
|
|
|
* Mon Jan 02 2017 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 2.2.4-6
|
|
|
|
|
- Fix the desktop icon (#1409252)
|
|
|
|
|
* Thu Dec 08 2016 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 2.2.4-5
|
|
|
|
|