From b095d88c7dfba0638a1b0fcd3bb0cc932a0e3e00 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:51:39 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.6.7-1mamba;Sat Jan 23 2021] --- README.md | 2 ++ ocaml-cppo.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 ocaml-cppo.spec diff --git a/README.md b/README.md index fed5124..84b0cd8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ocaml-cppo +C-style preprocessor for OCaml. + diff --git a/ocaml-cppo.spec b/ocaml-cppo.spec new file mode 100644 index 0000000..baa4648 --- /dev/null +++ b/ocaml-cppo.spec @@ -0,0 +1,53 @@ +Name: ocaml-cppo +Version: 1.6.7 +Release: 1mamba +Summary: C-style preprocessor for OCaml +Group: System/Libraries/OCaml +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ocaml-community/cppo +Source: https://github.com/ocaml-community/cppo.git/v%{version}/cppo-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: ocaml-runtime +BuildRequires: ocamlbuild +## AUTOBUILDREQ-END +BuildRequires: ocaml +BuildRequires: dune +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +C-style preprocessor for OCaml. + +%debug_package + +%prep +%setup -q -n cppo-%{version} + +%build +%make all + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +rm -rf %{buildroot}%{_prefix}/doc + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/cppo +%dir %{_libdir}/ocaml/cppo +%{_libdir}/ocaml/cppo/* +%dir %{_libdir}/ocaml/cppo_ocamlbuild +%{_libdir}/ocaml/cppo_ocamlbuild/* +%doc README.md + +%changelog +* Sat Jan 23 2021 Silvan Calarco 1.6.7-1mamba +- package created using the webbuild interface