Package init

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2022-07-25 16:42:29 +08:00
parent 0bc450ad3d
commit 7a7477fcfd
3 changed files with 60 additions and 0 deletions

BIN
rdiff-backup-2.0.5.tar.gz Normal file

Binary file not shown.

55
rdiff-backup.spec Normal file
View File

@ -0,0 +1,55 @@
Name: rdiff-backup
Version: 2.0.5
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
License: GPLv2+
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
%files
%defattr(-,root,root)
%{_bindir}/rdiff-backup
%{_bindir}/rdiff-backup-statistics
%{_bindir}/rdiff-backup-delete
%{_mandir}/man1/rdiff-backup*
%dir %{python3_sitearch}/rdiff_backup
%{python3_sitearch}/rdiff_backup/*.py
%dir %{python3_sitearch}/rdiff_backup/__pycache__
%{python3_sitearch}/rdiff_backup/__pycache__/*.pyc
%{python3_sitearch}/rdiff_backup/*.so
%{python3_sitearch}/rdiff_backup-*.egg-info
%{_datadir}/bash-completion/completions/rdiff-backup
%doc CHANGELOG.md COPYING README.md
%doc docs/FAQ.md docs/examples.md docs/DEVELOP.md
%doc docs/Windows-README.md docs/Windows-DEVELOP.md
%license COPYING
%changelog
* Mon Jul 25 2022 xu_ping <xuping33@h-partners.com> - 2.0.5-1
- Package init

5
rdiff-backup.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/rdiff-backup/rdiff-backup.git
version_control: github
src_repo: rdiff-backup/rdiff-backup
tag_prefix: "^v"
seperator: "."