diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-04-06 18:07:41 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-04-06 18:07:41 +0000 |
commit | 8104f33f1083adf0674ace3925d0bfe64c27bba4 (patch) | |
tree | bc9e1b8386acd16327428de10fe60c9f537f60c9 | |
parent | 2e590bf491d41788edb240b792a8bed5131989ff (diff) | |
download | rdiff-backup-8104f33f1083adf0674ace3925d0bfe64c27bba4.tar.gz |
Added "rh7x" spec file and patch. The resulting rpms should install better
on the redhat 7.x series.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@35 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r-- | rdiff-backup/dist/rdiff-backup-rh7x.patch | 8 | ||||
-rw-r--r-- | rdiff-backup/dist/rdiff-backup.rh7x.spec | 47 | ||||
-rw-r--r-- | rdiff-backup/dist/rdiff-backup.spec | 2 |
3 files changed, 56 insertions, 1 deletions
diff --git a/rdiff-backup/dist/rdiff-backup-rh7x.patch b/rdiff-backup/dist/rdiff-backup-rh7x.patch new file mode 100644 index 0000000..bb8a72c --- /dev/null +++ b/rdiff-backup/dist/rdiff-backup-rh7x.patch @@ -0,0 +1,8 @@ +--- rdiff-backup.old Sat Apr 6 10:05:18 2002 ++++ rdiff-backup Sat Apr 6 10:05:25 2002 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + # + # rdiff-backup -- Mirror files while keeping incremental changes + # Version 0.7.1 released March 25, 2002 diff --git a/rdiff-backup/dist/rdiff-backup.rh7x.spec b/rdiff-backup/dist/rdiff-backup.rh7x.spec new file mode 100644 index 0000000..cc72a38 --- /dev/null +++ b/rdiff-backup/dist/rdiff-backup.rh7x.spec @@ -0,0 +1,47 @@ +Summary: Convenient and transparent local/remote incremental mirror/backup +Name: rdiff-backup +Release: 1 +URL: http://www.stanford.edu/~bescoto/rdiff-backup/ +Source: %{name}-%{version}.tar.gz +Copyright: GPL +Group: Applications/Archiving +BuildRoot: %{_tmppath}/%{name}-root +requires: librsync, python2 >= 2.2 + +%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 + +%build + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 + +install -m 755 rdiff-backup $RPM_BUILD_ROOT/usr/bin/rdiff-backup +install -m 644 rdiff-backup.1 $RPM_BUILD_ROOT/usr/share/man/man1/rdiff-backup.1 +%clean + +%files +%defattr(-,root,root) + +/usr/bin/rdiff-backup +/usr/share/man/man1/rdiff-backup.1.gz +%doc CHANGELOG COPYING README FAQ.html + +%changelog +* Sun Nov 4 2001 Ben Escoto <bescoto@stanford.edu> +- Initial RPM + diff --git a/rdiff-backup/dist/rdiff-backup.spec b/rdiff-backup/dist/rdiff-backup.spec index 40f1e27..b77e64b 100644 --- a/rdiff-backup/dist/rdiff-backup.spec +++ b/rdiff-backup/dist/rdiff-backup.spec @@ -1,4 +1,4 @@ -Summary: A backup prog that combines mirroring with incremental backup +Summary: Convenient and transparent local/remote incremental mirror/backup Name: rdiff-backup Release: 1 URL: http://www.stanford.edu/~bescoto/rdiff-backup/ |