Add info about how to use '<' and '>'
[gtk-doc.git] / gtk-doc.spec.in
blob1b188e60a70aadcdc66256b1390b3a1926089a22
1 # -*- mode: rpm-spec -*-
3 Summary: GTK+ DocBook Documentation Generator
4 Name: gtk-doc
5 Version: @VERSION@
6 Release: 1
7 License: GPL
8 Group: Utilities/Text
9 Source: ftp://ftp.gtk.org/pub/gtk/v1.1/docs/rdp/gtk-doc-%{version}.tar.gz
10 BuildRoot: /var/tmp/%{name}-%{version}-root
11 URL: http://www.gtk.org/rdp/
12 BuildArchitectures: noarch
13 Requires: openjade
14 Requires: perl >= 5.6.0
15 Requires: libxslt
16 Requires: docbook-dtds
17 Requires: docbook-style-xsl
18 Provides: perl(gtkdoc-common.pl)
20 BuildRequires: perl, openjade, libxslt, docbook-dtds, docbook-style-xsl
22 %description
23 gtk-doc is a set of perl scripts that generate API reference documention in
24 DocBook format. It can extract documentation from source code comments in a
25 manner similar to java-doc. It is used to generate the documentation for
26 GLib, Gtk+, and GNOME.
28 %prep
29 %setup -q
31 # Move this doc file to avoid name collisions
32 mv doc/README doc/README.docs
34 %build
35 CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \
36 --sysconfdir=%{_sysconfdir} --datadir=%{_datadir}
38 make
40 %install
41 rm -rf $RPM_BUILD_ROOT
43 make prefix=$RPM_BUILD_ROOT%{_prefix} \
44 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
45 datadir=$RPM_BUILD_ROOT%{_datadir} install
47 %clean
48 rm -rf $RPM_BUILD_ROOT
50 %files
51 %defattr(-, root, root)
53 %doc AUTHORS COPYING ChangeLog README doc/* examples
54 # INSTALL is generic instructions from autoconf
55 # NEWS is currently empty
56 # %doc INSTALL
57 %doc NEWS
59 %{_bindir}/*
60 %dir %{_datadir}/gtk-doc
61 %dir %{_datadir}/gtk-doc/html
62 %dir %{_datadir}/gtk-doc/data
63 %{_datadir}/gtk-doc/data/*
64 %{_libdir}/pkgconfig/*
66 %changelog
67 * Tue Jun 03 2003 Matthias Clasen <maclas@gmx.de>
68 - Add a missing Provides: and include the .pc file.
69 (#106568, Joe Pranevich)
71 * Sun Aug 12 2001 Jens Finke <jens@gnome.org>
72 - Modified to match GPP standard:
73 - Changed to Copyright to License
74 - Don't use hardcoded path, use rpm macros instead
75 - Moved ChangeLog to the end of the file.
76 - Removed packager
77 - Don't set docdir path.
78 - Use /var/tmp as installation prefix
80 * Fri Apr 27 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
81 - Merge in some of the features of the redhat spec file.
83 * Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
84 - Minor updates for 0.4.
85 * Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
86 - Created spec file.