26b9dc
%global debug_package %{nil}
26b9dc
26b9dc
Name: gtk-doc
26b9dc
Version: 1.28
26b9dc
Release: 2%{?dist}
26b9dc
Summary: API documentation generation tool for GTK+ and GNOME
26b9dc
26b9dc
License: GPLv2+ and GFDL
26b9dc
URL: http://www.gtk.org/gtk-doc
26b9dc
Source0: http://download.gnome.org/sources/gtk-doc/1.28/gtk-doc-%{version}.tar.xz
26b9dc
# Fix a crasher bug caused by mismatched variable name:
26b9dc
# https://bugzilla.gnome.org/show_bug.cgi?id=796011
26b9dc
Patch0: 0001-Fix-a-missed-variable-rename-in-ScanDirectory-caused.patch
26b9dc
# Fix another crasher bug caused by wrong use of re groups:
26b9dc
# https://bugzilla.gnome.org/show_bug.cgi?id=796012
26b9dc
Patch1: 0002-Replace-match.groups-1-with-match.group-1.patch
26b9dc
26b9dc
BuildRequires: dblatex
26b9dc
BuildRequires: docbook-utils
26b9dc
BuildRequires: /usr/bin/xsltproc
26b9dc
BuildRequires: docbook-style-xsl
26b9dc
BuildRequires: python2-devel
26b9dc
BuildRequires: python-six
26b9dc
BuildRequires: gettext
26b9dc
BuildRequires: source-highlight
26b9dc
BuildRequires: yelp-tools
26b9dc
26b9dc
# Following are not automatically installed
26b9dc
Requires: docbook-utils /usr/bin/xsltproc docbook-style-xsl
26b9dc
Requires: python-six
26b9dc
Requires: source-highlight
26b9dc
26b9dc
%description
26b9dc
gtk-doc is a tool for generating API reference documentation.
26b9dc
It is used for generating the documentation for GTK+, GLib
26b9dc
and GNOME.
26b9dc
26b9dc
%prep
26b9dc
%autosetup -p1
26b9dc
26b9dc
# Move this doc file to avoid name collisions
26b9dc
mv doc/README doc/README.docs
26b9dc
26b9dc
%build
26b9dc
%configure
26b9dc
make %{?_smp_mflags}
26b9dc
26b9dc
%install
26b9dc
%make_install
26b9dc
26b9dc
%check
26b9dc
# For reasons unknown first make check fails with texlive debug spew in log
26b9dc
# files. Just run it twice to work this around.
26b9dc
make check || make check
26b9dc
26b9dc
%files
26b9dc
%license COPYING COPYING-DOCS
26b9dc
%doc AUTHORS README doc/* examples
26b9dc
%{_bindir}/*
26b9dc
%{_datadir}/aclocal/
26b9dc
%{_datadir}/gtk-doc/
26b9dc
%{_datadir}/pkgconfig/gtk-doc.pc
26b9dc
%{_datadir}/help/*/gtk-doc-manual/
26b9dc
%{_libdir}/cmake/
26b9dc
26b9dc
%changelog
26b9dc
* Thu May 10 2018 Adam Williamson <awilliam@redhat.com> - 1.28-2
26b9dc
- Fix a couple of crasher bugs encountered by halfline (BGO#79601{1,2))
26b9dc
26b9dc
* Sat Mar 24 2018 Kalev Lember <klember@redhat.com> - 1.28-1
26b9dc
- Update to 1.28
26b9dc
- Resolves: #1569971
26b9dc
26b9dc
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 1.25-1
26b9dc
- Update to 1.25
26b9dc
- Resolves: #1386981
26b9dc
26b9dc
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.19-3
26b9dc
- Mass rebuild 2013-12-27
26b9dc
26b9dc
* Tue Oct 29 2013 Matthias Clasen <mclasen@redhat.com> - 1.19-2
26b9dc
- Fix sorting of the annotation glossary
26b9dc
26b9dc
* Wed Jun  5 2013 Matthias Clasen <mclasen@redhat.com> - 1.19-1
26b9dc
- Update to 1.19
26b9dc
26b9dc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
26b9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
26b9dc
26b9dc
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
26b9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
26b9dc
26b9dc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
26b9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
26b9dc
26b9dc
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 1.18-1
26b9dc
- Update to 1.18
26b9dc
26b9dc
* Mon Mar  7 2011 Matthias Clasen <mclasen@redhat.com> - 1.17-1
26b9dc
- Update to 1.17
26b9dc
26b9dc
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-2
26b9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
26b9dc
26b9dc
* Fri Jan 14 2011 Matthias Clasen <mclasen@redhat.com> - 1.16-1
26b9dc
- Update to 1.16
26b9dc
26b9dc
* Fri Sep 24 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.15-2
26b9dc
- Merge-review cleanup (#225870)
26b9dc
26b9dc
* Sun May 23 2010 Matthias Clasen <mclasen@redhat.com> - 1.15-1
26b9dc
- Update to 1.15
26b9dc
26b9dc
* Sun Mar 28 2010 Matthias Clasen <mclasen@redhat.com> - 1.14-1
26b9dc
- Update to 1.14
26b9dc
26b9dc
* Wed Jan  6 2010 Matthias Clasen <mclasen@redhat.com> - 1.13-2
26b9dc
- Fix issues with gtkdoc-fixxref
26b9dc
26b9dc
* Tue Dec 22 2009 Matthias Clasen <mclasen@redhat.com> - 1.13-1
26b9dc
- Update to 1.13
26b9dc
26b9dc
* Thu Dec  3 2009 Matthias Clasen <mclasen@redhat.com> - 1.11-6
26b9dc
- Drop unnecessary BRs
26b9dc
26b9dc
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5
26b9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
26b9dc
26b9dc
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-4
26b9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
26b9dc
26b9dc
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> - 1.11-3
26b9dc
- Fix an index generation problem
26b9dc
26b9dc
* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 1.11-2
26b9dc
- Update to 1.11
26b9dc
26b9dc
* Fri Jul 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.10-2
26b9dc
- fix license tag
26b9dc
26b9dc
* Thu Apr 24 2008 Matthias Clasen <mclasen@redhat.com> - 1.10-1
26b9dc
- Update to 1.10
26b9dc
26b9dc
* Tue Jan  8 2008 Matthias Clasen <mclasen@redhat.com> - 1.9-4
26b9dc
- Try again 
26b9dc
26b9dc
* Mon Jan  7 2008 Matthias Clasen <mclasen@redhat.com> - 1.9-3
26b9dc
- Improve the fix 
26b9dc
26b9dc
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 1.9-2
26b9dc
- Fix a problem in gtk-doc.make
26b9dc
26b9dc
* Sun Nov 18 2007 Matthias Clasen <mclasen@redhat.com> - 1.9-1
26b9dc
- Update to 1.9
26b9dc
26b9dc
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 1.8-3
26b9dc
- Update the license field
26b9dc
26b9dc
* Thu Mar 29 2007 Matthias Clasen <mclasen@redhat.com> - 1.8-2
26b9dc
- Drop a no longer needed patch
26b9dc
26b9dc
* Wed Feb 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.8-1
26b9dc
- Update to 1.8
26b9dc
- Fix some directory ownership issues
26b9dc
26b9dc
* Fri Feb  2 2007 Matthias Clasen <mclasen@redhat.com> - 1.7-3
26b9dc
- Fix the omf file (#223684)
26b9dc
26b9dc
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 1.7-2
26b9dc
- Own the /usr/share/gtk-doc/html directory (#220230)
26b9dc
26b9dc
* Wed Aug  2 2006 Matthias Clasen <mclasen@redhat.com> - 1.7-1.fc6
26b9dc
- Update to 1.7
26b9dc
26b9dc
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.6-3.1
26b9dc
- rebuild
26b9dc
26b9dc
* Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> 1.6-3
26b9dc
- Make it build in mock
26b9dc
26b9dc
* Mon Apr 10 2006 Matthias Clasen <mclasen@redhat.com> 1.6-2
26b9dc
- Update to 1.6
26b9dc
26b9dc
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
26b9dc
- rebuilt
26b9dc
26b9dc
* Wed Jul  6 2005 Matthias Clasen <mclasen@redhat.com> 1.4-1
26b9dc
- update to 1.4
26b9dc
26b9dc
* Thu May  5 2005 Matthias Clasen <mclasen@redhat.com> 1.3-1
26b9dc
- accept ':' in ids
26b9dc
26b9dc
* Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> 1.3-1
26b9dc
- update to 1.3
26b9dc
26b9dc
* Tue Sep 21 2004 Matthias Clasen <mclasen@redhat.com> 1.2-2
26b9dc
- rebuild 
26b9dc
26b9dc
* Fri Mar 12 2004 Alex Larsson <alexl@redhat.com> 1.2-1
26b9dc
- update to 1.2
26b9dc
26b9dc
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
26b9dc
- rebuilt
26b9dc
26b9dc
* Thu Aug 28 2003 Owen Taylor <otaylor@redhat.com> 1.1-3.0
26b9dc
- Move gtk-doc.pc file to %%{_datadir}/pkgconfig (#98595)
26b9dc
- Require: /usr/bin/cmp (#88763, Thomas Vander Stichele)
26b9dc
- Added libxslt docbook-style-xsl to Require: and BuildPrereq
26b9dc
  (#99143, Ken MacFarlane)
26b9dc
26b9dc
* Tue Jul  8 2003 Owen Taylor <otaylor@redhat.com> 1.1-2.0
26b9dc
- Bump for rebuild
26b9dc
26b9dc
* Thu Jun 12 2003 Owen Taylor <otaylor@redhat.com> 1.1-1
26b9dc
- Version 1.1
26b9dc
26b9dc
* Wed Apr 30 2003 Elliot Lee <sopwith@redhat.com> 0.10-6
26b9dc
- Patch to s/head -1/head -n 1/ for ppc64 etc.
26b9dc
26b9dc
* Wed Feb 12 2003 Elliot Lee <sopwith@redhat.com> 0.10-5
26b9dc
- BuildRequires: libxslt
26b9dc
26b9dc
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
26b9dc
- rebuilt
26b9dc
26b9dc
* Mon Jan 13 2003 Owen Taylor <otaylor@redhat.com> 0.10-3
26b9dc
- Clean up some spec file mess
26b9dc
26b9dc
* Mon Jan 13 2003 Tim Powers <timp@redhat.com> 0.10-2
26b9dc
- fiter out the broken perl dep
26b9dc
26b9dc
* Sun Jan 12 2003 Havoc Pennington <hp@redhat.com>
26b9dc
- 0.10
26b9dc
26b9dc
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 0.9-6
26b9dc
- rebuild
26b9dc
26b9dc
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
26b9dc
- automated rebuild
26b9dc
26b9dc
* Thu May 30 2002 Chip Turner <cturner@redhat.com>
26b9dc
- add dependency filter for bogus perl dependencies
26b9dc
26b9dc
* Thu May 23 2002 Tim Powers <timp@redhat.com>
26b9dc
- automated rebuild
26b9dc
26b9dc
* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
26b9dc
- rebuild in different environment
26b9dc
26b9dc
* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
26b9dc
- update to 0.9
26b9dc
26b9dc
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
26b9dc
- automated rebuild
26b9dc
26b9dc
* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
26b9dc
- new cvs snap 0.7.90
26b9dc
26b9dc
* Mon Sep 17 2001 Matt Wilson <msw@redhat.com>
26b9dc
- version 0.7
26b9dc
26b9dc
* Thu May 17 2001 Havoc Pennington <hp@redhat.com>
26b9dc
- upgrade to a CVS snapshot
26b9dc
- remove patches applied upstream
26b9dc
26b9dc
* Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
26b9dc
- Replace docbook, sgml-common, and stylesheets requirements with
26b9dc
  docbook-utils requirement.
26b9dc
- Use public identifier in custom stylesheets.
26b9dc
26b9dc
* Thu Dec 14 2000 Bill Nottingham <notting@redhat.com>
26b9dc
- rebuild because of broken fileutils
26b9dc
26b9dc
* Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com>
26b9dc
- Version 0.4b1 (CVS snapshot)
26b9dc
26b9dc
* Fri Apr 23 1999 Owen Taylor <otaylor@redhat.com>
26b9dc
- added Requires
26b9dc
26b9dc
* Fri Apr 23 1999 Owen Taylor <otaylor@redhat.com>
26b9dc
- Initial RPM, version 0.2
26b9dc