File rsnapshot.spec of Package rsnapshot
#
# spec file for package rsnapshot (Version 1.3.1)
#
# Copyright (c) 2009 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: rsnapshot
Url: http://www.rsnapshot.org/
License: GPL-2.0+
Group: Productivity/Archiving/Backup
Version: 1.3.1
Release: 5
Summary: Backup program using hardlinks
Source: %name-%version.tar.bz2
Patch1: rsnapshot-config.patch
Patch2: rsnapshot-1.3.1-no_usr_local.patch
BuildRequires: perl rsync
Requires: perl rsync
AutoReqProv: on
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
rsnapshot is a filesystem snapshot utility for making backups of local
and remote systems. Using rsync and hard links, it is possible to keep
multiple, full backups instantly available. The disk space required is
just a little more than the space of one full backup, plus
incrementals. Depending on your configuration, it is quite possible to
set up in just a few minutes. Files can be restored by the users who
own them, without the root user getting involved. There are no tapes to
change, so once it's set up, you may never need to think about it
again.
Authors:
--------
Anthony Ettinger <chovy@users.sourceforge.net>
David Keegel <djk20@users.sourceforge.net>
David Cantrell <drhyde@users.sourceforge.net>
Nathan Rosenquist <scubaninja@users.sourceforge.net>
Teodor Zlatanov <tzz@users.sourceforge.net>
%prep
%setup -q
%patch1
%patch2
%build
%configure
%__make
%__make test
%install
%makeinstall
%__install -d "%{buildroot}/%{_sysconfdir}"
%__install -m 644 rsnapshot.conf.default "%{buildroot}/%{_sysconfdir}/rsnapshot.conf.default"
%__install -m 600 rsnapshot.conf.default "%{buildroot}/%{_sysconfdir}/rsnapshot.conf"
%clean
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && %__rm -rf "%{buildroot}";
%files
%defattr(-,root,root)
%{_bindir}/rsnapshot
%{_bindir}/rsnapshot-diff
%config(noreplace) %{_sysconfdir}/rsnapshot.conf
%config %{_sysconfdir}/rsnapshot.conf.default
%doc AUTHORS COPYING ChangeLog README INSTALL TODO
%{_mandir}/man1/rsnapshot.1.gz
%{_mandir}/man1/rsnapshot-diff.1.gz
%changelog
* Thu Apr 16 2009 ro@suse.de
- buildfix: refresh patches
* Mon Sep 08 2008 hvogel@suse.de
- Update to 1.3.1
* Fix help message mixup in lines between -c and -t
* Allow named pipe as logfile
* Include rsnapshot-copy script
* Allow `backticks` in include_conf.
* hopefully fix bug with link_dest not being used on second and
later backups when you have link_dest 1 and sync_first 1
* Added stop_on_stale_lockfile
* Added multi-line config options
* The 'interval' config option is now called 'retain'
* Fri Aug 17 2007 guru@unixtech.be
- added call to make test
- now requires perl-lchown
- changed sync_first configuration to default (0) instead of 1: http://www.linux-club.de/ftopic78019.html
* Wed May 23 2007 mskibbe@suse.de
- fix path to binary in man and info pages
* Mon Jan 15 2007 mskibbe@suse.de
- update to version 1.3.0 which
o fix some bugs
o includes some new and updated man-pages
o includes more examples
o Change "Perhaps this is not GNU cp?" error message
* Fri Jul 07 2006 mskibbe@suse.de
- create package