move gtk-doc/ to a separate noarch subpkg

This commit is contained in:
David Tardon 2017-02-17 16:28:24 +01:00
parent 3e9f9fd520
commit 2c3f0c6663

View File

@ -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*