Re-enable documentation
Resolves: #1957688
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
(cherry picked from Fedora commit 023dd802c0
)
This commit is contained in:
parent
7740dc07d1
commit
937babf4bf
27
gtk4.spec
27
gtk4.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: gtk4
|
Name: gtk4
|
||||||
Version: 4.2.0
|
Version: 4.2.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: GTK graphical user interface library
|
Summary: GTK graphical user interface library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -31,6 +31,12 @@ BuildRequires: gcc
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
|
BuildRequires: python3-jinja2
|
||||||
|
BuildRequires: python3-markdown
|
||||||
|
BuildRequires: python3-markupsafe
|
||||||
|
BuildRequires: python3-pygments
|
||||||
|
BuildRequires: python3-toml
|
||||||
|
BuildRequires: python3-typogrify
|
||||||
BuildRequires: pkgconfig(avahi-gobject)
|
BuildRequires: pkgconfig(avahi-gobject)
|
||||||
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
|
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
|
||||||
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
|
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
|
||||||
@ -83,9 +89,6 @@ Requires: gdk-pixbuf2-modules%{?_isa}
|
|||||||
# make sure we have a reasonable gsettings backend
|
# make sure we have a reasonable gsettings backend
|
||||||
Recommends: dconf%{?_isa}
|
Recommends: dconf%{?_isa}
|
||||||
|
|
||||||
# Removed in F34
|
|
||||||
Obsoletes: gtk4-devel-docs < 4.1.2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GTK is a multi-platform toolkit for creating graphical user
|
GTK is a multi-platform toolkit for creating graphical user
|
||||||
interfaces. Offering a complete set of widgets, GTK is suitable for
|
interfaces. Offering a complete set of widgets, GTK is suitable for
|
||||||
@ -102,6 +105,14 @@ Requires: gtk4%{?_isa} = %{version}-%{release}
|
|||||||
This package contains the libraries and header files that are needed
|
This package contains the libraries and header files that are needed
|
||||||
for writing applications with version 4 of the GTK widget toolkit.
|
for writing applications with version 4 of the GTK widget toolkit.
|
||||||
|
|
||||||
|
%package devel-docs
|
||||||
|
Summary: Developer documentation for GTK
|
||||||
|
Requires: gtk4%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel-docs
|
||||||
|
This package contains developer documentation for version 4 of the GTK
|
||||||
|
widget toolkit.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n gtk-%{version}
|
%autosetup -p1 -n gtk-%{version}
|
||||||
|
|
||||||
@ -120,7 +131,7 @@ export CFLAGS='-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT %
|
|||||||
-Dsysprof=enabled \
|
-Dsysprof=enabled \
|
||||||
-Dcolord=enabled \
|
-Dcolord=enabled \
|
||||||
-Dsassc=disabled \
|
-Dsassc=disabled \
|
||||||
-Dgtk_doc=false \
|
-Dgtk_doc=true \
|
||||||
-Dman-pages=true \
|
-Dman-pages=true \
|
||||||
-Dinstall-tests=false
|
-Dinstall-tests=false
|
||||||
|
|
||||||
@ -206,7 +217,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%{_mandir}/man1/gtk4-query-settings.1*
|
%{_mandir}/man1/gtk4-query-settings.1*
|
||||||
%{_mandir}/man1/gtk4-widget-factory.1*
|
%{_mandir}/man1/gtk4-widget-factory.1*
|
||||||
|
|
||||||
|
%files devel-docs
|
||||||
|
%{_datadir}/doc/gtk4/reference
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 03 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.2.0-5
|
||||||
|
- Re-enable documentation.
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.2.0-4
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.2.0-4
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user