X-Git-Url: http://git.pld-linux.org/?p=packages%2Frsync.git;a=blobdiff_plain;f=rsync.spec;h=0b9894e5c553367966a11865092b43af691cc5e6;hp=568b3370fcf2083c2ae4117a8094a7450bfdc079;hb=94e53519f8759529e2a66e4330a21f4ad06aac4a;hpb=61a6555fb7cf6b747be2237628afc8238fb218c4 diff --git a/rsync.spec b/rsync.spec index 568b337..0b9894e 100644 --- a/rsync.spec +++ b/rsync.spec @@ -16,14 +16,14 @@ Summary(uk.UTF-8): Програма для ефективного віддале Summary(zh_CN.UTF-8): [通讯]传输工具 Summary(zh_TW.UTF-8): [喙啪]$(B6G?i火(c(B Name: rsync -Version: 3.0.2 -Release: 3 +Version: 3.1.1 +Release: 2 License: GPL Group: Networking/Utilities Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz -# Source0-md5: fd4c5d77d8cb7bb86ab209076fa214d9 +# Source0-md5: 43bd6676f0b404326eee2d63be3cdcfe Source1: http://rsync.samba.org/ftp/rsync/rsync-patches-%{version}.tar.gz -# Source1-md5: c076661c447ddc165f4ff427e7264a31 +# Source1-md5: 72de3e3528c1a1940b226e456393f26d Source2: %{name}.inet Source3: %{name}.init Source4: %{name}.sysconfig @@ -31,13 +31,13 @@ Source5: %{name}d.logrotate Patch0: %{name}-config.patch URL: http://rsync.samba.org/ BuildRequires: acl-devel -BuildRequires: autoconf >= 2.52 +BuildRequires: autoconf >= 2.59 BuildRequires: automake -BuildRequires: openssl-devel BuildRequires: popt-devel BuildRequires: rpmbuild(macros) >= 1.318 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _duplicate_files_terminate_build 0 %define _sysconfdir /etc/rsyncd %description @@ -165,6 +165,7 @@ cp -f /usr/share/automake/config.sub . %{__autoheader} %{__autoconf} %configure \ + LIBS="-lcrypto" \ %{?with_rsh:--with-rsh=rsh} \ --enable-ipv6 \ --enable-acl-support \ @@ -189,7 +190,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{sysconfig/rc-inetd,rc.d/init.d,l :> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf -log file = /var/log/rsyncd.log +#log file = /var/log/rsyncd.log EOF cat << 'EOF' > $RPM_BUILD_ROOT/etc/env.d/CVSIGNORE @@ -240,27 +241,30 @@ fi %files %defattr(644,root,root,755) %doc README NEWS OLDNEWS TODO -%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/* -%attr(755,root,root) %{_bindir}/* -%{_mandir}/man1/* +%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/CVSIGNORE +%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/RSYNC_PASSWORD +%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/RSYNC_PROXY +%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/RSYNC_RSH +%attr(755,root,root) %{_bindir}/rsync +%{_mandir}/man1/rsync.1* %files -n rsyncd-inetd %defattr(644,root,root,755) %dir %{_sysconfdir} -%attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf -%attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rsyncd.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rsyncd.secrets %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/rsyncd %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/rsyncd %attr(640,root,root) %ghost /var/log/rsyncd.log -%{_mandir}/man5/* +%{_mandir}/man5/rsyncd.conf.5* %files -n rsyncd-standalone %defattr(644,root,root,755) %dir %{_sysconfdir} -%attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.conf -%attr(640,root,root) %config(noreplace) %{_sysconfdir}/rsyncd.secrets +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rsyncd.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rsyncd.secrets %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rsyncd %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/rsyncd %attr(640,root,root) %ghost /var/log/rsyncd.log %attr(754,root,root) /etc/rc.d/init.d/rsyncd -%{_mandir}/man5/* +%{_mandir}/man5/rsyncd.conf.5*