Add fsmonitor subpackage
parent
751e3466a5
commit
33a83cd814
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
Name: unison%{ver_compat_name}
|
Name: unison%{ver_compat_name}
|
||||||
Version: %{ver_compat}%{ver_noncompat}
|
Version: %{ver_compat}%{ver_noncompat}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Summary: Multi-master File synchronization tool
|
Summary: Multi-master File synchronization tool
|
||||||
|
|
||||||
|
@ -92,6 +92,15 @@ Provides: %{name}-ui = %{version}-%{release}
|
||||||
%description text
|
%description text
|
||||||
This package provides the textual version of unison without graphical interface.
|
This package provides the textual version of unison without graphical interface.
|
||||||
|
|
||||||
|
%package fsmonitor
|
||||||
|
|
||||||
|
Summary: Default filesystem watcher implementation for Unison
|
||||||
|
|
||||||
|
Requires: %name = %{version}-%{release}
|
||||||
|
|
||||||
|
%description fsmonitor
|
||||||
|
This package provides the unison-fsmonitor file monitoring helper program for Unison.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n src
|
%setup -q -n src
|
||||||
|
@ -134,6 +143,8 @@ ln -s %{_bindir}/unison-gtk-%{ver_compat} %{buildroot}%{_bindir}/unison-%{ver_co
|
||||||
|
|
||||||
cp -a unison-text %{buildroot}%{_bindir}/unison-text-%{ver_compat}
|
cp -a unison-text %{buildroot}%{_bindir}/unison-text-%{ver_compat}
|
||||||
|
|
||||||
|
cp -a unison-fsmonitor %{buildroot}%{_bindir}/unison-fsmonitor-%{ver_compat}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
cp -a %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
cp -a %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
@ -175,6 +186,22 @@ if [ $1 -eq 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
%posttrans fsmonitor
|
||||||
|
alternatives \
|
||||||
|
--install \
|
||||||
|
%{_bindir}/unison-fsmonitor \
|
||||||
|
unison-fsmonitor \
|
||||||
|
%{_bindir}/unison-fsmonitor-%{ver_compat} \
|
||||||
|
%{ver_priority}
|
||||||
|
|
||||||
|
|
||||||
|
%postun fsmonitor
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
alternatives --remove unison-fsmonitor \
|
||||||
|
%{_bindir}/unison-fsmonitor-%{ver_compat}
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING NEWS README unison-manual.html
|
%doc COPYING NEWS README unison-manual.html
|
||||||
|
|
||||||
|
@ -192,7 +219,14 @@ fi
|
||||||
%{_bindir}/unison-text-%{ver_compat}
|
%{_bindir}/unison-text-%{ver_compat}
|
||||||
|
|
||||||
|
|
||||||
|
%files fsmonitor
|
||||||
|
%{_bindir}/unison-fsmonitor-%{ver_compat}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 24 2018 Dustin C. Hatch <dustin@hatch.name> - 2.48.4-2
|
||||||
|
- Add fsmonitor subpackage
|
||||||
|
|
||||||
* Mon Nov 28 2016 David Personette <dperson@gmail.com> - 2.48.4-1
|
* Mon Nov 28 2016 David Personette <dperson@gmail.com> - 2.48.4-1
|
||||||
- New upstream version 2.48.4
|
- New upstream version 2.48.4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue