rdiff-backup/rdiff-backup.spec

58 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: rdiff-backup
2022-07-26 01:21:01 +00:00
Version: 2.2.4
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
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/*
%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/
%{python3_sitearch}/rdiff_backup-*.egg-info
2022-07-26 01:21:01 +00:00
%{python3_sitearch}/rdiffbackup/
%{_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
%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
* Mon Jul 25 2022 xu_ping <xuping33@h-partners.com> - 2.0.5-1
- Package init