From 9f0b67fe7c25c5db755f73967b9bf22c917cfc79 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 14 Oct 2008 10:54:40 +0000 Subject: [PATCH] - Split out a doc sub-package (bug #466507). --- ghostscript.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/ghostscript.spec b/ghostscript.spec index af0282f..7263df8 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -5,7 +5,7 @@ Summary: A PostScript(TM) interpreter and renderer. Name: ghostscript Version: %{gs_ver} -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 URL: http://www.ghostscript.com/ @@ -64,6 +64,14 @@ Group: Development/Libraries %description devel The header files for developing applications that use ghostscript. +%package doc +Summary: Documentation for ghostscript. +Requires: %{name} = %{version}-%{release} +Group: Documentation + +%description doc +The documentation files that come with ghostscript. + %package gtk Summary: A GTK-enabled PostScript(TM) interpreter and renderer. Requires: %{name} = %{version}-%{release} @@ -249,7 +257,6 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/ghostscript/%{gs_dot_ver}/examples %{_mandir}/man*/* %lang(de) %{_mandir}/de/man*/* -%doc %{_docdir}/%{name}-%{gs_dot_ver} %{_libdir}/libgs.so.* %{_libdir}/libijs-*.so* %dir %{_libdir}/%{name} @@ -258,6 +265,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/cups/model/pxl* %config(noreplace) /etc/ghostscript/%{gs_dot_ver}/* +%files doc +%defattr(-,root,root) +%doc %{_docdir}/%{name}-%{gs_dot_ver} + %files gtk %defattr(-,root,root) %{_bindir}/gsx @@ -274,6 +285,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgs.so %changelog +* Tue Oct 14 2008 Tim Waugh 8.63-2 +- Split out a doc sub-package (bug #466507). + * Mon Aug 4 2008 Tim Waugh 8.63-1 - 8.63. No longer need r8591 or incomplete-ccittfax patches. - Compile without strict aliasing opts due to warnings across several