| 1 | Summary: Program for efficient remote updates of files. |
| 2 | Name: rsync |
| 3 | Version: 2.6.3 |
| 4 | Release: 1 |
| 5 | Copyright: GPL |
| 6 | Group: Applications/Networking |
| 7 | Source: ftp://samba.anu.edu.au/pub/rsync/rsync-%{version}.tar.gz |
| 8 | URL: http://samba.anu.edu.au/rsync/ |
| 9 | Packager: Andrew Tridgell <tridge@samba.anu.edu.au> |
| 10 | BuildRoot: /tmp/rsync |
| 11 | |
| 12 | %description |
| 13 | rsync is a replacement for rcp that has many more features. |
| 14 | |
| 15 | rsync uses the "rsync algorithm" which provides a very fast method for |
| 16 | bringing remote files into sync. It does this by sending just the |
| 17 | differences in the files across the link, without requiring that both |
| 18 | sets of files are present at one of the ends of the link beforehand. |
| 19 | |
| 20 | A technical report describing the rsync algorithm is included with |
| 21 | this package. |
| 22 | |
| 23 | %changelog |
| 24 | * Thu Jan 30 2003 Horst von Brand <vonbrand@inf.utfsm.cl> |
| 25 | Fixed "Sept" date in %changelog here |
| 26 | Use %{_mandir} to point to manpages |
| 27 | Support for compressed manpages (* at end catches them in %files) |
| 28 | Add doc/README-SGML and doc/rsync.sgml to %doc |
| 29 | |
| 30 | * Mon Sep 11 2000 John H Terpstra <jht@turbolinux.com> |
| 31 | Changed target paths to be Linux Standards Base compliant |
| 32 | |
| 33 | * Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de> |
| 34 | quoted RPM_OPT_FLAGS for the sake of robustness |
| 35 | |
| 36 | * Mon May 18 1998 Andrew Tridgell <tridge@samba.anu.edu.au> |
| 37 | reworked for auto-building when I release rsync (tridge@samba.anu.edu.au) |
| 38 | |
| 39 | * Sat May 16 1998 John H Terpstra <jht@aquasoft.com.au> |
| 40 | Upgraded to Rsync 2.0.6 |
| 41 | -new feature anonymous rsync |
| 42 | |
| 43 | * Mon Apr 6 1998 Douglas N. Arnold <dna@math.psu.edu> |
| 44 | |
| 45 | Upgrade to rsync version 1.7.2. |
| 46 | |
| 47 | * Sun Mar 1 1998 Douglas N. Arnold <dna@math.psu.edu> |
| 48 | |
| 49 | Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin. |
| 50 | Changes from 1.6.3-2 packaging: added latex and dvips commands |
| 51 | to create tech_report.ps. |
| 52 | |
| 53 | * Mon Aug 25 1997 John A. Martin <jam@jamux.com> |
| 54 | |
| 55 | Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there |
| 56 | was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm |
| 57 | showing no packager nor signature but giving |
| 58 | "Source RPM: rsync-1.6.3-1.src.rpm". |
| 59 | |
| 60 | Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip |
| 61 | to '%build', removed '%prefix'. |
| 62 | |
| 63 | * Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk> |
| 64 | |
| 65 | rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the |
| 66 | previous package(s).) |
| 67 | |
| 68 | %prep |
| 69 | %setup |
| 70 | |
| 71 | %build |
| 72 | ./configure --prefix=/usr --mandir=%{_mandir} |
| 73 | make CFLAGS="$RPM_OPT_FLAGS" |
| 74 | strip rsync |
| 75 | |
| 76 | %install |
| 77 | mkdir -p $RPM_BUILD_ROOT/usr/bin |
| 78 | mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{1,5} |
| 79 | install -m755 rsync $RPM_BUILD_ROOT/usr/bin |
| 80 | install -m644 rsync.1 $RPM_BUILD_ROOT/%{_mandir}/man1 |
| 81 | install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5 |
| 82 | |
| 83 | %clean |
| 84 | rm -rf $RPM_BUILD_ROOT |
| 85 | |
| 86 | %files |
| 87 | %attr(-,root,root) /usr/bin/rsync |
| 88 | %attr(-,root,root) %{_mandir}/man1/rsync.1* |
| 89 | %attr(-,root,root) %{_mandir}/man5/rsyncd.conf.5* |
| 90 | %attr(-,root,root) %doc tech_report.tex |
| 91 | %attr(-,root,root) %doc README |
| 92 | %attr(-,root,root) %doc COPYING |
| 93 | %attr(-,root,root) %doc doc/README-SGML doc/rsync.sgml |