mirror of
https://github.com/deajan/osync
synced 2024-11-19 03:25:37 +00:00
40 lines
731 B
RPMSpec
40 lines
731 B
RPMSpec
Name: osync
|
|
Version: 1.2
|
|
Release: beta.1%{?dist}
|
|
Summary: robust file synchronization tool
|
|
|
|
Group: Applications/File
|
|
License: BSD
|
|
URL: https://www.netpower.fr/osync
|
|
Source0: https://github.com/deajan/osync/archive/master.zip
|
|
|
|
Requires: rsync openssh-server
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
|
|
%install
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
|
|
install -m 755 osync.sh ${RPM_BUILD_ROOT}%{_bindir}
|
|
install -m 755 osync-batch.sh ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%attr(755,root,root) %{_bindir}/osync.sh
|
|
%doc
|
|
|
|
|
|
|
|
%changelog
|
|
* 30 Aug 2016 Orsiris de Jong <ozy@netpower.fr>
|
|
- Initial spec file
|