X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4220e1098e4db02e069562ccc834730417e4edd1..325c243210cdb3e8467e78f673043661f86fdf74:/packaging/lsb/rsync.spec diff --git a/packaging/lsb/rsync.spec b/packaging/lsb/rsync.spec index 1af35708..0472e824 100644 --- a/packaging/lsb/rsync.spec +++ b/packaging/lsb/rsync.spec @@ -1,93 +1,71 @@ -Summary: Program for efficient remote updates of files. +Summary: A fast, versatile, remote (and local) file-copying tool Name: rsync -Version: 2.6.1 +Version: 3.0.1 +%define fullversion %{version} Release: 1 -Copyright: GPL -Group: Applications/Networking -Source: ftp://samba.anu.edu.au/pub/rsync/rsync-%{version}.tar.gz -URL: http://samba.anu.edu.au/rsync/ -Packager: Andrew Tridgell -BuildRoot: /tmp/rsync +%define srcdir src +Group: Applications/Internet +Source0: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-%{fullversion}.tar.gz +Source1: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-patches-%{fullversion}.tar.gz +URL: http://rsync.samba.org/ -%description -rsync is a replacement for rcp that has many more features. - -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. - -A technical report describing the rsync algorithm is included with -this package. - -%changelog -* 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 - -* Mon May 18 1998 Andrew Tridgell - reworked for auto-building when I release rsync (tridge@samba.anu.edu.au) - -* Sat May 16 1998 John H Terpstra - Upgraded to Rsync 2.0.6 - -new feature anonymous rsync - -* Mon Apr 6 1998 Douglas N. Arnold - -Upgrade to rsync version 1.7.2. - -* Sun Mar 1 1998 Douglas N. Arnold +Prefix: %{_prefix} +BuildRoot: /var/tmp/%{name}-root +License: GPL -Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin. -Changes from 1.6.3-2 packaging: added latex and dvips commands -to create tech_report.ps. +%description +Rsync is a fast and extraordinarily versatile file copying tool. It can +copy locally, to/from another host over any remote shell, or to/from a +remote rsync daemon. It offers a large number of options that control +every aspect of its behavior and permit very flexible specification of the +set of files to be copied. It is famous for its delta-transfer algorithm, +which reduces the amount of data sent over the network by sending only the +differences between the source files and the existing files in the +destination. Rsync is widely used for backups and mirroring and as an +improved copy command for everyday use. -* Mon Aug 25 1997 John A. Martin +%prep +# Choose one -- setup source only, or setup source + rsync-patches: +%setup -q -n rsync-%{fullversion} +#%setup -q -b1 -n rsync-%{fullversion} -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". +# If you you used "%setup -q -b1", choose the patches you wish to apply: +#patch -p1 +make -rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the -previous package(s).) +%install +rm -rf $RPM_BUILD_ROOT -%prep -%setup +%makeinstall -%build -./configure --prefix=/usr --mandir=%{_mandir} -make CFLAGS="$RPM_OPT_FLAGS" -strip rsync +mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d +install -m 644 packaging/lsb/rsync.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/rsync -%install -mkdir -p $RPM_BUILD_ROOT/usr/bin -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{1,5} -install -m755 rsync $RPM_BUILD_ROOT/usr/bin -install -m644 rsync.1 $RPM_BUILD_ROOT/%{_mandir}/man1 -install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5 +#install -p -m 755 support/rsyncdb $RPM_BUILD_ROOT/usr/bin/rsyncdb %clean rm -rf $RPM_BUILD_ROOT %files -%attr(-,root,root) /usr/bin/rsync -%attr(-,root,root) %{_mandir}/man1/rsync.1* -%attr(-,root,root) %{_mandir}/man5/rsyncd.conf.5* -%attr(-,root,root) %doc tech_report.tex -%attr(-,root,root) %doc README -%attr(-,root,root) %doc COPYING -%attr(-,root,root) %doc doc/README-SGML doc/rsync.sgml +%defattr(-,root,root) +%doc COPYING README tech_report.tex +%config(noreplace) /etc/xinetd.d/rsync +%{_prefix}/bin/rsync* +%{_mandir}/man1/rsync.1* +%{_mandir}/man5/rsyncd.conf.5* + +%changelog +* Thu Apr 03 2008 Wayne Davison +Released 3.0.1. + +* Fri Mar 21 2008 Wayne Davison +Added installation of /etc/xinetd.d/rsync file and some commented-out +lines that demonstrate how to use the rsync-patches tar file.