%define name camlp5 %define version 6.17 %define release 1 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 Requires: smeserver-release >= 9.0 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 * Fri Apr 05 2019 Mab974 - update to v6.17 - builds from unchanged .tar.gz * Fri Dec 19 2014 Mab974 - initial release - 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/