- Split out a doc sub-package (bug #466507).

This commit is contained in:
Tim Waugh 2008-10-14 10:54:40 +00:00
parent 3116a3c29a
commit 9f0b67fe7c

View File

@ -5,7 +5,7 @@ Summary: A PostScript(TM) interpreter and renderer.
Name: ghostscript Name: ghostscript
Version: %{gs_ver} Version: %{gs_ver}
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
URL: http://www.ghostscript.com/ URL: http://www.ghostscript.com/
@ -64,6 +64,14 @@ Group: Development/Libraries
%description devel %description devel
The header files for developing applications that use ghostscript. 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 %package gtk
Summary: A GTK-enabled PostScript(TM) interpreter and renderer. Summary: A GTK-enabled PostScript(TM) interpreter and renderer.
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -249,7 +257,6 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/ghostscript/%{gs_dot_ver}/examples %{_datadir}/ghostscript/%{gs_dot_ver}/examples
%{_mandir}/man*/* %{_mandir}/man*/*
%lang(de) %{_mandir}/de/man*/* %lang(de) %{_mandir}/de/man*/*
%doc %{_docdir}/%{name}-%{gs_dot_ver}
%{_libdir}/libgs.so.* %{_libdir}/libgs.so.*
%{_libdir}/libijs-*.so* %{_libdir}/libijs-*.so*
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
@ -258,6 +265,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/cups/model/pxl* %{_datadir}/cups/model/pxl*
%config(noreplace) /etc/ghostscript/%{gs_dot_ver}/* %config(noreplace) /etc/ghostscript/%{gs_dot_ver}/*
%files doc
%defattr(-,root,root)
%doc %{_docdir}/%{name}-%{gs_dot_ver}
%files gtk %files gtk
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gsx %{_bindir}/gsx
@ -274,6 +285,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libgs.so %{_libdir}/libgs.so
%changelog %changelog
* Tue Oct 14 2008 Tim Waugh <twaugh@redhat.com> 8.63-2
- Split out a doc sub-package (bug #466507).
* Mon Aug 4 2008 Tim Waugh <twaugh@redhat.com> 8.63-1 * Mon Aug 4 2008 Tim Waugh <twaugh@redhat.com> 8.63-1
- 8.63. No longer need r8591 or incomplete-ccittfax patches. - 8.63. No longer need r8591 or incomplete-ccittfax patches.
- Compile without strict aliasing opts due to warnings across several - Compile without strict aliasing opts due to warnings across several