patch for .spec file
- From: Damon Chaplin <damon ximian com>
- To: "gtk-doc-list gnome org" <gtk-doc-list gnome org>
- Subject: patch for .spec file
- Date: Thu, 03 May 2001 20:33:56 -0400
Here's a patch from Toshio Kuratomi <badger prtr-13 ucsc edu>
for the .spec.in file, in case people want to comment.
(Note that I know very little about .spec files so can't comment)
Damon
--- gtk-doc/gtk-doc.spec.in.bak Fri Apr 27 05:18:23 2001
+++ gtk-doc/gtk-doc.spec.in Fri Apr 27 07:18:03 2001
@@ -2,7 +2,8 @@
%define ver @VERSION@
%define rel 1
%define prefix /usr
-%define sysconfdir /etc
+%define sysconfdir /etc
+%define datadir %{prefix}/share
Summary: GTK+ DocBook Documentation Generator
Name: gtk-doc
@@ -11,17 +12,24 @@
Copyright: GPL
Group: Utilities/Text
Source: ftp://ftp.gtk.org/pub/gtk/v1.1/docs/rdp/gtk-doc-%{ver}.tar.gz
-BuildRoot: /tmp/gtk-doc-root
+BuildRoot: %{_tmppath}/%{name}-root
Obsoletes: gtk-doc
Packager: John Gotts <jgotts linuxsavvy com>
URL: http://www.gtk.org/rdp/
-Docdir: %{prefix}/doc
+Docdir: %{datadir}/doc
BuildArchitectures: noarch
+Requires: jade
%description
-GTK+ DocBook documentation generator.
+gtk-doc is a set of perl scripts that generate API reference documention 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.
%changelog
+* Fri Apr 27 2001 Toshio Kuratomi <badger prtr-13 ucsc edu>
+- Merge in some of the features of the redhat spec file.
+
* Wed Nov 15 2000 John Gotts <jgotts linuxsavvy com>
- Minor updates for 0.4.
* Thu Aug 26 1999 John E. Gotts <jgotts engin umich edu>
@@ -30,6 +38,9 @@
%prep
%setup
+# Move this doc file to avoid name collisions
+mv doc/README doc/README.docs
+
%build
%ifarch alpha
MYARCH_FLAGS="--host=alpha-redhat-linux"
@@ -60,8 +71,10 @@
%files
%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/README
-%doc doc/authors.txt doc/gnome.txt doc/gtk_button.txt doc/notes.txt
-%doc doc/sections-file.txt doc/setting-up.txt doc/style-guide.txt
+%doc AUTHORS COPYING ChangeLog README doc/* examples
+# INSTALL is generic instructions from autoconf
+# NEWS is currently empty
+# %doc INSTALL NEWS
+
%{prefix}/bin/*
%{prefix}/share/gtk-doc/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]