The sender no longer removes the duplicate names from the file list -- we
[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
e2bea9eb
PG
24* Thu Jan 30 2003 Horst von Brand <vonbrand@inf.utfsm.cl>
25 Use %{_mandir} to point to manpages
26 Support for compressed manpages (* at end catches them in %files)
27 Add doc/README-SGML and doc/rsync.sgml to %doc
28
29* Mon Sep 11 2000 John H Terpstra <jht@turbolinux.com>
30 Changed target paths to be Linux Standards Base compliant
31
dffba35e 32* Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de>
e2bea9eb
PG
33 quoted RPM_OPT_FLAGS for the sake of robustness
34
fdee2ba3 35* Mon May 18 1998 Andrew Tridgell <tridge@samba.anu.edu.au>
5d58c8d6
AT
36 reworked for auto-building when I release rsync (tridge@samba.anu.edu.au)
37
1c31ffa9 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
44Upgrade to rsync version 1.7.2.
45
46* Sun Mar 1 1998 Douglas N. Arnold <dna@math.psu.edu>
47
48Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin.
49Changes from 1.6.3-2 packaging: added latex and dvips commands
50to create tech_report.ps.
51
52* Mon Aug 25 1997 John A. Martin <jam@jamux.com>
53
54Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
55was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
56showing no packager nor signature but giving
57"Source RPM: rsync-1.6.3-1.src.rpm".
58
59Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
60to '%build', removed '%prefix'.
61
62* Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
63
64rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the
65previous package(s).)
66
67%prep
68%setup
69
70%build
e2bea9eb 71./configure --prefix=/usr --mandir=%{_mandir}
dffba35e 72make CFLAGS="$RPM_OPT_FLAGS"
1c31ffa9 73strip rsync
1c31ffa9 74
75%install
e2bea9eb
PG
76mkdir -p $RPM_BUILD_ROOT/usr/bin
77mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{1,5}
1c31ffa9 78install -m755 rsync $RPM_BUILD_ROOT/usr/bin
e2bea9eb
PG
79install -m644 rsync.1 $RPM_BUILD_ROOT/%{_mandir}/man1
80install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5
1c31ffa9 81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%attr(-,root,root) /usr/bin/rsync
e2bea9eb
PG
87%attr(-,root,root) %{_mandir}/man1/rsync.1*
88%attr(-,root,root) %{_mandir}/man5/rsyncd.conf.5*
1c31ffa9 89%attr(-,root,root) %doc tech_report.tex
90%attr(-,root,root) %doc README
91%attr(-,root,root) %doc COPYING
e2bea9eb 92%attr(-,root,root) %doc doc/README-SGML doc/rsync.sgml