source: trunk/third/gtk-doc/gtk-doc.spec.in @ 20745

Revision 20745, 2.3 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20744, which included commits to RCS files with non-trunk default branches.
RevLine 
[20744]1# -*- mode: rpm-spec -*-
2
3Summary:        GTK+ DocBook Documentation Generator
4Name:           gtk-doc
5Version:        @VERSION@
6Release:        1
7License:        GPL
8Group:          Utilities/Text
9Source:         ftp://ftp.gtk.org/pub/gtk/v1.1/docs/rdp/gtk-doc-%{version}.tar.gz
10BuildRoot:      /var/tmp/%{name}-%{version}-root
11URL:            http://www.gtk.org/rdp/
12BuildArchitectures: noarch
13Requires:       openjade
14Requires:       perl >= 5.6.0
15Requires:       libxslt
16Requires:       docbook-dtds
17Requires:       docbook-style-xsl
18Provides:       perl(gtkdoc-common.pl)
19
20BuildRequires: perl, openjade, libxslt, docbook-dtds, docbook-style-xsl
21
22%description
23gtk-doc is a set of perl scripts that generate API reference documention in
24DocBook format.  It can extract documentation from source code comments in a
25manner similar to java-doc.  It is used to generate the documentation for
26GLib, Gtk+, and GNOME.
27
28%prep
29%setup -q
30
31# Move this doc file to avoid name collisions
32mv doc/README doc/README.docs
33
34%build
35CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS  --prefix=%{_prefix} \
36        --sysconfdir=%{_sysconfdir} --datadir=%{_datadir}
37
38make
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43make prefix=$RPM_BUILD_ROOT%{_prefix} \
44     sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}  \
45     datadir=$RPM_BUILD_ROOT%{_datadir} install
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(-, root, root)
52
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
58
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/*
65
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)
70
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
79
80* Fri Apr 27 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
81- Merge in some of the features of the redhat spec file.
82
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.
87
88
89
90
91
92
93
Note: See TracBrowser for help on using the repository browser.