%define name camlp5 %define version 6.17 %define release 11 Summary: Camlp5 is a Pre-Processor-Pretty-Printer for OCaml. Name: %{name} Version: %{version} Release: %{release}%{?dist} Distribution: SME Server License: GNU GPL version 2 Group: SME Server/addon Source: %{name}-%{version}.tar.gz URL: http://ocaml.org Packager: Michel Begue BuildRoot: %RPM_BUILD_ROOT BuildRequires: e-smith-devtools BuildRequires: ocaml = 3.12.1 AutoReqProv: no %description %{name} is a Pre-Processor-Pretty-Printer for OCaml. It offers syntactic tools (parsers, extensible grammars), the ability to extend the concrete syntax of OCaml (quotations, syntax extensions), and to redefine it from scratch. This is an advanced tool and should not be used by those new to OCaml. %changelog * Wed Nov 04 2020 Michel Begue 6.17-11.sme - first import to sme10 * Wed Oct 02 2019 Mab974 - fix Requires smeserver-release * Wed Oct 02 2019 Mab974 - initial release v6.17 - builds from unchanged .tar.gz %prep %setup -q %build ./configure -mandir "%{_mandir}" \ -bindir "%{_bindir}" \ -libdir "%{_libdir}/ocaml" ## -cc "%{__cc} %{optflags}" \ ## -mandir "%{_mandir}" \ ## -prefix "%{_prefix}" \ ## -verbose \ ## -with-pthread \ %{__make} world.opt %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" %clean %{__rm} -rf %{buildroot} %pre %post %preun %postun %files %defattr(-, root, root, 0755) %doc CHANGES DEVEL ICHANGES INSTALL LICENSE MODE README UPGRADING %doc %{_mandir}/man1/*.1.* %{_bindir}/* %{_libdir}/ocaml/