upgrade gtk-doc to 1.33.0

This commit is contained in:
dillon_chen 2020-12-01 16:21:13 +08:00
parent a5ee5bf6b3
commit b5bba46469

View File

@ -1,18 +1,17 @@
%global debug_package %{nil} %global debug_package %{nil}
%global __python %{__python3} %global __python %{__python3}
%bcond_with check
Name: gtk-doc Name: gtk-doc
Version: 1.32 Version: 1.33.0
Release: 1 Release: 1
Summary: Generate API documentation from comments that can be added to C code Summary: Generate API documentation from comments that can be added to C code
License: GPLv2+ and GFDL License: GPLv2+ and GFDL
URL: https://www.gtk.org/gtk-doc/ URL: https://www.gtk.org/gtk-doc/
Source0: https://download.gnome.org/sources/gtk-doc/1.32/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz
BuildRequires: python3-six python3-devel docbook-utils libxslt gettext BuildRequires: python3-devel docbook-utils libxslt gettext
BuildRequires: itstool yelp-tools docbook-style-xsl gcc gdb BuildRequires: yelp-tools docbook-style-xsl gcc gdb
BuildRequires: dblatex meson glib2-devel
BuildRequires: python3-pygments BuildRequires: python3-pygments
BuildRequires: python3-parameterized BuildRequires: python3-parameterized
BuildRequires: python3-anytree BuildRequires: python3-anytree
@ -20,6 +19,7 @@ BuildRequires: python3-lxml
Requires: docbook-style-xsl docbook-utils libxslt Requires: docbook-style-xsl docbook-utils libxslt
Requires: python3-pygments python3-parameterized python3-anytree python3-lxml Requires: python3-pygments python3-parameterized python3-anytree python3-lxml
%description %description
GTK-Doc is a project which was started to generate API documentation from comments added to C code. GTK-Doc is a project which was started to generate API documentation from comments added to C code.
It is typically used to document the public API of GTK and GNOME libraries, but it can also be used It is typically used to document the public API of GTK and GNOME libraries, but it can also be used
@ -32,16 +32,14 @@ mv doc/README doc/README.1
%build %build
export PYTHON=%{__python3} export PYTHON=%{__python3}
%configure %meson
%make_build %meson_build
%install %install
%make_install %meson_install
%check %check
%if %{with check} %meson_test
make check
%endif
%files %files
%doc README doc/* examples %doc README doc/* examples
@ -54,6 +52,9 @@ export PYTHON=%{__python3}
%{_datadir}/cmake/ %{_datadir}/cmake/
%changelog %changelog
* Tue Dec 1 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.33.0-1
- upgrade to 1.33.0
* Mon Jun 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.32-1 * Mon Jun 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.32-1
- upgrade to 1.32 - upgrade to 1.32
@ -66,8 +67,9 @@ export PYTHON=%{__python3}
* Wed Jan 15 2020 gulining<gulining1@huawei.com> - 1.29-3 * Wed Jan 15 2020 gulining<gulining1@huawei.com> - 1.29-3
- solve unresolveable - solve unresolveable
* Tue Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-2 * Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-2
- strenthen spec - strenthen spec
* Mon Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-1 * Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-1
- Package init - Package init