From 58eb630e7e2bef3c658722e7d44400b3aff47e6f Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 22 Feb 2006 13:03:33 +0000 Subject: [PATCH] split off generated documentation into separate subpackage to avoid conflicts on multilib systems --- sane-backends.spec | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/sane-backends.spec b/sane-backends.spec index da4c340..7a954eb 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -4,7 +4,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.17 -Release: 3.2 +Release: 4 License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) Group: System Environment/Libraries Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz @@ -51,6 +51,13 @@ Static libraries and header files for writing Scanner Access Now Easy (SANE) modules. SANE is a universal scanner interface which is included in the sane-backends package. +%package docs +Summary: Additional documentation for SANE +Group: Documentation + +%description +Additional documentation for SANE, a universal scanner interface. + %prep %setup -q @@ -122,6 +129,12 @@ rm -rf %{buildroot} %{_mandir}/*/* %{_datadir}/pixmaps/sane.png %{_docdir}/* +%exclude %{_docdir}/sane-backends.html +%exclude %{_docdir}/sane-backends-external.html +%exclude %{_docdir}/sane-mfgs.html +%exclude %{_docdir}/sane-mfgs-external.html +%exclude %{_docdir}/sane.dvi +%exclude %{_docdir}/sane.ps %files devel %defattr(-,root,root) @@ -132,7 +145,20 @@ rm -rf %{buildroot} %{_libdir}/sane/*.la %{_libdir}/sane/*.so +%files docs +%defattr(-, root, root) +%{_docdir}/sane-backends.html +%{_docdir}/sane-backends-external.html +%{_docdir}/sane-mfgs.html +%{_docdir}/sane-mfgs-external.html +%{_docdir}/sane.dvi +%{_docdir}/sane.ps + %changelog +* Thu Feb 22 2006 Nils Philippsen - 1.0.17-4 +- split off generated documentation into separate subpackage to avoid conflicts + on multilib systems + * Fri Feb 10 2006 Jesse Keating - 1.0.17-3.2 - bump again for double-long bug on ppc(64)