[GtkAda] Removed obsolete manpage and references.

Björn Persson rombobeorn at fedoraproject.org
Sat Jul 28 15:52:05 UTC 2012


commit 131a7d86038f22a38254cf1e25ac27809ede274f
Author: Björn Persson <bjorn at rombobjörn.se>
Date:   Sat Jul 28 17:52:00 2012 +0200

    Removed obsolete manpage and references.

 GtkAda-2.24.2-man_xref.patch |   13 +++++++++++++
 GtkAda.spec                  |   14 +++++++++++---
 2 files changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/GtkAda-2.24.2-man_xref.patch b/GtkAda-2.24.2-man_xref.patch
new file mode 100644
index 0000000..3fff5f5
--- /dev/null
+++ b/GtkAda-2.24.2-man_xref.patch
@@ -0,0 +1,13 @@
+--- docs/gtkada-config.1~	2012-07-26 23:50:56.000000000 +0200
++++ docs/gtkada-config.1	2012-07-26 23:50:56.000000000 +0200
+@@ -31,10 +31,6 @@
+ was built with when computing the output for the \-\-cflags and
+ \-\-libs options. This option must be specified
+ before any \-\-libs or \-\-cflags options.
+-.SH "SEE ALSO"
+-.BR gate (1),
+-.BR dgate (1),
+-.BR glade (1)
+ .SH "COPYRIGHT FOR THIS MAN PAGE"
+ This man page has been written by Samuel Tardieu
+ for the Debian GNU/Linux distribution, from informations given
diff --git a/GtkAda.spec b/GtkAda.spec
index 649c337..e83d2bc 100644
--- a/GtkAda.spec
+++ b/GtkAda.spec
@@ -1,6 +1,6 @@
 Name:           GtkAda
 Version:        2.24.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Ada binding to GTK+
 Summary(sv):    Adabindning till GTK+
 Group:          System Environment/Libraries
@@ -28,6 +28,9 @@ Patch8:         GtkAda-2.18.0-link_as_needed.patch
 Patch11:        GtkAda-2.24.2-source_dir.patch
 # "Only <glib.h> can be included directly.":
 Patch12:        GtkAda-2.18.0-no_include_gmain.patch
+# Patch to remove obsolete manpage cross-references, proposed upstream 2012-07-27:
+# http://lists.adacore.com/pipermail/gtkada/2012-July/004160.html
+Patch13:        GtkAda-2.24.2-man_xref.patch
 BuildRequires:  gcc-gnat
 BuildRequires:  gtk2-devel >= 2.21
 BuildRequires:  libgnome-devel
@@ -139,6 +142,7 @@ Paketet %{name}-doc innehåller dokumentationen till %{name}.
 %patch8
 %patch11
 %patch12
+%patch13
 find -name .cvsignore | xargs rm -fr
 
 
@@ -150,9 +154,9 @@ make GNATMAKE="gnatmake %{Gnatmake_optflags}"
 %install
 %{make_install} gprdir=%{_GNAT_project_dir}
 
-# Also install the manpages.
+# Also install the gtkada-config manpage.
 mkdir -p %{buildroot}%{_mandir}/man1
-(cd docs; install -m 0644 gate.1 gtkada-config.1 %{buildroot}%{_mandir}/man1)
+(cd docs; install -m 0644 gtkada-config.1 %{buildroot}%{_mandir}/man1)
 
 # Put the info documentation in the right place.
 mkdir -p %{buildroot}%{_infodir}
@@ -226,6 +230,10 @@ exit 0
 
 
 %changelog
+* Sat Jul 28 2012 Björn Persson <bjorn at rombobjörn.se> - 2.24.2-4
+- Removed the manpage for Gate, as Gate itself has been removed.
+- Removed obsolete references from the manpage for gtkada-config.
+
 * Fri Jul 20 2012 Björn Persson <bjorn at rombobjörn.se> - 2.24.2-3
 - The info version of the user's guide is now installed correctly.
 - Improved the descriptions a little.


More information about the scm-commits mailing list