From 9a9f42e8b90b8c049205cae6b349b75370d5f6f5 Mon Sep 17 00:00:00 2001 From: ankry Date: Thu, 13 Feb 2003 15:52:13 +0000 Subject: [PATCH] - remove rfc documents (they are in the rfc-{text,basic} packages) - rel. 2 Changed files: cyrus-sasl.spec -> 1.87 --- cyrus-sasl.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index d87c11a..25090d6 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -11,7 +11,7 @@ Summary(ru): Summary(uk): â¦Â̦ÏÔÅËÁ Cyrus SASL Name: cyrus-sasl Version: 2.1.12 -Release: 1 +Release: 2 License: distributable Group: Libraries Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail//%{name}-%{version}.tar.gz @@ -331,6 +331,12 @@ Wtyczka mysql do Cyrus SASL. %patch2 -p1 %patch3 -p1 +cd doc +echo "cyrus-sasl complies with the following RFCs:" > rfc-compliance +ls rfc*.txt >> rfc-compliance +rm -f rfc*.txt +cd .. + %build # acinclude.m4 contains only old libtool.m4 rm -f acinclude.m4 config/missing @@ -364,6 +370,14 @@ LDFLAGS="%{rpmldflags} -ldl"; export LDFLAGS --disable-gssapi %{__make} +cd doc +RFCLIST=`grep 'rfc.+\.txt' rfc-compliance` +for i in $RFCLIST; do + RFCDIR=../RFC/text/`echo $i | sed -e 's:^rfc::' -e 's:..\.txt$::' `00 + echo -e ',s:'$i':'$RFCDIR/$i\n,w\nq' | ed index.html +done +cd .. + %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/var/lib/sasl2,%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \ @@ -408,7 +422,7 @@ fi %files %defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog NEWS README -%doc doc/{ONEWS,TODO,*.txt,*.html,*.fig} +%doc doc/{ONEWS,TODO,*.txt,*.html,*.fig,rfc-compliance} %dir %{_sysconfdir} %dir %{_libdir}/sasl2 %dir /var/lib/sasl2 -- 2.44.0