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"
)
AC_CACHE_SAVE
fi
-RES="yes"
AC_CHECK_FILE($OCAML_ROOT/mlminidom/minidom.mli,
+ RES="yes"
MLMINIDOM_LIB_DIR=$OCAML_ROOT/mlminidom,
RES="no"
)
+++ /dev/null
-Summary: The LablGTK binding for the GtkMathView widget
-Name: lablgtkmathview
-Version: 0.2.2
-Release: 1
-Copyright: GPL
-URL: http://www.cs.unibo.it/helm
-Packager: Luca Padovani <luca.padovani@cs.unibo.it>
-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
-%description
-The LablGTK binding for the GtkMathView widget
-
-%prep
-%setup
-
-%build
-./configure
-make configure
-
-%install
-make
-make opt
-make install
-
-%files
-%doc AUTHORS COPYING ChangeLog NEWS README
-/usr/lib/ocaml/lablgtkmathview
--- /dev/null
+Summary: The LablGTK binding for the GtkMathView widget
+Name: @PACKAGE@
+Version: @VERSION@
+Release: 1
+Copyright: GPL
+URL: http://www.cs.unibo.it/helm
+Packager: Luca Padovani <luca.padovani@cs.unibo.it>
+Requires: gtkmathview >= 0.2.2 ocaml >= 3.00 lablgtk_20001129, lablgtk-20001129_gtkmathview
+Group: Applications/Publishing
+Source: www.cs.unibo.it:/~lpadovan/mml-widget/@PACKAGE@-@VERSION@.tar.gz
+%description
+The LablGTK binding for the GtkMathView widget
+
+%prep
+%setup
+
+%build
+./configure
+make configure
+
+%install
+make
+make opt
+make install
+
+%files
+%doc AUTHORS COPYING ChangeLog NEWS README
+/usr/lib/ocaml/lablgtkmathview
--- /dev/null
+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 <luca.padovani@cs.unibo.it>
+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