[GtkAda] · Corrected dependencies. · Put the sublibraries in the right group. · Improved the description o

Björn Persson rombobeorn at fedoraproject.org
Wed Mar 9 22:48:22 UTC 2011


commit 09bec4291d5516a4144dabf0476eb9537fe222f0
Author: Björn Persson <bjorn at rombobjörn.se>
Date:   Wed Mar 9 23:45:19 2011 +0100

    · Corrected dependencies.
    · Put the sublibraries in the right group.
    · Improved the description of the -devel package.
    · Updated some comments.

 GtkAda.spec |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)
---
diff --git a/GtkAda.spec b/GtkAda.spec
index 14b35bd..a349686 100644
--- a/GtkAda.spec
+++ b/GtkAda.spec
@@ -1,11 +1,13 @@
 Name:           GtkAda
 Version:        2.14.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Ada graphical toolkit based on Gtk+
 Group:          System Environment/Libraries
 License:        GPLv2+
 URL:            http://libre.adacore.com/libre/tools/GtkAda/
-# Source is available, but requires registration
+# Adacore don't understand how to publish files for downloading, but the source
+# is available from here:
+# http://libre.adacore.com/libre/download2
 Source:         GtkAda-gpl-%{version}.tgz
 Patch0:         GtkAda-gtk217.patch
 # Patch to make project files use fedora-gnat-project-common:
@@ -18,11 +20,11 @@ Patch3:         GtkAda-2.14.0-lm.patch
 # Adaptation to an addition in GTK+ 2.21, proposed upstream 2010-06-21:
 # http://lists.adacore.com/pipermail/gtkada/2010-June/003888.html
 Patch4:         GtkAda-2.14.0-GTK+-2.21.patch
-# Patch under development for a more flexible build system:
+# Patch for a more flexible build system, proposed upstream 2011-02-14:
+# http://lists.adacore.com/pipermail/gtkada/2011-February/003969.html
 Patch5:         GtkAda-2.14.1-configuration-3.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gcc-gnat
-BuildRequires:  libgnat
 BuildRequires:  perl
 BuildRequires:  gtk2-devel >= 2.21
 BuildRequires:  libgnome-devel
@@ -39,8 +41,8 @@ BuildRequires:  texinfo
 BuildRequires:  tetex
 BuildRequires:  tetex-dvips
 BuildRequires:  fedora-gnat-project-common
-# gcc-gnat only available on these:
-ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 alpha
+# gcc-gnat is only available on these architectures:
+ExclusiveArch:  %{ix86} x86_64 ia64 ppc ppc64 alpha
 
 %description
 GtkAda is an Ada graphical toolkit based on Gtk+. It allows you to
@@ -54,18 +56,17 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 Requires:       %{name}-gnome%{?_isa} = %{version}-%{release}
 Requires:       %{name}-glade%{?_isa} = %{version}-%{release}
 Requires:       %{name}-gl%{?_isa} = %{version}-%{release}
-Requires:       perl
 Requires:       gtk2-devel%{?_isa}
-Requires:       pkgconfig
-Requires:       fedora-gnat-project-common
+Requires:       fedora-gnat-project-common >= 2
 
 %description devel
-Development files for GtkAda.
+The %{name}-devel package contains source code and linking information for
+developing applications that use %{name}.
 
 
 %package gnome
 Summary:        GNOME bindings of GtkAda
-Group:          Development/Libraries
+Group:          System Environment/Libraries
 
 %description gnome
 %{summary}.
@@ -73,7 +74,7 @@ Group:          Development/Libraries
 
 %package glade
 Summary:        Glade bindings of GtkAda
-Group:          Development/Libraries
+Group:          System Environment/Libraries
 
 %description glade
 %{summary}.
@@ -81,7 +82,7 @@ Group:          Development/Libraries
 
 %package gl
 Summary:        OpenGL bindings of GtkAda
-Group:          Development/Libraries
+Group:          System Environment/Libraries
 
 %description gl
 %{summary}.
@@ -194,6 +195,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Mar 09 2011 Björn Persson <bjorn at rombobjörn.se> - 2.14.1-6
+- Corrected dependencies.
+- Put the sublibraries in the right group.
+- Improved the description of the -devel package.
+
 * Mon Feb 14 2011 Björn Persson <bjorn at rombobjörn.se> - 2.14.1-5
 - Made some dependencies architecture-specific.
 - Made _GNAT_project_dir affect the build system.


More information about the scm-commits mailing list