From 095efec1d68de043e701c8cd750c62c675d85257 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 14 Aug 2001 02:24:09 +0000 Subject: [PATCH] Spec file from Jason Haar that works on RedHat 7.1. Not tested by me yet. --- packaging/redhat/7.1/rsync.spec | 81 +++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 packaging/redhat/7.1/rsync.spec diff --git a/packaging/redhat/7.1/rsync.spec b/packaging/redhat/7.1/rsync.spec new file mode 100644 index 00000000..320cfb66 --- /dev/null +++ b/packaging/redhat/7.1/rsync.spec @@ -0,0 +1,81 @@ +Summary: Program for efficient remote updates of files. +Name: rsync +Version: 2.4.7pre1 +Release: 1 +Copyright: GPL +Group: Applications/Networking +Source: ftp://samba.anu.edu.au/pub/rsync/rsync-2.4.7pre1.tar.bz2 +URL: http://samba.anu.edu.au/rsync/ +Packager: Andrew Tridgell +BuildRoot: /tmp/rsync + +%description +rsync is a replacement for rcp that has many more features. + +rsync uses the "rsync algorithm" which provides a very fast method for +bringing remote files into sync. It does this by sending just the +differences in the files across the link, without requiring that both +sets of files are present at one of the ends of the link beforehand. + +A technical report describing the rsync algorithm is included with +this package. + +%changelog +* Mon Jan 25 1999 Stefan Hornburg + quoted RPM_OPT_FLAGS for the sake of robustness +* Mon May 18 1998 Andrew Tridgell + reworked for auto-building when I release rsync (tridge@samba.anu.edu.au) + +* Sat May 16 1998 John H Terpstra + Upgraded to Rsync 2.0.6 + -new feature anonymous rsync + +* Mon Apr 6 1998 Douglas N. Arnold + +Upgrade to rsync version 1.7.2. + +* Sun Mar 1 1998 Douglas N. Arnold + +Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin. +Changes from 1.6.3-2 packaging: added latex and dvips commands +to create tech_report.ps. + +* Mon Aug 25 1997 John A. Martin + +Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there +was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm +showing no packager nor signature but giving +"Source RPM: rsync-1.6.3-1.src.rpm". + +Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip +to '%build', removed '%prefix'. + +* Thu Apr 10 1997 Michael De La Rue + +rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the +previous package(s).) + +%prep +%setup + +%build +./configure --prefix=/usr +make CFLAGS="$RPM_OPT_FLAGS" +strip rsync + +%install +mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/{man1,man5}} +install -m755 rsync $RPM_BUILD_ROOT/usr/bin +install -m644 rsync.1* $RPM_BUILD_ROOT/usr/man/man1 +install -m644 rsyncd.conf.5* $RPM_BUILD_ROOT/usr/man/man5 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%attr(-,root,root) /usr/bin/rsync +%attr(-,root,root) /usr/man/man1/rsync.1* +%attr(-,root,root) /usr/man/man5/rsyncd.conf.5* +%attr(-,root,root) %doc tech_report.tex +%attr(-,root,root) %doc README +%attr(-,root,root) %doc COPYING -- 2.34.1