Annotation of embedaddon/rsync/packaging/lsb/rsync.spec, revision 1.1.1.4

1.1       misho       1: Summary: A fast, versatile, remote (and local) file-copying tool
                      2: Name: rsync
1.1.1.4 ! misho       3: Version: 3.2.3
1.1       misho       4: %define fullversion %{version}
                      5: Release: 1
                      6: %define srcdir src
                      7: Group: Applications/Internet
1.1.1.3   misho       8: License: GPL
1.1.1.4 ! misho       9: Source0: https://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-%{fullversion}.tar.gz
        !            10: #Source1: https://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-patches-%{fullversion}.tar.gz
        !            11: URL: https://rsync.samba.org/
1.1       misho      12: 
                     13: Prefix: %{_prefix}
                     14: BuildRoot: /var/tmp/%{name}-root
                     15: 
1.1.1.2   misho      16: %package ssl-daemon
                     17: Summary: An stunnel config file to support ssl rsync daemon connections.
1.1.1.3   misho      18: Group: Applications/Internet
                     19: Requires: rsync, stunnel >= 4
1.1.1.2   misho      20: 
1.1       misho      21: %description
                     22: Rsync is a fast and extraordinarily versatile file copying tool.  It can
                     23: copy locally, to/from another host over any remote shell, or to/from a
                     24: remote rsync daemon.  It offers a large number of options that control
                     25: every aspect of its behavior and permit very flexible specification of the
                     26: set of files to be copied.  It is famous for its delta-transfer algorithm,
                     27: which reduces the amount of data sent over the network by sending only the
                     28: differences between the source files and the existing files in the
                     29: destination.  Rsync is widely used for backups and mirroring and as an
                     30: improved copy command for everyday use.
                     31: 
1.1.1.2   misho      32: %description ssl-daemon
                     33: Provides a config file for stunnel that will (if you start your stunnel
                     34: service) cause stunnel to listen for ssl rsync-daemon connections and run
                     35: "rsync --daemon" to handle them.
                     36: 
1.1       misho      37: %prep
                     38: # Choose one -- setup source only, or setup source + rsync-patches:
                     39: %setup -q -n rsync-%{fullversion}
                     40: #%setup -q -b1 -n rsync-%{fullversion}
                     41: 
1.1.1.2   misho      42: # If you you used "%setup -q -b1 ...", choose the patches you wish to apply:
1.1       misho      43: #patch -p1 <patches/acls.diff
                     44: #patch -p1 <patches/xattrs.diff
                     45: #patch -p1 <patches/remote-option.diff
                     46: #patch -p1 <patches/db.diff
                     47: 
                     48: # Avoid extra perl dependencies for scripts going into doc dir.
                     49: chmod -x support/*
                     50: 
                     51: %build
                     52: #./prepare-source
                     53: %configure
                     54: 
                     55: make
                     56: 
                     57: %install
                     58: rm -rf $RPM_BUILD_ROOT
1.1.1.4 ! misho      59: make install install-ssl-daemon DESTDIR=$RPM_BUILD_ROOT
1.1       misho      60: 
1.1.1.2   misho      61: mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d $RPM_BUILD_ROOT/etc/rsync-ssl/certs
1.1       misho      62: install -m 644 packaging/lsb/rsync.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/rsync
                     63: 
                     64: %clean
                     65: rm -rf $RPM_BUILD_ROOT
                     66: 
                     67: %files
                     68: %defattr(-,root,root)
1.1.1.4 ! misho      69: %doc COPYING NEWS.md README.md support/ tech_report.tex
1.1       misho      70: %config(noreplace) /etc/xinetd.d/rsync
1.1.1.2   misho      71: %{_prefix}/bin/rsync
1.1.1.4 ! misho      72: %{_prefix}/bin/rsync-ssl
1.1       misho      73: %{_mandir}/man1/rsync.1*
1.1.1.4 ! misho      74: %{_mandir}/man1/rsync-ssl.1*
1.1       misho      75: %{_mandir}/man5/rsyncd.conf.5*
                     76: 
1.1.1.2   misho      77: %files ssl-daemon
                     78: %config(noreplace) /etc/stunnel/rsyncd.conf
                     79: %dir /etc/rsync-ssl/certs
                     80: 
1.1       misho      81: %changelog
1.1.1.4 ! misho      82: * Thu Aug 06 2020 Wayne Davison <wayne@opencoder.net>
        !            83: Released 3.2.3.
1.1       misho      84: 
1.1.1.4 ! misho      85: * Fri Mar 21 2008 Wayne Davison <wayne@opencoder.net>
1.1       misho      86: Added installation of /etc/xinetd.d/rsync file and some commented-out
                     87: lines that demonstrate how to use the rsync-patches tar file.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>