2022-07-25 16:42:29 +08:00
|
|
|
Name: rdiff-backup
|
2022-07-26 01:21:01 +00:00
|
|
|
Version: 2.2.4
|
2022-07-25 16:42:29 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Convenient and transparent local/remote incremental mirror/backup
|
|
|
|
|
URL: https://rdiff-backup.net/
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2022-07-26 01:21:01 +00:00
|
|
|
License: GPL-2.0-or-later
|
2022-07-25 16:42:29 +08:00
|
|
|
BuildRequires: python3-devel >= 3.5, librsync-devel >= 1.0.0 python3-setuptools
|
|
|
|
|
BuildRequires: python3-setuptools_scm gcc
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
|
Recommends: py3libacl
|
|
|
|
|
Recommends: python3-pyxattr
|
|
|
|
|
%description
|
|
|
|
|
rdiff-backup is a script, written in Python, that backs up one
|
|
|
|
|
directory to another and is intended to be run periodically (nightly
|
|
|
|
|
from cron for instance). The target directory ends up a copy of the
|
|
|
|
|
source directory, but extra reverse diffs are stored in the target
|
|
|
|
|
directory, so you can still recover files lost some time ago. The idea
|
|
|
|
|
is to combine the best features of a mirror and an incremental
|
|
|
|
|
backup. rdiff-backup can also operate in a bandwidth efficient manner
|
|
|
|
|
over a pipe, like rsync. Thus you can use rdiff-backup and ssh to
|
|
|
|
|
securely back a hard drive up to a remote location, and only the
|
|
|
|
|
differences from the previous backup will be transmitted.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
2022-07-26 01:21:01 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc/*
|
|
|
|
|
|
2022-07-25 16:42:29 +08:00
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/rdiff-backup
|
|
|
|
|
%{_bindir}/rdiff-backup-statistics
|
|
|
|
|
%{_bindir}/rdiff-backup-delete
|
|
|
|
|
%{_mandir}/man1/rdiff-backup*
|
2022-07-26 01:21:01 +00:00
|
|
|
%{python3_sitearch}/rdiff_backup/
|
2022-07-25 16:42:29 +08:00
|
|
|
%{python3_sitearch}/rdiff_backup-*.egg-info
|
2022-07-26 01:21:01 +00:00
|
|
|
%{python3_sitearch}/rdiffbackup/
|
2022-07-25 16:42:29 +08:00
|
|
|
%{_datadir}/bash-completion/completions/rdiff-backup
|
2022-07-26 01:21:01 +00:00
|
|
|
%doc CHANGELOG.adoc README.adoc
|
|
|
|
|
%doc docs/credits.adoc docs/DEVELOP.adoc docs/examples.adoc
|
|
|
|
|
%doc docs/FAQ.adoc docs/migration.adoc
|
2022-07-25 16:42:29 +08:00
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-07-26 01:21:01 +00:00
|
|
|
* Tue Apr 18 2023 liyanan <thistleslyn@163.com> - 2.2.4-1
|
|
|
|
|
- Update to 2.2.4
|
|
|
|
|
|
2022-07-25 16:42:29 +08:00
|
|
|
* Mon Jul 25 2022 xu_ping <xuping33@h-partners.com> - 2.0.5-1
|
|
|
|
|
- Package init
|