%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) %define debug_package %{nil} Name: ocaml-openin Version: 20070524 Release: 1%{?dist} Summary: OCaml syntax to locally open modules Group: Development/Libraries License: Public Domain URL: http://alain.frisch.fr/soft#openin Source0: http://alain.frisch.fr/info/openin-20070524.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExcludeArch: ppc64 BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel %define _use_internal_dependency_generator 0 %define __find_requires /usr/lib/rpm/ocaml-find-requires.sh %define __find_provides /usr/lib/rpm/ocaml-find-provides.sh %description This package implements a Camlp4 syntax extension for Objective Caml. It adds the syntactic construction: open M in e that can appear in any context where an expression is expected. M is an arbitrary module expression (not only qualified names as for usual open statements) and e is an expression. %prep %setup -q -n openin-%{version} %build make cat > META < - 20070524-1 - Initial RPM release.