677ab1
%global debug_package %{nil}
677ab1
677ab1
%global __python %{__python3}
677ab1
677ab1
Name: gtk-doc
677ab1
Version: 1.28
676bb9
Release: 4%{?dist}
677ab1
Summary: API documentation generation tool for GTK+ and GNOME
677ab1
677ab1
License: GPLv2+ and GFDL
677ab1
URL: http://www.gtk.org/gtk-doc
677ab1
Source0: http://download.gnome.org/sources/gtk-doc/1.28/gtk-doc-%{version}.tar.xz
677ab1
ca062f
# Backported from upstream
ca062f
# https://bugzilla.redhat.com/show_bug.cgi?id=1634770
ca062f
Patch0: 0001-Please-make-the-output-reproducible.patch
ca062f
6c5477
# Backported from upstream
6c5477
# https://bugzilla.redhat.com/show_bug.cgi?id=1853142
6c5477
Patch1: 0001-scangobj-Make-G_MAXINT-appear-as-such-on-32-bit.patch
6c5477
676bb9
# https://bugzilla.redhat.com/show_bug.cgi?id=2052721
676bb9
Patch2: gtk-doc-1.28-fix-opaque-class.patch
676bb9
677ab1
BuildRequires: dblatex
677ab1
BuildRequires: docbook-utils
677ab1
BuildRequires: /usr/bin/xsltproc
677ab1
BuildRequires: docbook-style-xsl
677ab1
BuildRequires: gettext
677ab1
BuildRequires: python3-devel
677ab1
BuildRequires: python3-six
677ab1
BuildRequires: source-highlight
677ab1
BuildRequires: yelp-tools
677ab1
677ab1
# Following are not automatically installed
677ab1
Requires: docbook-utils /usr/bin/xsltproc docbook-style-xsl
677ab1
Requires: python3-six
677ab1
Requires: source-highlight
677ab1
677ab1
%description
677ab1
gtk-doc is a tool for generating API reference documentation.
677ab1
It is used for generating the documentation for GTK+, GLib
677ab1
and GNOME.
677ab1
677ab1
%prep
677ab1
%autosetup -p1
677ab1
677ab1
# Move this doc file to avoid name collisions
677ab1
mv doc/README doc/README.docs
677ab1
677ab1
%build
677ab1
export PYTHON=%{__python3}
677ab1
%configure
677ab1
make %{?_smp_mflags}
677ab1
677ab1
%install
677ab1
%make_install
677ab1
677ab1
%check
677ab1
# For reasons unknown first make check fails with texlive debug spew in log
677ab1
# files. Just run it twice to work this around.
677ab1
make check || make check
677ab1
677ab1
%files
677ab1
%license COPYING COPYING-DOCS
677ab1
%doc AUTHORS README doc/* examples
677ab1
%{_bindir}/*
677ab1
%{_datadir}/aclocal/
677ab1
%{_datadir}/gtk-doc/
677ab1
%{_datadir}/pkgconfig/gtk-doc.pc
677ab1
%{_datadir}/help/*/gtk-doc-manual/
677ab1
%{_libdir}/cmake/
677ab1
677ab1
%changelog
676bb9
* Thu Apr 07 2022 David King <dking@redhat.com> - 1.28-4
676bb9
- Generate documentation for forward declarations (#2052721)
676bb9
6c5477
* Mon Feb 01 2021 Kalev Lember <klember@redhat.com> - 1.28-3
6c5477
- Backport an upstream patch to fix G_MAXINT appearing as G_MAXLONG on 32 bit
6c5477
- Related: #1853142
6c5477
ca062f
* Mon Jul 20 2020 Kalev Lember <klember@redhat.com> - 1.28-2
ca062f
- Backport a patch to fix x86_64/i686 differences in generated documentation
ca062f
- Resolves: #1634770
ca062f
677ab1
* Sat Mar 24 2018 Kalev Lember <klember@redhat.com> - 1.28-1
677ab1
- Update to 1.28
677ab1
- Switch to Python 3 (#1509660)
677ab1
677ab1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-2
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
677ab1
677ab1
* Thu Dec 07 2017 Kalev Lember <klember@redhat.com> - 1.27-1
677ab1
- Update to 1.27
677ab1
677ab1
* Fri Oct 06 2017 Kalev Lember <klember@redhat.com> - 1.26-2
677ab1
- Add missing pkgconfig(glib-2.0) dep
677ab1
677ab1
* Tue Aug 15 2017 Kalev Lember <klember@redhat.com> - 1.26-1
677ab1
- Update to 1.26
677ab1
- Don't own /usr/share/gtk-doc/html/ -- packages that drop files in there need
677ab1
  to co-own the directory, instead of depending on gtk-doc
677ab1
677ab1
* Mon Aug 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.25-6
677ab1
- Rebuilt for AutoReq cmake-filesystem
677ab1
677ab1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-5
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
677ab1
677ab1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-4
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
677ab1
677ab1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-3
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
677ab1
677ab1
* Tue Oct 18 2016 Kalev Lember <klember@redhat.com> - 1.25-2
677ab1
- Use make_install macro
677ab1
- Don't set group tags
677ab1
- Run self tests
677ab1
- Drop unused build deps
677ab1
677ab1
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 1.25-1
677ab1
- Update to 1.25
677ab1
- Make the package not noarch as it is now putting files in archful directories
677ab1
677ab1
* Thu Feb 04 2016 David King <amigadave@amigadave.com> - 1.24-4
677ab1
- Require xsltproc, not libxslt
677ab1
677ab1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-3
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
677ab1
677ab1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
677ab1
677ab1
* Sun May 31 2015 Kalev Lember <kalevlember@gmail.com> - 1.24-1
677ab1
- Update to 1.24
677ab1
677ab1
* Sun May 17 2015 Kalev Lember <kalevlember@gmail.com> - 1.23-1
677ab1
- Update to 1.23
677ab1
677ab1
* Sun May 10 2015 Kalev Lember <kalevlember@gmail.com> - 1.22-1
677ab1
- Update to 1.22
677ab1
- Use license macro for the COPYING files
677ab1
677ab1
* Thu Jul 17 2014 Kalev Lember <kalevlember@gmail.com> - 1.21-1
677ab1
- Update to 1.21
677ab1
677ab1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
677ab1
677ab1
* Mon Feb 17 2014 Richard Hughes <rhughes@redhat.com> - 1.20-1
677ab1
- Update to 1.20
677ab1
677ab1
* Tue Oct 29 2013 Matthias Clasen <mclasen@redhat.com> - 1.19-4
677ab1
- Fix sorting of the annotation glossary 
677ab1
677ab1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-3
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
677ab1
677ab1
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.19-2
677ab1
- Perl 5.18 rebuild
677ab1
677ab1
* Wed Jun  5 2013 Matthias Clasen <mclasen@redhat.com> - 1.19-1
677ab1
- Update to 1.19
677ab1
677ab1
* Thu Apr 25 2013 Colin Walters <walters@verbum.org> - 1.18-5.20130425gitdf075f
677ab1
- New git snapshot; attempting to fix for #910830
677ab1
677ab1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
677ab1
677ab1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
677ab1
677ab1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
677ab1
677ab1
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 1.18-1
677ab1
- Update to 1.18
677ab1
677ab1
* Mon Mar  7 2011 Matthias Clasen <mclasen@redhat.com> - 1.17-1
677ab1
- Update to 1.17
677ab1
677ab1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-2
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
677ab1
677ab1
* Fri Jan 14 2011 Matthias Clasen <mclasen@redhat.com> - 1.16-1
677ab1
- Update to 1.16
677ab1
677ab1
* Fri Sep 24 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.15-2
677ab1
- Merge-review cleanup (#225870)
677ab1
677ab1
* Sun May 23 2010 Matthias Clasen <mclasen@redhat.com> - 1.15-1
677ab1
- Update to 1.15
677ab1
677ab1
* Sun Mar 28 2010 Matthias Clasen <mclasen@redhat.com> - 1.14-1
677ab1
- Update to 1.14
677ab1
677ab1
* Wed Jan  6 2010 Matthias Clasen <mclasen@redhat.com> - 1.13-2
677ab1
- Fix issues with gtkdoc-fixxref
677ab1
677ab1
* Tue Dec 22 2009 Matthias Clasen <mclasen@redhat.com> - 1.13-1
677ab1
- Update to 1.13
677ab1
677ab1
* Thu Dec  3 2009 Matthias Clasen <mclasen@redhat.com> - 1.11-6
677ab1
- Drop unnecessary BRs
677ab1
677ab1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
677ab1
677ab1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-4
677ab1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
677ab1
677ab1
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> - 1.11-3
677ab1
- Fix an index generation problem
677ab1
677ab1
* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 1.11-2
677ab1
- Update to 1.11
677ab1
677ab1
* Fri Jul 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.10-2
677ab1
- fix license tag
677ab1
677ab1
* Thu Apr 24 2008 Matthias Clasen <mclasen@redhat.com> - 1.10-1
677ab1
- Update to 1.10
677ab1
677ab1
* Tue Jan  8 2008 Matthias Clasen <mclasen@redhat.com> - 1.9-4
677ab1
- Try again 
677ab1
677ab1
* Mon Jan  7 2008 Matthias Clasen <mclasen@redhat.com> - 1.9-3
677ab1
- Improve the fix 
677ab1
677ab1
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 1.9-2
677ab1
- Fix a problem in gtk-doc.make
677ab1
677ab1
* Sun Nov 18 2007 Matthias Clasen <mclasen@redhat.com> - 1.9-1
677ab1
- Update to 1.9
677ab1
677ab1
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 1.8-3
677ab1
- Update the license field
677ab1
677ab1
* Thu Mar 29 2007 Matthias Clasen <mclasen@redhat.com> - 1.8-2
677ab1
- Drop a no longer needed patch
677ab1
677ab1
* Wed Feb 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.8-1
677ab1
- Update to 1.8
677ab1
- Fix some directory ownership issues
677ab1
677ab1
* Fri Feb  2 2007 Matthias Clasen <mclasen@redhat.com> - 1.7-3
677ab1
- Fix the omf file (#223684)
677ab1
677ab1
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 1.7-2
677ab1
- Own the /usr/share/gtk-doc/html directory (#220230)
677ab1
677ab1
* Wed Aug  2 2006 Matthias Clasen <mclasen@redhat.com> - 1.7-1.fc6
677ab1
- Update to 1.7
677ab1
677ab1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.6-3.1
677ab1
- rebuild
677ab1
677ab1
* Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> 1.6-3
677ab1
- Make it build in mock
677ab1
677ab1
* Mon Apr 10 2006 Matthias Clasen <mclasen@redhat.com> 1.6-2
677ab1
- Update to 1.6
677ab1
677ab1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
677ab1
- rebuilt
677ab1
677ab1
* Wed Jul  6 2005 Matthias Clasen <mclasen@redhat.com> 1.4-1
677ab1
- update to 1.4
677ab1
677ab1
* Thu May  5 2005 Matthias Clasen <mclasen@redhat.com> 1.3-1
677ab1
- accept ':' in ids
677ab1
677ab1
* Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> 1.3-1
677ab1
- update to 1.3
677ab1
677ab1
* Tue Sep 21 2004 Matthias Clasen <mclasen@redhat.com> 1.2-2
677ab1
- rebuild 
677ab1
677ab1
* Fri Mar 12 2004 Alex Larsson <alexl@redhat.com> 1.2-1
677ab1
- update to 1.2
677ab1
677ab1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
677ab1
- rebuilt
677ab1
677ab1
* Thu Aug 28 2003 Owen Taylor <otaylor@redhat.com> 1.1-3.0
677ab1
- Move gtk-doc.pc file to %%{_datadir}/pkgconfig (#98595)
677ab1
- Require: /usr/bin/cmp (#88763, Thomas Vander Stichele)
677ab1
- Added libxslt docbook-style-xsl to Require: and BuildPrereq
677ab1
  (#99143, Ken MacFarlane)
677ab1
677ab1
* Tue Jul  8 2003 Owen Taylor <otaylor@redhat.com> 1.1-2.0
677ab1
- Bump for rebuild
677ab1
677ab1
* Thu Jun 12 2003 Owen Taylor <otaylor@redhat.com> 1.1-1
677ab1
- Version 1.1
677ab1
677ab1
* Wed Apr 30 2003 Elliot Lee <sopwith@redhat.com> 0.10-6
677ab1
- Patch to s/head -1/head -n 1/ for ppc64 etc.
677ab1
677ab1
* Wed Feb 12 2003 Elliot Lee <sopwith@redhat.com> 0.10-5
677ab1
- BuildRequires: libxslt
677ab1
677ab1
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
677ab1
- rebuilt
677ab1
677ab1
* Mon Jan 13 2003 Owen Taylor <otaylor@redhat.com> 0.10-3
677ab1
- Clean up some spec file mess
677ab1
677ab1
* Mon Jan 13 2003 Tim Powers <timp@redhat.com> 0.10-2
677ab1
- fiter out the broken perl dep
677ab1
677ab1
* Sun Jan 12 2003 Havoc Pennington <hp@redhat.com>
677ab1
- 0.10
677ab1
677ab1
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 0.9-6
677ab1
- rebuild
677ab1
677ab1
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
677ab1
- automated rebuild
677ab1
677ab1
* Thu May 30 2002 Chip Turner <cturner@redhat.com>
677ab1
- add dependency filter for bogus perl dependencies
677ab1
677ab1
* Thu May 23 2002 Tim Powers <timp@redhat.com>
677ab1
- automated rebuild
677ab1
677ab1
* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
677ab1
- rebuild in different environment
677ab1
677ab1
* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
677ab1
- update to 0.9
677ab1
677ab1
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
677ab1
- automated rebuild
677ab1
677ab1
* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
677ab1
- new cvs snap 0.7.90
677ab1
677ab1
* Mon Sep 17 2001 Matt Wilson <msw@redhat.com>
677ab1
- version 0.7
677ab1
677ab1
* Thu May 17 2001 Havoc Pennington <hp@redhat.com>
677ab1
- upgrade to a CVS snapshot
677ab1
- remove patches applied upstream
677ab1
677ab1
* Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
677ab1
- Replace docbook, sgml-common, and stylesheets requirements with
677ab1
  docbook-utils requirement.
677ab1
- Use public identifier in custom stylesheets.
677ab1
677ab1
* Thu Dec 14 2000 Bill Nottingham <notting@redhat.com>
677ab1
- rebuild because of broken fileutils
677ab1
677ab1
* Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com>
677ab1
- Version 0.4b1 (CVS snapshot)
677ab1
677ab1
* Fri Apr 23 1999 Owen Taylor <otaylor@redhat.com>
677ab1
- added Requires
677ab1
677ab1
* Fri Apr 23 1999 Owen Taylor <otaylor@redhat.com>
677ab1
- Initial RPM, version 0.2
677ab1