summaryrefslogtreecommitdiff
path: root/ghostscript.spec
diff options
context:
space:
mode:
authorElan Ruusamäe2016-06-14 20:50:07 (GMT)
committerElan Ruusamäe2016-06-14 20:50:07 (GMT)
commit8fc94595ea0918107f3b2be6fc421068e7463e6a (patch)
treef680dcbd351923af5a37c926a42c84912dae4d1f /ghostscript.spec
parent4690f9443c10e63fee56e234d69b1d028091d767 (diff)
downloadghostscript-8fc94595ea0918107f3b2be6fc421068e7463e6a.zip
ghostscript-8fc94595ea0918107f3b2be6fc421068e7463e6a.tar.gz
Diffstat (limited to 'ghostscript.spec')
-rw-r--r--ghostscript.spec16
1 files 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)