File gtk-doc.spec of Package gtk-doc

#
# spec file for package gtk-doc (Version 1.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           gtk-doc
# When updating this package, please don't forget to update the gtk-doc.m4 Source
# in glib2.
BuildRequires:  docbook-xsl-stylesheets libxslt openjade pkg-config python sgml-skel
License:        GPL v2 or later
Group:          Productivity/Publishing/SGML
# Old for <= 10.2 & CODE10
Provides:       gtkdoc = %{version}
Obsoletes:      gtkdoc
Requires:       openjade libxml2 docbook-xsl-stylesheets libxslt docbook_4
Requires:       docbook-dsssl-stylesheets
AutoReqProv:    on
Version:        1.10
Release:        1
Summary:        GTK+ DocBook Documentation Generator
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Gtkdoc is a set of Perl scripts that generate API reference
documentation in DocBook format.  It can extract documentation from
source code comments in a manner similar to Java-doc.  It is used to
generate the documentation for GLib, Gtk+, and GNOME.



Authors:
--------
    Damon Chaplin <damon@karuna.freeserve.co.uk>
    Owen Taylor <otaylor@redhat.com>

%prep
%setup -q

%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
mv -v doc/README doc/doc.README

%files 
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING-DOCS ChangeLog NEWS README TODO doc/*
%{_bindir}/*
%{_datadir}/aclocal/*.m4
%{_datadir}/gtk-doc
%{_datadir}/gtk-doc/html
%{_datadir}/pkgconfig/*.pc
%{_datadir}/sgml/gtk-doc

%clean 
rm -rf $RPM_BUILD_ROOT

%changelog
* Wed Apr 02 2008 maw@suse.de
- Add a note for future packagers.
* Tue Apr 01 2008 rodrigo@suse.de
- Update to version 1.10:
  - http://mail.gnome.org/archives/gtk-doc-list/2008-March/msg00001.html
- Added python as a build dependency
* Fri Nov 23 2007 maw@suse.de
- Update to version 1.9
- Bugs (bugzilla.gnome.org) fixed: #419308, #449618, #453717,
  [#457173], #465920, #467773, #141869, #156643, #322035, #323938,
  [#324535], #355352, #379466, #380824, #383456, #411739, #415388,
  [#418027], #419997, #428596, #434134, #436565, #445596, #445693,
  [#450338], #454916, #457077, #459225, #459725, #460127, #465365,
  [#466559], #471014, #477532, #479913, and #479923.
* Wed Mar 21 2007 maw@suse.de
- Update to version 1.8
- Various bug fixes.
* Fri Sep 01 2006 sbrabec@suse.cz
- Package renamed to gtk-doc.
- Prefix changed to /usr.
- Spec file cleanup.
* Fri Aug 18 2006 jhargadon@suse.de
- update to version 1.7
-  Fixed bug that resulted in empty "@:" lines in the templates.
- Fixed a few bugs with the XSL code.
- Supported a few more variations of C syntax.
- Remove the internally-used '-struct' suffix from links to widget
  structs.
- Fixed a few missing build dependencies.
- Added a new "C-x4s" binding to the emacs lisp code, to insert a blank
  section header in the source code.
- Fixed bug that ignored inline section header docs with '-' in
  their names.
- Added a 'make docs' target that can be used to build the docs even
  when gtk-doc has been disabled at configure time.
* Fri Jul 21 2006 gekker@suse.de
- Update to version 1.6
  o Removed the hard dependancy on openjade or jade, since XML is used mainly
  now rather than SGML.
  o Install the .pc file in $(datadir) rather than $(libdir) since gtk-doc is
  architecture-independant.
  o Added "--ignore-decorators" option to ignore a list of declarators in
  function declarations.
  o Support '#Object::signal'/'#Object:property' to link to signals/properties
  o Fixed missing index terms.
- Update to version 1.5
  o Output the new version of devhelp2 information, but still generate the old
  devhelp files so older versions of DevHelp still work OK.
  o Fixed the initial creation of the *-sections.txt file so the object
  hierarchy, signals and properties all work automatically.
  o Show information about signal flags (run first/last).
  o Support a --source-suffixes argument specifying which source files to scan.
  o Support other root object types besides GObject and GInterface.
  o Use a fixed navigation bar for the generated documentation.
  o New documentation from Stefan Kost.
  o Handle more variations of C syntax.
* Tue Mar 14 2006 gekker@suse.de
- Require docbook-dsssl-stylesheets for SGML output (#152467)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jul 21 2005 gekker@suse.de
- Update to version 1.4.
* Tue May 17 2005 sbrabec@suse.cz
- Added noarch and moved pkgconfig file to datadir (#83201).
* Wed May 11 2005 sbrabec@suse.cz
- Removed noarch (#83201).
* Mon Jan 17 2005 clahey@suse.de
- Updated to version 1.3.
* Tue Feb 24 2004 hmacht@suse.de
- building as non-root
* Thu Feb 19 2004 sbrabec@suse.cz
- Updated to version 1.2.
* Tue Jul 15 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Tue Jun 17 2003 sbrabec@suse.cz
- Fixed head usage for new coreutils.
- Fixed neededforbuild.
* Tue Jun 17 2003 coolo@suse.de
- package directories
* Wed May 28 2003 ke@suse.de
- Use DESTDIR
- Add sgml-skel to #neededforbuild.
* Mon May 26 2003 sbrabec@suse.cz
- Updated to version 1.1.
- Package marked as noarch.
- Fixed Requires.
* Fri Jan 17 2003 sbrabec@suse.cz
- Fixed %%clean.
* Thu Jan 16 2003 sbrabec@suse.cz
- Updated to version 0.10.
* Tue Jan 14 2003 ro@suse.de
- fix newlines printed from perl-code generating gconf-scan
* Mon Nov 11 2002 ro@suse.de
- adapted requires
* Mon Nov 11 2002 ro@suse.de
- changed neededforbuild <jade_dsl> to <openjade>
- changed neededforbuild <sp> to <opensp>
- changed neededforbuild <sp-devel> to <>
* Sun Aug 18 2002 ro@suse.de
- don't overwrite READMEs with each other
* Fri Nov 30 2001 ro@suse.de
- changed neededforbuild <docbktls> to <docbook-toys>
* Mon Nov 26 2001 hhetter@suse.de
- fixed filelist
* Mon Aug 13 2001 ro@suse.de
- changed neededforbuild <sp_libs> to <sp-devel>
* Wed Aug 08 2001 hhetter@suse.de
- updated to version 0.7
* Tue Mar 27 2001 ro@suse.de
- changed neededforbuild <docbkdsl> to <docbook-dsssl-stylesheets>
* Tue Mar 13 2001 ro@suse.de
- changed neededforbuild <docbk30> to <docbook_3>
* Mon Jan 01 2001 egger@suse.de
- Updated to the real 0.4 instead of using a CVS snapshot.
- Fixed specfile and use BuildRoot.
- Cleaned up neededforbuild.
- Recompressed with bzip2.
- Added proper group tag.
* Wed Nov 01 2000 egger@suse.de
- Updated specfile to new long packagenames.
- Reworked specfile.
- Probably needs some more work; I'm taking care of that.
* Thu Jun 08 2000 egger@suse.de
- Try whether an additional gtk_signal_init() solves our
  misterious problems.
* Wed May 10 2000 egger@suse.de
- Changed version on request of bk@suse.de.
* Mon Apr 10 2000 egger@suse.de
- Reenabled the package.
  Please note due to general confusion: This is != gtkref!
* Thu Mar 30 2000 egger@suse.de
- Renamed also the dir to gtkdoc.
* Fri Mar 24 2000 egger@suse.de
- Inital version.
openSUSE Build Service is sponsored by