]> git.pld-linux.org Git - packages/rsync.git/blame - rsync.spec
- added -q %setup parameter,
[packages/rsync.git] / rsync.spec
CommitLineData
f6135b0e 1Summary: Program for efficient remote updates of files.
2Name: rsync
3Version: 2.1.1
4Release: 1
5Copyright: GPL
6Group: Applications/Networking
7Source: ftp://samba.anu.edu.au/pub/rsync/%{name}-%{version}.tar.gz
8URL: http://samba.anu.edu.au/rsync
9BuildRoot: /tmp/%{name}-%{version}-root
10
11%description
12rsync is a replacement for rcp that has many more features.
13
14rsync uses the "rsync algorithm" which provides a very fast method for
15bringing remote files into sync. It does this by sending just the
16differences in the files across the link, without requiring that both
17sets of files are present at one of the ends of the link beforehand.
18
19A technical report describing the rsync algorithm is included with
20this package.
21
22%prep
23%setup -q
24
25%build
26./configure --prefix=/usr
27make CFLAGS=$RPM_OPT_FLAGS
28strip rsync
29latex tech_report
30dvips tech_report -o
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT/usr/{bin,man/man{1,5}}
35install rsync $RPM_BUILD_ROOT/usr/bin
36install rsync.1 $RPM_BUILD_ROOT/usr/man/man1
37install rsyncd.conf.5 $RPM_BUILD_ROOT/usr/man/man5
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43
44%attr(644, root, root, 755) %doc tech_report.ps README
45%attr(755, root, root) /usr/bin/rsync
46%attr(644, root, root) /usr/man/man[15]/*
47
48%changelog
49