[rep-gtk] autogenerate debian/control



commit 35eeb17e3a53acf505bb3ccbb62a5de7e7561e98
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Tue Dec 29 16:33:25 2009 +0100

    autogenerate debian/control

 ChangeLog                      |    4 ++++
 configure.in                   |    3 ++-
 debian/{control => control.in} |   12 ++++++++----
 3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4f658b5..0e6fd0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-29  Christopher Bratusek <zanghar freenet de>
+	* configure.in
+	* debian/control.in: autogenerate debian/control
+
 2009-12-06  Christopher Bratusek <zanghar freenet de>
 	* gtk.defs: GtkExpander implemented
 	************** gtkexpander.h *****************
diff --git a/configure.in b/configure.in
index 06bb761..c6f77d5 100644
--- a/configure.in
+++ b/configure.in
@@ -46,7 +46,7 @@ AC_PROG_GCC_TRADITIONAL
 AC_PROG_LIBTOOL
 
 dnl Check for librep
-REP_MIN_VER="0.17.3"
+REP_MIN_VER="0.90.4"
 
 PKG_CHECK_MODULES(LIBREP, librep >= $REP_MIN_VER
 		  ,REP_EXECDIR="`pkg-config --variable=repcommonexecdir librep`"
@@ -107,6 +107,7 @@ rep-gtk.pc
 rep-gtk.spec
 rep-gtk.ebuild
 debian/changelog
+debian/control
 ])
 
 AC_OUTPUT
diff --git a/debian/control b/debian/control.in
similarity index 58%
rename from debian/control
rename to debian/control.in
index 22969d1..ad2cc60 100644
--- a/debian/control
+++ b/debian/control.in
@@ -3,17 +3,21 @@ Section: lisp
 Priority: optional
 Maintainer: Christopher Roy Bratusek <zanghar freenet de>
 Standards-Version: 3.8.2
-Build-Depends: debhelper (>= 5), librep-dev (>= 0.17.3), rep,
- autotools-dev, libglib2.0-dev (>= 2.6), libgtk2.0-dev (>= 2.12)
+Build-Depends: debhelper (>= 5),
+               librep-dev (>= @REP_MIN_VER@),
+               rep (>= @REP_MIN_VER@),
+               autotools-dev,
+               libglib2.0-dev (>= @GLIB_MIN_VER@),
+               libgtk2.0-dev (>= @GTK_MIN_VER@)
 Homepage: http://sawfish.wikia.com/
 
 Package: rep-gtk
 Architecture: any
-Depends: ${shlibs:Depends}, librep9 (>= 0.17.3)
+Depends: ${shlibs:Depends}
 Conflicts: rep-gtk2
 Replaces: rep-gtk2, rep-gtk-gnome
 Breaks: rep-gtk-gnome (<= 0.18.cvs20060518-3)
-Suggests: rep
+Suggests: rep (>= @REP_MIN_VER@)
 Description: GTK+ binding for librep
  This package provides an interface to the GTK+ graphical toolkit for
  the librep lisp interpreter.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]