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