updated so I can auto-build rsync packages
[rsync/rsync.git] / packaging / redhat / 5.0 / rsync.spec.tmpl
CommitLineData
1c31ffa9 1Summary: Program for efficient remote updates of files.
2Name: rsync
3Version: PVERSION
4Release: PRELEASE
5Copyright: GPL
6Group: Applications/Networking
5d58c8d6 7Source: ftp://samba.anu.edu.au/pub/rsync/rsync-PVERSION.tar.gz
1c31ffa9 8URL: http://samba.anu.edu.au/rsync/
5d58c8d6 9Packager: Andrew Tridgell <tridge@samba.anu.edu.au>
1c31ffa9 10BuildRoot: /tmp/rsync
11
12%description
13rsync is a replacement for rcp that has many more features.
14
15rsync uses the "rsync algorithm" which provides a very fast method for
16bringing remote files into sync. It does this by sending just the
17differences in the files across the link, without requiring that both
18sets of files are present at one of the ends of the link beforehand.
19
20A technical report describing the rsync algorithm is included with
21this package.
22
23%changelog
5d58c8d6
AT
24* Mon May 18 1998
25 reworked for auto-building when I release rsync (tridge@samba.anu.edu.au)
26
1c31ffa9 27* Sat May 16 1998 John H Terpstra <jht@aquasoft.com.au>
28 Upgraded to Rsync 2.0.6
29 -new feature anonymous rsync
30
31* Mon Apr 6 1998 Douglas N. Arnold <dna@math.psu.edu>
32
33Upgrade to rsync version 1.7.2.
34
35* Sun Mar 1 1998 Douglas N. Arnold <dna@math.psu.edu>
36
37Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin.
38Changes from 1.6.3-2 packaging: added latex and dvips commands
39to create tech_report.ps.
40
41* Mon Aug 25 1997 John A. Martin <jam@jamux.com>
42
43Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
44was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
45showing no packager nor signature but giving
46"Source RPM: rsync-1.6.3-1.src.rpm".
47
48Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
49to '%build', removed '%prefix'.
50
51* Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
52
53rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the
54previous package(s).)
55
56%prep
57%setup
58
59%build
60./configure --prefix=/usr
61make CFLAGS=$RPM_OPT_FLAGS
62strip rsync
1c31ffa9 63
64%install
65mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/{man1,man5}}
66install -m755 rsync $RPM_BUILD_ROOT/usr/bin
67install -m644 rsync.1 $RPM_BUILD_ROOT/usr/man/man1
68install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/man/man5
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%attr(-,root,root) /usr/bin/rsync
75%attr(-,root,root) /usr/man/man1/rsync.1
76%attr(-,root,root) /usr/man/man5/rsyncd.conf.5
1c31ffa9 77%attr(-,root,root) %doc tech_report.tex
78%attr(-,root,root) %doc README
79%attr(-,root,root) %doc COPYING