rsync/rsync-test.spec

Name: rsync
Summary: Program for synchronizing files over a network
Version: 3.0.0
Release: 0.1.pre10
License: GPL
Group: Applications/Internet
URL: http://rsync.samba.org/
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.

CentOS 7 x86_64

The build could not start because the following file is missing: rsync-3.0.0pre10.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: rsync-3.0.0pre10.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id: rsync.spec 2540 2004-11-23 18:39:10Z dag $
# Authority: dag
# Upstream: Martin Pool <mbp$sourcefrog,net>
# Tag: rft

# Rationale: rsync 2.6.3+ uses less resources and has lots of improvements


%{?rh7:%define _without_acl 1}
%{?rh7:%define _without_xattr 1}

%{?el2:%define _without_acl 1}
%{?el2:%define _without_xattr 1}

Summary: Program for synchronizing files over a network
Name: rsync
%define real_version 3.0.0pre10
Version: 3.0.0
Release: 0.1.pre10%{?dist}
License: GPL
Group: Applications/Internet
URL: http://rsync.samba.org/

Source: http://rsync.samba.org/ftp/rsync/rsync-%{real_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%{!?_without_acl:BuildRequires: libacl-devel}
%{!?_without_xattr:BuildRequires: libattr-devel}

%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
%setup -n %{name}-%{real_version}

%{__cat} <<EOF >rsync.xinet
# default: off
# description: The rsync server is a good addition to an ftp server, as it \
#   allows crc checksumming etc.
service rsync
{
    disable = yes
    socket_type     = stream
    wait            = no
    user            = root
    server          = %{_bindir}/rsync
    server_args     = --daemon
    log_on_failure  += USERID
}
EOF

%build
%configure \
%{?_without_acl:--disable-acl-support} \
%{?_without_xattr:--disable-xattr-support}
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%{__install} -Dp -m0644 rsync.xinet %{buildroot}%{_sysconfdir}/xinetd.d/rsync

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc COPYING INSTALL NEWS OLDNEWS README tech_report.tex TODO *.txt doc/ support/
%doc %{_mandir}/man1/rsync.1*
%doc %{_mandir}/man5/rsyncd.conf.5*
%config(noreplace) %{_sysconfdir}/xinetd.d/rsync
%{_bindir}/rsync

%changelog
* Sat Mar 01 2008 Dag Wieers <dag@wieers.com> - 4.0.0-0.1.pre10
- Updated to release 3.0.0pre10.

* Sun Jan 13 2008 Dag Wieers <dag@wieers.com> - 3.0.0-0.pre8
- Updated to release 3.0.0pre8.

* Tue Mar 15 2005 Dag Wieers <dag@wieers.com> - 2.6.4-0.pre2.cvs20050315
- Updated to release 2.6.4pre2-cvsHEAD-20050315-1733GMT.

* Mon Mar 14 2005 Dag Wieers <dag@wieers.com> - 2.6.4-0.pre2
- Updated to release 2.6.4pre2.

* Fri Jan 14 2005 Dag Wieers <dag@wieers.com> - 2.6.4-0.cvs20050114
- Updated to release 2.6.4-cvs20050114.

* Tue Jan 11 2005 Dag Wieers <dag@wieers.com> - 2.6.4-0.cvs20050111
- Added delay-renames patch from CVS.
- Updated to release 2.6.4-cvs20050111.

* Tue Nov 23 2004 Dag Wieers <dag@wieers.com> - 2.6.3-1
- Updated to release 2.6.3.

* Wed Sep 22 2004 Dag Wieers <dag@wieers.com> - 2.6.3-0.pre2
- Updated to release 2.6.3pre2.

* Wed Aug 18 2004 Dag Wieers <dag@wieers.com> - 2.6.3-0.pre1
- Updated to release 2.6.3pre1.

* Sun Jun 13 2004 Dag Wieers <dag@wieers.com> - 2.6.2-1
- Updated to release 2.6.2.

* Sat Sep 13 2003 Dag Wieers <dag@wieers.com> - 2.5.6-0
- Initial package. (using DAR)