Enable gtk-doc

This commit is contained in:
Peng Wu 2022-07-27 14:07:01 +08:00
parent b2e5549cb6
commit 24a79f1dab

View File

@ -9,7 +9,7 @@
Name: pango
Version: 1.50.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: System for layout and rendering of internationalized text
License: LGPLv2+
@ -29,6 +29,7 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: help2man
BuildRequires: meson
BuildRequires: gcc gcc-c++
BuildRequires: gi-docgen
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: freetype%{?_isa} >= %{freetype_version}
@ -60,8 +61,14 @@ Requires: fontconfig-devel%{?_isa} >= %{fontconfig_version}
Requires: cairo-devel%{?_isa} >= %{cairo_version}
%description devel
The pango-devel package includes the header files and developer documentation
for the pango package.
The pango-devel package includes the header files for the pango package.
%package doc
Summary: Developer documentation for pango
Requires: pango%{?_isa} = %{version}-%{release}
%description doc
The pango-doc package contains developer documentation for the pango package.
%package tests
Summary: Tests for the %{name} package
@ -78,7 +85,8 @@ the functionality of the installed %{name} package.
%build
%meson \
-Dinstall-tests=true
-Dinstall-tests=true \
-Dgtk_doc=true
%meson_build
@ -120,12 +128,23 @@ fi
%{_datadir}/gir-1.0/PangoOT-1.0.gir
%{_datadir}/gir-1.0/PangoXft-1.0.gir
%files doc
%{_docdir}/Pango/
%{_docdir}/PangoCairo/
%{_docdir}/PangoFT2/
%{_docdir}/PangoFc/
%{_docdir}/PangoOT/
%{_docdir}/PangoXft/
%files tests
%{_libexecdir}/installed-tests/%{name}
%{_datadir}/installed-tests
%changelog
* Tue Jul 26 2022 Peng Wu <pwu@redhat.com> - 1.50.8-3
- Enable gtk-doc
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.50.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild