File rdiff-backup.spec of Package rdiff-backup

#
# spec file for package rdiff-backup (Version 1.2.1)
#
# Copyright (c) 2008 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.1
Release:        1
License:        GPL v2 or later
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
%py_requires

%description
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.



Authors:
--------
    Ben Escoto <ben@emerose.org>

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc CHANGELOG COPYING FAQ.html examples.html README
%{_mandir}/*/*
%{_bindir}/*
%{py_sitedir}/rdiff_backup 
%if %{suse_version} > 1010
%{py_sitedir}/*.egg-info
%endif

%changelog
* Wed Aug 27 2008 cthiel@suse.de
- update to version 1.2.1
  * Produce a new binary for Windows which includes the Python for Windows
  Extensions.
  * 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 04 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 09 2007 cthiel@suse.de
- fix ICC warning:  warning #592: variable "return_val" is used before its
  value is set (#232824)
* Tue Jan 09 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 02 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 03 2005 cthiel@suse.de
- use %%py_sitedir macro
* Fri Apr 15 2005 cthiel@suse.de
- initial creation of package (0.12.8)
openSUSE Build Service is sponsored by