[wordnet] Move alternative manual pages to wordnet-doc package

Petr Pisar ppisar at fedoraproject.org
Thu Sep 6 16:01:26 UTC 2012


commit 5142249e66462588cc129fe219218928d338ba6a
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Sep 6 17:46:05 2012 +0200

    Move alternative manual pages to wordnet-doc package

 wordnet.spec |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/wordnet.spec b/wordnet.spec
index 730b79e..340d5ac 100644
--- a/wordnet.spec
+++ b/wordnet.spec
@@ -55,6 +55,16 @@ This package contains the libraries and header files required to create
 applications based on WordNet.
 
 
+%package doc
+Summary:    Manual pages for WordNet in alternative formats
+Group:      Documentation
+BuildArch:  noarch
+
+%description doc
+This package contains manual pages for WordNet package in HTML, PDF,
+and PostScript format.
+
+
 %prep
 %setup -q -n WordNet-3.0
 %patch0 -p1 -b .cve-2008-2149
@@ -99,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING INSTALL ChangeLog README doc/{html,ps,pdf}
+%doc AUTHORS COPYING INSTALL ChangeLog README
 %{_bindir}/wn
 %{_mandir}/man1/grind.1.gz
 %{_mandir}/man1/wn.1.gz
@@ -124,11 +134,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/wn.h
 %{_libdir}/libWN.so
 
+%files doc
+%defattr(-,root,root,-)
+%doc COPYING doc/{html,ps,pdf}
+
 
 %changelog
 * Thu Sep 06 2012 Petr Pisar <ppisar at redhat.com> - 3.0-18
 - wnb requires a font to start
 - Move Tk browser to sub-package wordnet-browser
+- Move alternative manual pages to wordnet-doc package
 
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list