More NEWS updates and improvements.
[rsync/rsync.git] / packaging / lsb / rsync.spec
CommitLineData
4cf94b8a 1Summary: A fast, versatile, remote (and local) file-copying tool
0b25efc1 2Name: rsync
4cb6197b 3Version: 3.0.0
0b25efc1 4Release: 1
2da9dda1 5Group: Applications/Internet
c085ece6
WD
6Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz
7Source1: http://rsync.samba.org/ftp/rsync/rsync-patches-%{version}.tar.gz
2da9dda1
WD
8URL: http://rsync.samba.org/
9
10Prefix: %{_prefix}
11BuildRoot: /var/tmp/%{name}-root
12License: GPL
0b25efc1 13
14%description
4cf94b8a
WD
15Rsync is a fast and extraordinarily versatile file copying tool. It can
16copy locally, to/from another host over any remote shell, or to/from a
17remote rsync daemon. It offers a large number of options that control
18every aspect of its behavior and permit very flexible specification of the
19set of files to be copied. It is famous for its delta-transfer algorithm,
20which reduces the amount of data sent over the network by sending only the
21differences between the source files and the existing files in the
22destination. Rsync is widely used for backups and mirroring and as an
23improved copy command for everyday use.
2da9dda1
WD
24
25%prep
c085ece6 26# Choose one -- setup source only, or setup source + rsync-patches:
2da9dda1 27%setup -q
c085ece6
WD
28#%setup -q -b1
29
30# If you you used "%setup -q -b1", choose the patches you wish to apply:
31#patch -p1 <patches/acls.diff
32#patch -p1 <patches/xattrs.diff
33#patch -p1 <patches/checksum-reading.diff
2da9dda1
WD
34
35%build
36%configure
37
38make
0b25efc1 39
2da9dda1
WD
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%makeinstall
44
c085ece6
WD
45mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
46install -m 644 packaging/lsb/rsync.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/rsync
47
2da9dda1
WD
48%clean
49rm -rf $RPM_BUILD_ROOT
0b25efc1 50
2da9dda1
WD
51%files
52%defattr(-,root,root)
53%doc COPYING README tech_report.tex
c085ece6 54%config(noreplace) /etc/xinetd.d/rsync
2da9dda1
WD
55%{_prefix}/bin/rsync
56%{_mandir}/man1/rsync.1*
57%{_mandir}/man5/rsyncd.conf.5*
0b25efc1 58
59%changelog
4cb6197b
WD
60* Sat Mar 01 2008 Wayne Davison <wayned@samba.org>
61Released 3.0.0.
c085ece6
WD
62
63* Fri Mar 21 2008 Wayne Davison <wayned@samba.org>
64Added installation of /etc/xinetd.d/rsync file and some commented-out
65lines that demonstrate how to use the rsync-patches tar file.