Summary(zh_TW): [³ñ°Ô]\e$(B6G?i¤õ(c\e(B
Name: rsync
Version: 2.6.6
-Release: 1
+Release: 2
License: GPL
Group: Daemons
Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
Source4: %{name}d.logrotate
Patch0: %{name}-config.patch
Patch1: %{name}-man.patch
+# from FC
+Patch2: %{name}-xattr.patch
URL: http://rsync.samba.org/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
+BuildRequires: acl-devel
BuildRequires: popt-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+patch -p0 < patches/acls.diff || exit 1
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
cp -f /usr/share/automake/config.sub .
%configure \
%{?with_rsh:--with-rsh=rsh} \
--enable-ipv6 \
+ --with-acl-support \
+ --with-xattr-support \
--disable-debug \
--with-rsyncd-conf=%{_sysconfdir}/rsyncd.conf