From c6110f4922bfa54b4d17c9230b0358a1d0140b30 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:06:59 +0100 Subject: [PATCH] package created using the webbuild interface [release 4.07-1mamba;Sun Apr 21 2019] --- README.md | 2 ++ camlp4.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 camlp4.spec diff --git a/README.md b/README.md index 9ea47be..9530a23 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # camlp4 +A software system for writing extensible parsers for programming languages. + diff --git a/camlp4.spec b/camlp4.spec new file mode 100644 index 0000000..18292c2 --- /dev/null +++ b/camlp4.spec @@ -0,0 +1,61 @@ +Name: camlp4 +Version: 4.07 +Release: 1mamba +Summary: A software system for writing extensible parsers for programming languages +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ocaml/camlp4 +## GITSOURCE https://github.com/ocaml/camlp4.git 4.07 +Source: https://github.com/ocaml/camlp4.git/%{version}/camlp4-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ocaml +BuildRequires: ocamlbuild +Provides: ocaml-camlp4 +Obsoletes: ocaml-camlp4 +Provides: ocaml-camlp4-devel +Obsoletes: ocaml-camlp4-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A software system for writing extensible parsers for programming languages. + +%prep +%setup -q + +%build +./configure \ + --bindir=%{_bindir} \ + --libdir=%{_libdir} \ + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/camlp4 +%{_bindir}/camlp4boot +%{_bindir}/camlp4o +%{_bindir}/camlp4of +%{_bindir}/camlp4oof +%{_bindir}/camlp4orf +%{_bindir}/camlp4prof +%{_bindir}/camlp4r +%{_bindir}/camlp4rf +%{_bindir}/mkcamlp4 +%dir %{_libdir}/camlp4 +%{_libdir}/camlp4/* +%doc LICENSE + +%changelog +* Sun Apr 21 2019 Silvan Calarco 4.07-1mamba +- package created using the webbuild interface