From 844f1009edf7bb8b95c2c6ea3dda59dcabf6701c Mon Sep 17 00:00:00 2001 From: cbauer Date: Wed, 6 Nov 2002 21:32:19 +0000 Subject: [PATCH] added HTML and DVI docs to devel package --- cln.spec.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cln.spec.in b/cln.spec.in index 7333456..8792f33 100644 --- a/cln.spec.in +++ b/cln.spec.in @@ -41,6 +41,10 @@ rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}/usr make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/cln.info* +mkdir -p ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-devel-%{version} +mv ${RPM_BUILD_ROOT}%{_datadir}/dvi/cln.dvi ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-devel-%{version} +rmdir ${RPM_BUILD_ROOT}%{_datadir}/dvi +mv ${RPM_BUILD_ROOT}%{_datadir}/html ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-devel-%{version} %clean rm -rf ${RPM_BUILD_ROOT} @@ -66,7 +70,7 @@ fi %files devel %defattr(-,root,root) -%doc examples/*.cc +%{_defaultdocdir}/%{name}-devel-%{version} %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so @@ -77,5 +81,7 @@ fi %{_datadir}/aclocal/* %changelog +* Wed Nov 6 2002 Christian Bauer + Added HTML and DVI docs to devel package * Tue Nov 5 2001 Christian Bauer Added Packager