Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37543559
en ru br
ALT Linux repos
S:2.2.5-alt1
5.0: 1.2.8-alt0.M50.1
4.1: 1.0.5-alt1.1
4.0: 1.0.5-alt1

Group :: File tools
RPM: rdiff-backup

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: rdiff-backup
Version: 2.2.5
Release: alt1

Summary: Backup software

License: GPL
Group: File tools
Url: http://www.nongnu.org/rdiff-backup/

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/rdiff-backup/rdiff-backup/archive/v%version.tar.gz

Source: %name-%version.tar

# from http://wiki.rdiff-backup.org/wiki/index.php/BashCompletion

Source1: rdiff-backup.bash_completion

BuildRequires(pre): rpm-build-python3

BuildRequires: python3-module-setuptools_scm
BuildRequires: librsync-devel >= 0.9.6
# for man
BuildRequires: /usr/bin/asciidoctor

%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
%setup
#patch1 -p1
#patch2 -p1
#patch3 -p1

%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build

%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
rm -rfv %_docdir/%name/Windows-*.md

%files
%_docdir/%name/
%_bindir/rdiff-backup
%_bindir/rdiff-backup-statistics
%_bindir/rdiff-backup-delete
%_man1dir/rdiff-backup*
%python3_sitelibdir/rdiffbackup/
%python3_sitelibdir/rdiff_backup/
%python3_sitelibdir/*.egg-info
%_datadir/bash-completion/completions/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin