A new user interface for you!

File rdiff-backup.spec of Package rdiff-backup-1.2.8-6.8

# spec file for package rdiff-backup (Version 1.2.8)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

# norootforbuild

Name:           rdiff-backup
BuildRequires:  librsync python-devel
Summary:        Convenient and transparent local/remote incremental mirror/backup
Version:        1.2.8
Release:        6.8
License:        GPLv2+
Url:            http://www.nongnu.org/rdiff-backup/
Source0:        http://savannah.nongnu.org/download/rdiff-backup/%{name}-%{version}.tar.bz2
Group:          Productivity/Archiving/Backup
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

rdiff-backup backs up one directory to another, possibly over a
network. The target directory ends up a copy of the source directory,
but extra reverse diffs are stored in a special subdirectory of that
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 also preserves subdirectories, hard links, dev
files, permissions, uid/gid ownership, and modification times. Also,
rdiff-backup can 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 will be
transmitted. Finally, rdiff-backup is easy to use and settings have
sensical defaults.

    Ben Escoto <ben@emerose.org>

%setup -q

python setup.py build

python setup.py install --prefix=%{_prefix} --root $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/usr/share/doc/rdiff-backup-%{version}


%defattr(-, root, root)
%doc CHANGELOG COPYING FAQ.html examples.html README
%if %{suse_version} > 1010

* Thu Sep  3 2009 poeml@suse.de
- update to 1.2.8
  New in v1.2.8:
  * Improve handling of incorrect permissions on backup repository during restore
    operation. Closes Ubuntu bug #329722. (Andrew Ferguson)
  * Don't crash on zlib errors. Closes Debian bug #518531. (Andrew Ferguson)
  * Make sticky bit warnings quieter while determining file system abilities.
    Closes Savannah bug #25788. (Andrew Ferguson)
  * Fix situation where destination file cannot be opened because of an access
    error. Thanks to Dean Cording for the bug report. (Andrew Ferguson)
  * Fix --compare-hash options on Windows. Thanks to Serge Zub for the fix.
  New in v1.2.7:
  * Don't crash when filesystem can't set ACL. Thanks to Matt Thompson for the bug
    report. (Andrew Ferguson)
  * Properly disable hardlinks by default on Windows.
  * Fix Python 2.2 compatibility. Closes Savannah bug #25529. (Andrew Ferguson)
  * Fix typo which caused failure when checking if another rdiff-backup process is
    running on Windows. Thanks to Ryan Hughes for the bug report. (Andrew Ferguson)
* Fri Feb 13 2009 puzel@suse.cz
- update to 1.2.6
  - too many changes to be listed here, please see
  for details
* Tue Aug 26 2008 cthiel@suse.de
- update to version 1.2.1
  * Produce a new binary for Windows which includes the Python for Windows
  * Disable hardlinks by default when backup source or restore destination
    is on Windows.
  * Properly catch KeyboardInterrupt on Python 2.5.
  * Don't crash if a CacheIndexable tries to clear a non-existent cache
    entry, since the entry must already be cleared.
* Mon Aug  4 2008 cthiel@suse.de
- update to version 1.2.0
  * This is the new stable branch of rdiff-backup, representing almost three
    years of development releases. From the previous development release, this
    release includes two fixes for Unicode issues. From the previous stable
    release, this release features a large number of new features, including
    SHA1 checksums, native Windows support, improved Mac OS X and Cygwin
    support, better filesystem support for HFS+, NFS, SSHFS, SMB, CIFS, AFS,
    NTFS, and FAT32, and better handling of unreadable or pathological file
    permissions. It also includes the previously separate
    'rdiff-backup-statistics' tool.
* Tue Jan  9 2007 cthiel@suse.de
- fix ICC warning:  warning #592: variable "return_val" is used before its
  value is set (#232824)
* Tue Jan  9 2007 cthiel@suse.de
- update to version 1.0.5
  * Fix a traceback due to an off-by-1 error in "--remove-older-than nB".
  * Fix a security violation when restoring from a remote repository.
  * --list-at-time, --list-increments, and --list-increment-sizes should now
    work from a read-only repository.
* Mon Oct  2 2006 cthiel@suse.de
- fix build on older distributions
* Thu Sep 21 2006 cthiel@suse.de
- fix build with python 2.5
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 cthiel@suse.de
- update to version 1.0.4
* Sat Nov 26 2005 cthiel@suse.de
- update to version 1.0.3
* Wed Oct 26 2005 cthiel@suse.de
- update to version 1.0.2
* Tue Sep 13 2005 cthiel@suse.de
- update to version 1.0.1
- specfile cleanup
* Wed Aug 17 2005 cthiel@suse.de
- update to version 1.0.0
* Sun Aug 14 2005 cthiel@suse.de
- use %%py_requires macro
* Tue May  3 2005 cthiel@suse.de
- use %%py_sitedir macro
* Fri Apr 15 2005 cthiel@suse.de
- initial creation of package (0.12.8)