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