split off generated documentation into separate subpackage to avoid

conflicts on multilib systems
This commit is contained in:
Nils Philippsen 2006-02-22 13:03:33 +00:00
parent e74e568047
commit 58eb630e7e

View File

@ -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 <nphilipp@redhat.com> - 1.0.17-4
- split off generated documentation into separate subpackage to avoid conflicts
on multilib systems
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.17-3.2
- bump again for double-long bug on ppc(64)