diff --git a/rdiff-backup-2.0.5.tar.gz b/rdiff-backup-2.0.5.tar.gz new file mode 100644 index 0000000..e83929e Binary files /dev/null and b/rdiff-backup-2.0.5.tar.gz differ diff --git a/rdiff-backup.spec b/rdiff-backup.spec new file mode 100644 index 0000000..fd1eb71 --- /dev/null +++ b/rdiff-backup.spec @@ -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 - 2.0.5-1 +- Package init diff --git a/rdiff-backup.yaml b/rdiff-backup.yaml new file mode 100644 index 0000000..536e90e --- /dev/null +++ b/rdiff-backup.yaml @@ -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: "."