Summary: A program for synchronizing files over a network. Name: rsync Version: 2.5.2 Release: 1 Group: Applications/Internet Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz Prefix: %{_prefix} BuildRoot: /var/tmp/%{name}-root Copyright: GPL %ifarch ia64 %define DEFCC cc %else %define DEFCC cc %endif %description Rsync uses a quick and reliable algorithm to very quickly bring remote and host files into sync. 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. Install rsync if you need a powerful mirroring program. %prep %setup -q %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if test "X$CC" != "Xgcc" then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` export CFLAGS="$RPM_OPT_FLAGS" fi export CFLAGS="$RPM_OPT_FLAGS -D_LARGE_FILES" %configure make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix}/bin mkdir -p $RPM_BUILD_ROOT%{prefix}/man/man1 strip rsync 2>/dev/null || : make prefix=$RPM_BUILD_ROOT%{prefix} bindir=$RPM_BUILD_ROOT%{prefix}/bin mandir=$RPM_BUILD_ROOT%{prefix}/man install (cd $RPM_BUILD_ROOT mkdir -p usr/bin cd usr/bin ln -sf ../..%{_prefix}/bin/* . ) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING README tech_report.tex %{_prefix}/bin/rsync /usr/bin/rsync %{_prefix}/man/man1/rsync.1* %{_prefix}/man/man5/rsyncd.conf.5* %changelog * Mon Feb 04 2002 David Clissold - Update to version 2.5.2. Inclodes a reported security fix. * Wed Jan 30 2002 David Clissold - Update to version 2.5.1 * Tue Apr 03 2001 Marc Stephenson - Enable files >2GB * Tue Mar 20 2001 Marc Stephenson - Rebuild against new shared objects - Use default compiler * Fri Oct 27 2000 pkgmgr - Modify for AIX Freeware distribution * Tue Mar 7 2000 Bill Nottingham - fix maxdelete behavior so it isn't sent to older servers. * Mon Jan 31 2000 Jeff Johnson - update to 2.4.1. * Fri Dec 17 1999 Bill Nottingham - update to 2.3.2 * Sat Jun 12 1999 Jeff Johnson - add "max. delete" patch to limit damage when server is hosed. * Wed Apr 07 1999 Bill Nottingham - update to 2.3.1. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Tue Mar 16 1999 Jeff Johnson - update to 2.3.0. * Sat Mar 13 1999 Jeff Johnson - update to 2.3.0 beta. * Fri Dec 18 1998 Bill Nottingham - update to 2.2.1 * Thu Sep 10 1998 Jeff Johnson - updated to 2.1.1 * Mon Aug 17 1998 Erik Troan - updated to 2.1.0 * Thu Aug 06 1998 Erik Troan - buildrooted and attr-rophied - removed tech-report.ps; the .tex should be good enough * Mon Aug 25 1997 John A. Martin - Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm showing no packager nor signature but giving "Source RPM: rsync-1.6.3-1.src.rpm". - Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip to '%build', removed '%prefix'. * Thu Apr 10 1997 Michael De La Rue - rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the previous package(s).)