Author: blues Date: Tue Jun 13 20:41:45 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - cleanups, builds now
---- Files affected: SPECS: rsyncrypto.spec (1.2 -> 1.3) ---- Diffs: ================================================================ Index: SPECS/rsyncrypto.spec diff -u SPECS/rsyncrypto.spec:1.2 SPECS/rsyncrypto.spec:1.3 --- SPECS/rsyncrypto.spec:1.2 Tue Jun 13 17:07:21 2006 +++ SPECS/rsyncrypto.spec Tue Jun 13 22:41:40 2006 @@ -1,8 +1,7 @@ # $Revision$, $Date$ # -# Conditional build: -%bcond_with rsh # set remote shell command to rsh instead of ssh (old behaviour) -%bcond_without tests # do not perform "make test" +# TODO: +# - fix descriptions and summaries to reflect that it isn't rsync but rsyncrypto # Summary: Program for efficient remote updates of files Summary(es): Programa para actualizar archivos remotos de forma eficiente @@ -15,29 +14,19 @@ Summary(zh_TW): [łń°Ô]$(B6G?i¤ő(c(B Name: rsyncrypto Version: 0.17 -Release: 0.2 +Release: 0.5 License: GPL v2 Group: Networking/Utilities Source0: http://dl.sourceforge.net/rsyncrypto/%{name}-%{version}.tar.gz # Source0-md5: b04df4561d5f9847b647f9c60912d2af -#Source1: %{name}.inet -#Source2: %{name}.init -#Source3: %{name}.sysconfig -#Source4: %{name}d.logrotate -#Patch0: %{name}-config.patch -#Patch1: %{name}-man.patch URL: http://rsync.samba.org/ -#BuildRequires: acl-devel BuildRequires: argtable2-devel BuildRequires: autoconf >= 2.52 BuildRequires: automake BuildRequires: openssl-devel -#BuildRequires: popt-devel -#BuildRequires: rpmbuild(macros) >= 1.268 +Requires: gzip BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sysconfdir /etc/rsyncd - %description rsync is a replacement for rcp that has many more features. @@ -96,66 +85,8 @@ × ËĎÍĐŇĹÓĎ×ÁÎĎÍŐ ×ÉÄŚ. đŇÉ ĂŘĎÍŐ ÚĎ×ÓŚÍ ÎĹ ĎÂĎ×'ŃÚËĎ×Ď, ÝĎ ĎÄÎÁ ÍÁŰÉÎÁ ÍÁĚÁ × ÓĹÂĹ ËĎĐŚŔ ÔĎÇĎ, ÝĎ ¤ ÎÁ ŚÎŰŚĘ ÍÁŰÉÎŚ. -%package -n rsyncd-inetd -Summary: Files necessary to run rsync in daemon mode -Summary(pl): Pliki niezbędne do uruchomienia rsynca w trybie serwera -Group: Networking/Daemons -Requires: %{name} = %{version}-%{release} -Requires: rc-inetd -Provides: rsyncd -Obsoletes: rsyncd -Obsoletes: rsyncd-standalone - -%description -n rsyncd-inetd -rsync is a replacement for rcp that has many more features. - -rsync uses the "rsync algorithm" which provides a very fast method for -bringing remote files into sync. It does this by sending just the -differences in the files across the link, without requiring that both -sets of files are present at one of the ends of the link beforehand. - -A technical report describing the rsync algorithm is included with -this package. - -%description -n rsyncd-inetd -l pl -Rsync jest zamiennikiem programu rcp z bardziej rozbudowaną składnią -poleceń. Program ten używa efektywnego algorytmu "rsync" w czasie -komunikacji i transportu plików do systemu zdalnego. Dokumentacja -techniczna nowego algorytmu została również dołączona do pakietu. - -%package -n rsyncd-standalone -Summary: Files necessary to run rsync in daemon mode -Summary(pl): Pliki niezbędne do uruchomienia rsynca w trybie serwera -Group: Networking/Daemons -Requires(post,preun): /sbin/chkconfig -Requires: %{name} = %{version}-%{release} -Provides: rsyncd -Obsoletes: rsyncd -Obsoletes: rsyncd-inetd - -%description -n rsyncd-standalone -rsync is a replacement for rcp that has many more features. - -rsync uses the "rsync algorithm" which provides a very fast method for -bringing remote files into sync. It does this by sending just the -differences in the files across the link, without requiring that both -sets of files are present at one of the ends of the link beforehand. - -A technical report describing the rsync algorithm is included with -this package. - -%description -n rsyncd-standalone -l pl -Rsync jest zamiennikiem programu rcp z bardziej rozbudowaną składnią -poleceń. Program ten używa efektywnego algorytmu "rsync" w czasie -komunikacji i transportu plików do systemu zdalnego. Dokumentacja -techniczna nowego algorytmu została również dołączona do pakietu. - %prep %setup -q -#patch -s -p1 < patches/acls.diff || exit 1 -#patch -s -p1 < patches/xattrs.diff || exit 1 -#%patch0 -p1 -#%patch1 -p1 %build cp -f /usr/share/automake/config.sub . @@ -163,95 +94,21 @@ %{__autoconf} %configure -%{__make} proto %{__make} -%{?with_tests:%{__make} test} - %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/env.d %{__make} install \ - prefix=$RPM_BUILD_ROOT%{_prefix} \ - mandir=$RPM_BUILD_ROOT%{_mandir} \ - bindir=$RPM_BUILD_ROOT%{_bindir} - -install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{sysconfig/rc-inetd,rc.d/init.d,logrotate.d},/var/log} - -:> $RPM_BUILD_ROOT/var/log/rsyncd.log -:> $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.secrets - -cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/rsyncd.conf -log file = /var/log/rsyncd.log -EOF - -cat << EOF > $RPM_BUILD_ROOT/etc/env.d/CVSIGNORE -#CVSIGNORE= -EOF -cat << EOF > $RPM_BUILD_ROOT/etc/env.d/RSYNC_RSH -#RSYNC_RSH= -EOF -cat << EOF > $RPM_BUILD_ROOT/etc/env.d/RSYNC_PROXY -#RSYNC_PROXY= -EOF -cat << EOF > $RPM_BUILD_ROOT/etc/env.d/RSYNC_PASSWORD -#RSYNC_PASSWORD= -EOF - -install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd -install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rsyncd -install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rsyncd -install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/rsyncd + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%post -n rsyncd-inetd -%service -q rc-inetd reload - -%postun -n rsyncd-inetd -if [ "$1" = "0" ]; then - %service -q rc-inetd reload -fi - -%post -n rsyncd-standalone -/sbin/chkconfig --add rsyncd -%service rsyncd restart "rsync server" - -%preun -n rsyncd-standalone -if [ "$1" = "0" ]; then - %service rsyncd stop - /sbin/chkconfig --del rsyncd -fi - %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README -#%attr(644,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/* %attr(755,root,root) %{_bindir}/* -%{_mandir}/man1/* - -#%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) /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/* - -#%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) /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/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -259,6 +116,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2006/06/13 20:41:40 blues +- cleanups, builds now + Revision 1.2 2006/06/13 15:07:21 blues - fixed BR ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/rsyncrypto.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
