|
|
|
@ -1,40 +1,41 @@
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global __python %{__python3}
|
|
|
|
|
|
|
|
|
|
Name: gtk-doc
|
|
|
|
|
Version: 1.33.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.28
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: API documentation generation tool for GTK+ and GNOME
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and GFDL
|
|
|
|
|
URL: https://gitlab.gnome.org/GNOME/gtk-doc/
|
|
|
|
|
Source0: http://download.gnome.org/sources/%{name}/1.33/%{name}-%{version}.tar.xz
|
|
|
|
|
URL: http://www.gtk.org/gtk-doc
|
|
|
|
|
Source0: http://download.gnome.org/sources/gtk-doc/1.28/gtk-doc-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# Backported from upstream
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1634770
|
|
|
|
|
Patch0: 0001-Please-make-the-output-reproducible.patch
|
|
|
|
|
|
|
|
|
|
# Backported from upstream
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1853142
|
|
|
|
|
Patch1: 0001-scangobj-Make-G_MAXINT-appear-as-such-on-32-bit.patch
|
|
|
|
|
|
|
|
|
|
# Partially revert a gtk-doc 1.31 change that broke e-d-s and NM builds
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1775560
|
|
|
|
|
# https://gitlab.gnome.org/GNOME/gtk-doc/issues/98
|
|
|
|
|
# https://gitlab.gnome.org/GNOME/gtk-doc/issues/110
|
|
|
|
|
Patch0: 0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2052721
|
|
|
|
|
Patch2: gtk-doc-1.28-fix-opaque-class.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: dblatex
|
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-pygments
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
BuildRequires: python3-parameterized
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
|
BuildRequires: source-highlight
|
|
|
|
|
BuildRequires: yelp-tools
|
|
|
|
|
|
|
|
|
|
# Following are not automatically installed
|
|
|
|
|
Requires: docbook-utils /usr/bin/xsltproc docbook-style-xsl
|
|
|
|
|
Requires: python3-pygments
|
|
|
|
|
Requires: python3-lxml
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: source-highlight
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
gtk-doc is a tool for generating API reference documentation.
|
|
|
|
@ -48,98 +49,42 @@ and GNOME.
|
|
|
|
|
mv doc/README doc/README.docs
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson
|
|
|
|
|
%meson_build
|
|
|
|
|
export PYTHON=%{__python3}
|
|
|
|
|
%configure
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/gtk-doc/
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%check
|
|
|
|
|
%meson_test
|
|
|
|
|
%endif
|
|
|
|
|
# For reasons unknown first make check fails with texlive debug spew in log
|
|
|
|
|
# files. Just run it twice to work this around.
|
|
|
|
|
make check || make check
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING COPYING-DOCS
|
|
|
|
|
%doc AUTHORS README doc/* examples
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_datadir}/aclocal/gtk-doc.m4
|
|
|
|
|
%{_datadir}/aclocal/
|
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
|
%{_datadir}/pkgconfig/gtk-doc.pc
|
|
|
|
|
%{_datadir}/help/*/gtk-doc-manual/
|
|
|
|
|
%{_libdir}/cmake/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.33.2-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.33.2-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.33.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 20 2021 Kalev Lember <klember@redhat.com> - 1.33.2-2
|
|
|
|
|
- Drop no longer needed python3-anytree requires
|
|
|
|
|
|
|
|
|
|
* Tue Jan 19 2021 Kalev Lember <klember@redhat.com> - 1.33.2-1
|
|
|
|
|
- Update to 1.33.2
|
|
|
|
|
|
|
|
|
|
* Tue Jan 19 2021 David King <amigadave@amigadave.com> - 1.33.1-3
|
|
|
|
|
- Disable test suite on non-Fedora
|
|
|
|
|
|
|
|
|
|
* Mon Jan 18 2021 David King <amigadave@amigadave.com> - 1.33.1-2
|
|
|
|
|
- Remove unused runtime dependency on python3-parameterized
|
|
|
|
|
- Update URL (#1905556)
|
|
|
|
|
|
|
|
|
|
* Tue Nov 17 2020 Kalev Lember <klember@redhat.com> - 1.33.1-1
|
|
|
|
|
- Update to 1.33.1
|
|
|
|
|
|
|
|
|
|
* Thu Oct 01 2020 Kalev Lember <klember@redhat.com> - 1.33-1
|
|
|
|
|
- Update to 1.33
|
|
|
|
|
- Switch to meson build system
|
|
|
|
|
- Explicitly byte-compile python files using py_byte_compile macro
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-5
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 28 2019 Kalev Lember <klember@redhat.com> - 1.32-2
|
|
|
|
|
- Partially revert a gtk-doc 1.31 change that broke e-d-s and NM builds (#1775560)
|
|
|
|
|
|
|
|
|
|
* Mon Nov 11 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.32-1
|
|
|
|
|
- Update to 1.32
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.29-3
|
|
|
|
|
- Avoid owning /usr/share/aclocal dir as it's part of filesystem rpm now
|
|
|
|
|
(#1672131)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 1.29-1
|
|
|
|
|
- Update to 1.29
|
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.28-4
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Thu Apr 07 2022 David King <dking@redhat.com> - 1.28-4
|
|
|
|
|
- Generate documentation for forward declarations (#2052721)
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.28-3
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
* Mon Feb 01 2021 Kalev Lember <klember@redhat.com> - 1.28-3
|
|
|
|
|
- Backport an upstream patch to fix G_MAXINT appearing as G_MAXLONG on 32 bit
|
|
|
|
|
- Related: #1853142
|
|
|
|
|
|
|
|
|
|
* Thu May 10 2018 Adam Williamson <awilliam@redhat.com> - 1.28-2
|
|
|
|
|
- Fix a couple of crasher bugs encountered by halfline (BGO#79601{1,2))
|
|
|
|
|
* Mon Jul 20 2020 Kalev Lember <klember@redhat.com> - 1.28-2
|
|
|
|
|
- Backport a patch to fix x86_64/i686 differences in generated documentation
|
|
|
|
|
- Resolves: #1634770
|
|
|
|
|
|
|
|
|
|
* Sat Mar 24 2018 Kalev Lember <klember@redhat.com> - 1.28-1
|
|
|
|
|
- Update to 1.28
|
|
|
|
|