Summary: API documentation generation tool for GTK+ and GNOME Name: gtk-doc Version: 1.9 Release: 4%{?dist} License: GPLv2+ and GFDL+ Group: Development/Tools Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.9/gtk-doc-%{version}.tar.bz2 Patch0: docdir.patch Patch1: rebase.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: http://www.gtk.org/gtk-doc BuildRequires: docbook-utils BuildRequires: jade BuildRequires: libxslt BuildRequires: docbook-style-xsl BuildRequires: scrollkeeper BuildRequires: autoconf automake libtool Requires(post): scrollkeeper Requires(postun): scrollkeeper Requires: docbook-utils jade /usr/bin/cmp libxslt docbook-style-xsl # we are installing an automake macro Requires: automake # we are installing a .pc file Requires: pkgconfig # we are installing a .omf file Requires: scrollkeeper # we are installing an sgml catalog Requires: sgml-common Source1: filter-requires-gtk-doc.sh %define __perl_requires %{SOURCE1} %description gtk-doc is a tool for generating API reference documentation. It is used for generating the documentation for GTK+, GLib and GNOME. %prep %setup -q %patch0 -p1 -b .docdir %patch1 -p1 -b .rebase # Move this doc file to avoid name collisions mv doc/README doc/README.docs %build %configure --enable-public-id --disable-scrollkeeper make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # --disable-scrollkeeper is not enough rm -rf $RPM_BUILD_ROOT/var/scrollkeeper mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html %clean rm -rf $RPM_BUILD_ROOT %post scrollkeeper-update -q %postun scrollkeeper-update -q %files %defattr(-, root, root) %doc AUTHORS README doc/* examples COPYING COPYING-DOCS %{_bindir}/* %{_datadir}/aclocal/gtk-doc.m4 %{_datadir}/gtk-doc/ %{_datadir}/sgml/gtk-doc/ %{_datadir}/pkgconfig/gtk-doc.pc %{_datadir}/gnome/help/gtk-doc-manual/ %{_datadir}/omf/gtk-doc/ %changelog * Tue Jan 8 2008 Matthias Clasen - 1.9-4 - Try again * Mon Jan 7 2008 Matthias Clasen - 1.9-3 - Improve the fix * Tue Dec 18 2007 Matthias Clasen - 1.9-2 - Fix a problem in gtk-doc.make * Sun Nov 18 2007 Matthias Clasen - 1.9-1 - Update to 1.9 * Tue Aug 7 2007 Matthias Clasen - 1.8-3 - Update the license field * Thu Mar 29 2007 Matthias Clasen - 1.8-2 - Drop a no longer needed patch * Wed Feb 21 2007 Matthias Clasen - 1.8-1 - Update to 1.8 - Fix some directory ownership issues * Fri Feb 2 2007 Matthias Clasen - 1.7-3 - Fix the omf file (#223684) * Wed Dec 20 2006 Matthias Clasen - 1.7-2 - Own the /usr/share/gtk-doc/html directory (#220230) * Wed Aug 2 2006 Matthias Clasen - 1.7-1.fc6 - Update to 1.7 * Wed Jul 12 2006 Jesse Keating - 1.6-3.1 - rebuild * Mon May 22 2006 Matthias Clasen 1.6-3 - Make it build in mock * Mon Apr 10 2006 Matthias Clasen 1.6-2 - Update to 1.6 * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Jul 6 2005 Matthias Clasen 1.4-1 - update to 1.4 * Thu May 5 2005 Matthias Clasen 1.3-1 - accept ':' in ids * Wed Jan 26 2005 Matthias Clasen 1.3-1 - update to 1.3 * Tue Sep 21 2004 Matthias Clasen 1.2-2 - rebuild * Fri Mar 12 2004 Alex Larsson 1.2-1 - update to 1.2 * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Aug 28 2003 Owen Taylor 1.1-3.0 - Move gtk-doc.pc file to %%{_datadir}/pkgconfig (#98595) - Require: /usr/bin/cmp (#88763, Thomas Vander Stichele) - Added libxslt docbook-style-xsl to Require: and BuildPrereq (#99143, Ken MacFarlane) * Tue Jul 8 2003 Owen Taylor 1.1-2.0 - Bump for rebuild * Thu Jun 12 2003 Owen Taylor 1.1-1 - Version 1.1 * Wed Apr 30 2003 Elliot Lee 0.10-6 - Patch to s/head -1/head -n 1/ for ppc64 etc. * Wed Feb 12 2003 Elliot Lee 0.10-5 - BuildRequires: libxslt * Wed Jan 22 2003 Tim Powers - rebuilt * Mon Jan 13 2003 Owen Taylor 0.10-3 - Clean up some spec file mess * Mon Jan 13 2003 Tim Powers 0.10-2 - fiter out the broken perl dep * Sun Jan 12 2003 Havoc Pennington - 0.10 * Wed Dec 11 2002 Tim Powers 0.9-6 - rebuild * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 30 2002 Chip Turner - add dependency filter for bogus perl dependencies * Thu May 23 2002 Tim Powers - automated rebuild * Thu Apr 25 2002 Havoc Pennington - rebuild in different environment * Thu Apr 4 2002 Jeremy Katz - update to 0.9 * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Jan 2 2002 Havoc Pennington - new cvs snap 0.7.90 * Mon Sep 17 2001 Matt Wilson - version 0.7 * Thu May 17 2001 Havoc Pennington - upgrade to a CVS snapshot - remove patches applied upstream * Tue Jan 16 2001 Tim Waugh - Replace docbook, sgml-common, and stylesheets requirements with docbook-utils requirement. - Use public identifier in custom stylesheets. * Thu Dec 14 2000 Bill Nottingham - rebuild because of broken fileutils * Mon Nov 13 2000 Owen Taylor - Version 0.4b1 (CVS snapshot) * Fri Apr 23 1999 Owen Taylor - added Requires * Fri Apr 23 1999 Owen Taylor - Initial RPM, version 0.2