1 # -*- mode: rpm-spec -*-
3 Summary: GTK
+ DocBook Documentation Generator
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
14 Requires: perl
>= 5.6.0
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
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.
31 # Move this doc file to avoid name collisions
32 mv doc
/README doc
/README.docs
35 CFLAGS
="$RPM_OPT_FLAGS" .
/configure $MYARCH_FLAGS
--prefix
=%{_prefix} \
36 --sysconfdir
=%{_sysconfdir} --datadir=%{_datadir}
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
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(-, root
, root
)
53 %doc AUTHORS COPYING ChangeLog README doc
/* examples
54 # INSTALL is generic instructions from autoconf
55 # NEWS is currently empty
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
/*
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.
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
>