X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ca60b701eec16b98db8f906131b51f1be6090d34..da564b51a16259cfc22123ee5134fd7e6398ca1e:/packaging/lsb/rsync.spec diff --git a/packaging/lsb/rsync.spec b/packaging/lsb/rsync.spec index a1f64e28..11df7200 100644 --- a/packaging/lsb/rsync.spec +++ b/packaging/lsb/rsync.spec @@ -1,31 +1,60 @@ -Summary: Program for efficient remote updates of files. +Summary: A program for synchronizing files over a network. Name: rsync -Version: 2.5.1 +Version: 3.0.0pre1 Release: 1 -Copyright: GPL -Group: Applications/Networking -Source: ftp://samba.anu.edu.au/pub/rsync/rsync-2.5.1.tar.gz -URL: http://samba.anu.edu.au/rsync/ -Packager: Andrew Tridgell -BuildRoot: /tmp/rsync +Group: Applications/Internet +Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz +URL: http://rsync.samba.org/ + +Prefix: %{_prefix} +BuildRoot: /var/tmp/%{name}-root +License: GPL %description -rsync is a replacement for rcp that has many more features. +Rsync uses a reliable algorithm to bring remote and host files into +sync very quickly. Rsync is fast because it just sends the differences +in the files over the network instead of sending the complete +files. Rsync is often used as a very powerful mirroring process or +just as a more capable replacement for the rcp command. A technical +report which describes the rsync algorithm is included in this +package. + +%prep +%setup -q -rsync uses the "rsync algorithm" which provides a very fast method for -bringing remote files into sync. It does this by sending just the -differences in the files across the link, without requiring that both -sets of files are present at one of the ends of the link beforehand. +%build +%configure -A technical report describing the rsync algorithm is included with -this package. +make + +%install +rm -rf $RPM_BUILD_ROOT + +%makeinstall + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING README tech_report.tex +%{_prefix}/bin/rsync +%{_mandir}/man1/rsync.1* +%{_mandir}/man5/rsyncd.conf.5* %changelog -* Mon Sept 11 2000 John H Terpstra +* Thu Jan 30 2003 Horst von Brand + Fixed "Sept" date in %changelog here + Use %{_mandir} to point to manpages + Support for compressed manpages (* at end catches them in %files) + Add doc/README-SGML and doc/rsync.sgml to %doc + +* Mon Sep 11 2000 John H Terpstra Changed target paths to be Linux Standards Base compliant * Mon Jan 25 1999 Stefan Hornburg - quoted RPM_OPT_FLAGS for the sake of robustness + quoted RPM_OPT_FLAGS for the sake of robustness + * Mon May 18 1998 Andrew Tridgell reworked for auto-building when I release rsync (tridge@samba.anu.edu.au) @@ -57,28 +86,3 @@ to '%build', removed '%prefix'. rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the previous package(s).) - -%prep -%setup - -%build -./configure --prefix=/usr --mandir=/usr/share/man -make CFLAGS="$RPM_OPT_FLAGS" -strip rsync - -%install -mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/man/{man1,man5}} -install -m755 rsync $RPM_BUILD_ROOT/usr/bin -install -m644 rsync.1 $RPM_BUILD_ROOT/usr/share/man/man1 -install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5 - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%attr(-,root,root) /usr/bin/rsync -%attr(-,root,root) /usr/share/man/man1/rsync.1 -%attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5 -%attr(-,root,root) %doc tech_report.tex -%attr(-,root,root) %doc README -%attr(-,root,root) %doc COPYING