From d8c9fecad26e0a355908b25eb41f45823533de5c Mon Sep 17 00:00:00 2001 From: Luca Padovani Date: Wed, 17 Jan 2001 17:52:29 +0000 Subject: [PATCH] the spec file is now autoconfigured --- helm/DEVEL/lablgtkmathview/configure.in | 4 +-- ...w-0.2.2-1.spec => lablgtkmathview.spec.in} | 6 ++--- helm/DEVEL/mlminidom/mlminidom.spec.in | 27 +++++++++++++++++++ 3 files changed, 32 insertions(+), 5 deletions(-) rename helm/DEVEL/lablgtkmathview/{lablgtkmathview-0.2.2-1.spec => lablgtkmathview.spec.in} (82%) create mode 100644 helm/DEVEL/mlminidom/mlminidom.spec.in diff --git a/helm/DEVEL/lablgtkmathview/configure.in b/helm/DEVEL/lablgtkmathview/configure.in index c1403adea..011dccbe8 100644 --- a/helm/DEVEL/lablgtkmathview/configure.in +++ b/helm/DEVEL/lablgtkmathview/configure.in @@ -19,8 +19,8 @@ AC_MSG_CHECKING(for the ocaml library dir) OCAML_ROOT=`ocamlc -v | grep "^Standard" | sed 's/^.*: *//'` AC_MSG_RESULT($OCAML_ROOT) -RES="yes" AC_CHECK_FILE($OCAML_ROOT/lablgtk/gtk.ml, + RES="yes" LABLGTK_LIB_DIR=$OCAML_ROOT/lablgtk, RES="no" ) @@ -39,8 +39,8 @@ if test $RES = "no"; then AC_CACHE_SAVE fi -RES="yes" AC_CHECK_FILE($OCAML_ROOT/mlminidom/minidom.mli, + RES="yes" MLMINIDOM_LIB_DIR=$OCAML_ROOT/mlminidom, RES="no" ) diff --git a/helm/DEVEL/lablgtkmathview/lablgtkmathview-0.2.2-1.spec b/helm/DEVEL/lablgtkmathview/lablgtkmathview.spec.in similarity index 82% rename from helm/DEVEL/lablgtkmathview/lablgtkmathview-0.2.2-1.spec rename to helm/DEVEL/lablgtkmathview/lablgtkmathview.spec.in index 9bc18375c..47b868916 100644 --- a/helm/DEVEL/lablgtkmathview/lablgtkmathview-0.2.2-1.spec +++ b/helm/DEVEL/lablgtkmathview/lablgtkmathview.spec.in @@ -1,13 +1,13 @@ Summary: The LablGTK binding for the GtkMathView widget -Name: lablgtkmathview -Version: 0.2.2 +Name: @PACKAGE@ +Version: @VERSION@ Release: 1 Copyright: GPL URL: http://www.cs.unibo.it/helm Packager: Luca Padovani Requires: gtkmathview >= 0.2.2 ocaml >= 3.00 lablgtk_20001129, lablgtk-20001129_gtkmathview Group: Applications/Publishing -Source: www.cs.unibo.it:/~lpadovan/mml-widget/lablgtkmathview-0.2.2.tar.gz +Source: www.cs.unibo.it:/~lpadovan/mml-widget/@PACKAGE@-@VERSION@.tar.gz %description The LablGTK binding for the GtkMathView widget diff --git a/helm/DEVEL/mlminidom/mlminidom.spec.in b/helm/DEVEL/mlminidom/mlminidom.spec.in new file mode 100644 index 000000000..ecac5f7f8 --- /dev/null +++ b/helm/DEVEL/mlminidom/mlminidom.spec.in @@ -0,0 +1,27 @@ +Summary: The Ocaml binding for the minidom library +Name: @PACKAGE@ +Version: @VERSION@ +Release: 1 +Copyright: GPL +URL: http://www.cs.unibo.it/helm +Packager: Luca Padovani +Requires: ocaml >= 3.00, minidom >= 0.0.1, glib, glib-devel +Group: Applications/Publishing +Source: www.cs.unibo.it:/~lpadovan/mml-widget/@PACKAGE@-@VERSION@.tar.gz +%description +The Ocaml binding for the minidom library + +%prep +%setup + +%build +./configure + +%install +make +make opt +make install + +%files +%doc AUTHORS COPYING ChangeLog NEWS README +/usr/lib/ocaml/mlminidom -- 2.39.2