⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsync.spec

📁 Rsync 3.0.5 source code
💻 SPEC
字号:
Summary: A fast, versatile, remote (and local) file-copying toolName: rsyncVersion: 3.0.5%define fullversion %{version}Release: 1%define srcdir srcGroup: Applications/InternetSource0: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-%{fullversion}.tar.gz#Source1: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-patches-%{fullversion}.tar.gzURL: http://rsync.samba.org/Prefix: %{_prefix}BuildRoot: /var/tmp/%{name}-rootLicense: GPL%descriptionRsync is a fast and extraordinarily versatile file copying tool.  It cancopy locally, to/from another host over any remote shell, or to/from aremote rsync daemon.  It offers a large number of options that controlevery aspect of its behavior and permit very flexible specification of theset 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 thedifferences between the source files and the existing files in thedestination.  Rsync is widely used for backups and mirroring and as animproved copy command for everyday use.%prep# Choose one -- setup source only, or setup source + rsync-patches:%setup -q -n rsync-%{fullversion}#%setup -q -b1 -n rsync-%{fullversion}# If you you used "%setup -q -b1", choose the patches you wish to apply:#patch -p1 <patches/acls.diff#patch -p1 <patches/xattrs.diff#patch -p1 <patches/remote-option.diff#patch -p1 <patches/db.diff# Avoid extra perl dependencies for scripts going into doc dir.chmod -x support/*%build#./prepare-source%configuremake%installrm -rf $RPM_BUILD_ROOT%makeinstallmkdir -p $RPM_BUILD_ROOT/etc/xinetd.dinstall -m 644 packaging/lsb/rsync.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/rsync#install -p -m 755 support/rsyncdb $RPM_BUILD_ROOT/usr/bin/rsyncdb%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc COPYING NEWS OLDNEWS README support/ tech_report.tex%config(noreplace) /etc/xinetd.d/rsync%{_prefix}/bin/rsync*%{_mandir}/man1/rsync.1*%{_mandir}/man5/rsyncd.conf.5*%changelog* Sun Dec 28 2008 Wayne Davison <wayned@samba.org>Released 3.0.5.* Fri Mar 21 2008 Wayne Davison <wayned@samba.org>Added installation of /etc/xinetd.d/rsync file and some commented-outlines that demonstrate how to use the rsync-patches tar file.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -