Here's a Redhat .spec file for 2.5.4

Jason Haar Jason.Haar at
Mon Mar 25 09:44:28 EST 2002

The rsync.spec file within the rsync tar package is still broken, so here's
a working rsync.spec file.

Simply (as root) copy rsync-2.5.4.tar.gz into /usr/src/redhat/SOURCES then
run "rpm -ba rsync.spec" to produce rsync-2.5.4-1.i386.rpm


Jason Haar

Information Security Manager
Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
-------------- next part --------------
Summary: Program for efficient remote updates of files.
Name: rsync
Version: 2.5.4
Release: 1
Copyright: GPL
Group: Applications/Networking
Packager: Andrew Tridgell <tridge at>
BuildRoot: /tmp/rsync

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. 

* Mon Sep 11 2000 John H Terpstra <jht at>
  Changed target paths to be Linux Standards Base compliant

* Mon Jan 25 1999 Stefan Hornburg <racke at>
  quoted RPM_OPT_FLAGS for the sake of robustness  
* Mon May 18 1998 Andrew Tridgell <tridge at>
  reworked for auto-building when I release rsync (tridge at

* Sat May 16 1998 John H Terpstra <jht at>
  Upgraded to Rsync 2.0.6
    -new feature anonymous rsync

* Mon Apr  6 1998 Douglas N. Arnold <dna at>

Upgrade to rsync version 1.7.2.

* Sun Mar  1 1998 Douglas N. Arnold <dna at>

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

* Mon Aug 25 1997 John A. Martin <jam at>

Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
was an
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 <miked at>

rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the
previous package(s).)


./configure --prefix=/usr --mandir=/usr/share/man
strip rsync

mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/man/{man1,man5}}
install -m755 rsync $RPM_BUILD_ROOT/usr/bin
install -m644 rsync.1 $RPM_BUILD_ROOT/usr/share/man/man1
install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5


%attr(-,root,root) /usr/bin/rsync
%attr(-,root,root) /usr/share/man/man1/rsync.1*
%attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5*
%attr(-,root,root) %doc tech_report.tex
%attr(-,root,root) %doc README
%attr(-,root,root) %doc COPYING

More information about the rsync mailing list