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