Summary: A program for synchronizing files over a network. Name: rsync Version: 3.0.6 Release: 2 Group: Applications/Internet URL: http://rsync.samba.org Source0: ftp://rsync.samba.org/pub/%{name}/%{name}-%{version}.tar.gz Source1: ftp://rsync.samba.org/pub/%{name}/%{name}-%{version}.tar.gz.asc Source2: ftp://rsync.samba.org/pub/%{name}/%{name}-patches-%{version}.tar.gz Source3: ftp://rsync.samba.org/pub/%{name}/%{name}-patches-%{version}.tar.gz.asc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root License: GPLv3+ BuildRequires: patch make libiconv >= 1.14-2 Requires: popt libiconv >= 1.14-2 %description 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 export PATH=/opt/freeware/bin:$PATH %setup -q -b 2 # Needed for compatibility with previous patched rsync versions patch -p1 -i patches/acls.diff patch -p1 -i patches/xattrs.diff %build export CC="cc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --enable-largefile \ --enable-acl-support # manually remove MKSTEMP from config.h perl -i.bak -pe 's/#define HAVE_SECURE_MKSTEMP 1/\/* #undef HAVE_SECURE_MKSTEMP *\//' config.h gmake %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} gmake DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc COPYING README tech_report.tex %{_bindir}/* %{_mandir}/man?/* /usr/bin/* %changelog * Mon Jun 28 2010 Michael Perzl - 3.0.6-2 - fixed large file problem (files > 2GB) for 32-bit version of rsync * Wed Jun 24 2009 Michael Perzl - 3.0.6-1 - updated to version 3.0.6 * Tue Jan 20 2009 Michael Perzl - 3.0.5-1 - updated to version 3.0.5 * Tue Sep 23 2008 Michael Perzl - 3.0.4-1 - updated to version 3.0.4 * Wed Aug 13 2008 Michael Perzl - 3.0.3-1 - updated to version 3.0.3 * Wed Jul 09 2008 Michael Perzl - 3.0.2-2 - fixed large file support * Wed Apr 23 2008 Michael Perzl - 3.0.2-1 - updated to version 3.0.2 * Mon Mar 24 2008 Michael Perzl - 3.0.0-1 - updated to version 3.0.0 * Sun Mar 23 2008 Michael Perzl - 2.6.9-1 - first version for AIX V5.1 and higher