a79e2bd085d4f0cc6dbebe05d08405f619e6a2dd
[rsync.git] / packaging / redhat / 7.1 / rsync.spec
1 Summary: Program for efficient remote updates of files.
2 Name: rsync
3 Version: 2.5.6
4 Release: 1
5 Copyright: GPL
6 Group: Applications/Networking
7 Source: ftp://samba.anu.edu.au/pub/rsync/rsync-2.5.6.tar.gz
8 URL: http://samba.anu.edu.au/rsync/
9 Packager: Andrew Tridgell <tridge@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 * Wed Jan 29 2003 Paul Green <paulg@samba.org>
25   Restored changes accidentally removed by David Dykstra.
26
27 * Tue Jan 28 2003 David Dykstra <dwd@samba.org>
28   Bumped version number to 2.5.6.
29
30 * Mon Sep 11 2000 John H Terpstra <jht@turbolinux.com>
31   Changed target paths to be Linux Standards Base compliant
32
33 * Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de>
34   quoted RPM_OPT_FLAGS for the sake of robustness  
35 * Mon May 18 1998 Andrew Tridgell <tridge@samba.anu.edu.au>
36   reworked for auto-building when I release rsync (tridge@samba.anu.edu.au)
37
38 * Sat May 16 1998 John H Terpstra <jht@aquasoft.com.au>
39   Upgraded to Rsync 2.0.6
40     -new feature anonymous rsync
41
42 * Mon Apr  6 1998 Douglas N. Arnold <dna@math.psu.edu>
43
44 Upgrade to rsync version 1.7.2.
45
46 * Sun Mar  1 1998 Douglas N. Arnold <dna@math.psu.edu>
47
48 Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin.
49 Changes from 1.6.3-2 packaging: added latex and dvips commands
50 to create tech_report.ps.
51
52 * Mon Aug 25 1997 John A. Martin <jam@jamux.com>
53
54 Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
55 was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
56 showing no packager nor signature but giving 
57 "Source RPM: rsync-1.6.3-1.src.rpm".
58
59 Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
60 to '%build', removed '%prefix'.
61
62 * Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
63
64 rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the
65 previous package(s).)
66
67 %prep
68 %setup
69
70 %build
71 ./configure --prefix=/usr --man-dir=/usr/share/man
72 make CFLAGS="$RPM_OPT_FLAGS"
73 strip rsync
74
75 %install
76 mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/man/{man1,man5}}
77 install -m755 rsync $RPM_BUILD_ROOT/usr/bin
78 install -m644 rsync.1* $RPM_BUILD_ROOT/usr/share/man/man1
79 install -m644 rsyncd.conf.5* $RPM_BUILD_ROOT/usr/share/man/man5
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %attr(-,root,root) /usr/bin/rsync
86 %attr(-,root,root) /usr/share/man/man1/rsync.1*
87 %attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5*
88 %attr(-,root,root) %doc tech_report.tex
89 %attr(-,root,root) %doc README
90 %attr(-,root,root) %doc COPYING