From 2c3f0c66639e31cc716526d00c7c40fdbfe3b693 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 17 Feb 2017 16:28:24 +0100 Subject: [PATCH] move gtk-doc/ to a separate noarch subpkg --- poppler.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/poppler.spec b/poppler.spec index 12484ea..8785800 100644 --- a/poppler.spec +++ b/poppler.spec @@ -64,10 +64,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Summary: Development files for glib wrapper Requires: %{name}-glib%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Suggests: %{name}-doc = %{version}-%{release} %description glib-devel %{summary}. +%package glib-doc +Summary: Documentation for glib wrapper +BuildArch: noarch + +%description glib-doc +%{summary}. + %package qt Summary: Qt4 wrapper for poppler Requires: %{name}%{?_isa} = %{version}-%{release} @@ -208,7 +216,6 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %{_includedir}/poppler/fofi/ %{_includedir}/poppler/goo/ %{_includedir}/poppler/splash/ -%{_datadir}/gtk-doc/ %files glib %{_libdir}/libpoppler-glib.so.8* @@ -221,6 +228,10 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %{_datadir}/gir-1.0/Poppler-0.18.gir %{_includedir}/poppler/glib/ +%files glib-doc +%license COPYING +%{_datadir}/gtk-doc/ + %files qt %{_libdir}/libpoppler-qt4.so.4*