[packages/ghostscript] subpackage docs
glen
glen at pld-linux.org
Tue Jun 14 22:50:50 CEST 2016
commit 8fc94595ea0918107f3b2be6fc421068e7463e6a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jun 14 23:50:07 2016 +0300
subpackage docs
ghostscript.spec | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/ghostscript.spec b/ghostscript.spec
index a83a3b7..2e5f663 100644
--- a/ghostscript.spec
+++ b/ghostscript.spec
@@ -19,7 +19,7 @@ Summary(pl.UTF-8): Bezpłatny interpreter i renderer PostScriptu i PDF
Summary(tr.UTF-8): PostScript & PDF yorumlayıcı ve gösterici
Name: ghostscript
Version: 9.18
-Release: 2
+Release: 3
License: GPL v3+
Group: Applications/Graphics
Source0: http://downloads.ghostscript.com/public/%{name}-%{version}.tar.bz2
@@ -163,6 +163,16 @@ Header files for libgs - ghostscript shared library.
%description devel -l pl.UTF-8
Pliki nagłówkowe libgs - współdzielonej biblioteki ghostscript.
+%package doc
+Summary: Documentation for ghostscript
+Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description doc
+The documentation files that come with ghostscript.
+
%package ijs
Summary: IJS (InkJet Server) shared library
Summary(pl.UTF-8): Biblioteka współdzielona IJS (InkJet Server)
@@ -315,7 +325,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc %{_docdir}/%{name}-%{version}
%attr(755,root,root) %{_bindir}/dvipdf
%attr(755,root,root) %{_bindir}/eps2eps
%attr(755,root,root) %{_bindir}/font2c
@@ -391,6 +400,9 @@ rm -rf $RPM_BUILD_ROOT
%lang(fr) %{_mandir}/fr/man1/*
%lang(pl) %{_mandir}/pl/man1/*
+%files doc
+%doc %{_docdir}/%{name}-%{version}
+
%if %{with gtk}
%files gtk
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghostscript.git/commitdiff/8fc94595ea0918107f3b2be6fc421068e7463e6a
More information about the pld-cvs-commit
mailing list