1
%define PYTHON_NAME %((rpm -q --quiet python2 && echo python2) || echo python)
4
Summary: Untrusted/encrypted backup using rsync algorithm
8
URL: http://www.nongnu.org/duplicity/
9
Source: http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
11
Group: Applications/Archiving
12
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
requires: librsync >= 0.9.6, %{PYTHON_NAME} >= 2.2, gnupg >= 1.0.6
14
BuildPrereq: %{PYTHON_NAME}-devel >= 2.2, librsync-devel >= 0.9.6
17
Duplicity incrementally backs up files and directory by encrypting
18
tar-format volumes with GnuPG and uploading them to a remote (or
19
local) file server. In theory many remote backends are possible;
20
right now local, ssh/scp, ftp, and rsync backends are written.
21
Because duplicity uses librsync, the incremental archives are space
22
efficient and only record the parts of files that have changed since
23
the last backup. Currently duplicity supports deleted files, full
24
unix permissions, directories, symbolic links, fifos, etc., but not
31
%{PYTHON_NAME} setup.py build
34
%{PYTHON_NAME} setup.py install --prefix=$RPM_BUILD_ROOT/usr
38
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
40
%files -f %{name}.lang
46
%doc CHANGELOG COPYING README
49
* Sat Aug 09 2003 Ben Escoto <bescoto@stanford.edu>
50
- Repackaging for Fedora
51
- autodetect python version
52
- require librsync >=0.9.6
53
* Sun Aug 30 2002 Ben Escoto <bescoto@stanford.edu>