]> git.sur5r.net Git - glabels/commitdiff
2004-08-09 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Mon, 9 Aug 2004 04:22:27 +0000 (04:22 +0000)
committerJim Evins <evins@snaught.com>
Mon, 9 Aug 2004 04:22:27 +0000 (04:22 +0000)
* configure.in:
* glabels.spec.in:
Cleanup of required library macros.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@442 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/ChangeLog
glabels2/configure.in
glabels2/glabels.spec.in

index f8bba99d35b219bc6b5fa93702d4177bb86d2ac6..e12617d85ec9d7660bd0111ba06f23aed00a9430 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-09  Jim Evins  <evins@snaught.com>
+
+       * configure.in:
+       * glabels.spec.in:
+               Cleanup of required library macros.
+
 2004-08-08  Jim Evins  <evins@snaught.com>
 
        * glabels.spec.in:
index 293c19b3992ad769055560c1800e9a98bd75e09a..ab3311043a35ce88ebf52ade703e20c2cbfb23be 100644 (file)
@@ -24,24 +24,42 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 
 
 dnl *******************************************************************
-dnl * Check for required package and version
+dnl * Check for required packages and versions
 dnl *******************************************************************
 dnl Minimum versions of libraries
 GLIB_REQUIRED=2.2.0
 GTK_REQUIRED=2.0.5
+LIBGNOME_REQUIRED=2.0.1
 LIBGNOMEUI_REQUIRED=2.0.1
 LIBBONOBO_REQUIRED=2.0.0
+LIBBONOBOUI_REQUIRED=2.0.0
 LIBXML_REQUIRED=2.4.23
 LIBGNOMEPRINT_REQUIRED=2.2.0
 LIBGNOMEPRINTUI_REQUIRED=2.2.0
 LIBGNOMECANVAS_REQUIRED=2.0.1
 LIBGLADE_REQUIRED=2.0.1
+
+dnl Make above strings available for rpm spec file
+AC_SUBST(GLIB_REQUIRED)
+AC_SUBST(GTK_REQUIRED)
+AC_SUBST(LIBGNOME_REQUIRED)
+AC_SUBST(LIBGNOMEUI_REQUIRED)
+AC_SUBST(LIBBONOBO_REQUIRED)
+AC_SUBST(LIBBONOBOUI_REQUIRED)
+AC_SUBST(LIBXML_REQUIRED)
+AC_SUBST(LIBGNOMEPRINT_REQUIRED)
+AC_SUBST(LIBGNOMEPRINTUI_REQUIRED)
+AC_SUBST(LIBGNOMECANVAS_REQUIRED)
+AC_SUBST(LIBGLADE_REQUIRED)
                
+dnl glabels prerequisites
 PKG_CHECK_MODULES(GLABELS, \
 glib-2.0 >= $GLIB_REQUIRED \
 gtk+-2.0 >= $GTK_REQUIRED \
+libgnome-2.0 >= $LIBGNOME_REQUIRED \
 libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \
 libbonobo-2.0 >= $LIBBONOBO_REQUIRED \
+libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED \
 libxml-2.0 >= $LIBXML_REQUIRED \
 libgnomeprint-2.2 >= $LIBGNOMEPRINT_REQUIRED \
 libgnomeprintui-2.2 >= $LIBGNOMEPRINTUI_REQUIRED \
@@ -52,6 +70,7 @@ libglade-2.0 >= $LIBGLADE_REQUIRED \
 AC_SUBST(GLABELS_CFLAGS)
 AC_SUBST(GLABELS_LIBS)
 
+dnl libglabels more modest prerequisites
 PKG_CHECK_MODULES(LIBGLABELS, \
 glib-2.0 >= $GLIB_REQUIRED \
 libxml-2.0 >= $LIBXML_REQUIRED \
index 84fa545d2e1ef86f9a1116a48d604a7c6d97e80e..952ec6dee8353b3c63d8b73019f934bce86b1377 100644 (file)
@@ -10,12 +10,21 @@ Source: %{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/root-%{name}-%{version}
 Prefix: %{_prefix}
 
-BuildRequires: gtk+-devel >= 1.2
-BuildRequires: libgnomeui-devel >= 2.0
-BuildRequires: libgnomecanvas-devel >= 2.0
-BuildRequires: libgnomeprint22-devel >= 2.2
-BuildRequires: libxml2-devel >= 2.4
-BuildRequires: libglade2-devel >= 2.0
+BuildRequires: gtk2-devel >= @GTK_REQUIRED@
+BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
+BuildRequires: libgnomeui-devel >= @LIBGNOMEUI_REQUIRED@
+BuildRequires: libbonoboui-devel >= @LIBBONOBOUI_REQUIRED@
+BuildRequires: libgnomecanvas-devel >= @LIBGNOMECANVAS_REQUIRED@
+BuildRequires: libgnomeprintui22-devel >= @LIBGNOMEPRINT_REQUIRED@
+BuildRequires: libglade2-devel >= @LIBGLADE_REQUIRED@
+
+Requires: gtk2 >= @GTK_REQUIRED@
+Requires: libxml2 >= @LIBXML_REQUIRED@
+Requires: libgnomeui >= @LIBGNOMEUI_REQUIRED@
+Requires: libbonoboui >= @LIBBONOBOUI_REQUIRED@
+Requires: libgnomecanvas >= @LIBGNOMECANVAS_REQUIRED@
+Requires: libgnomeprintui22 >= @LIBGNOMEPRINT_REQUIRED@
+Requires: libglade2 >= @LIBGLADE_REQUIRED@
 
 %description
 gLabels is a lightweight program for creating labels and