From 78d6a297c0b30a4c1029e8a2d4a48b158b257a2a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:01:07 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.9.0-1mamba;Sun May 05 2019] --- README.md | 2 ++ ocaml-re.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 ocaml-re.spec diff --git a/README.md b/README.md index 47373c6..0eb59e7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ocaml-re +Pure OCaml regular expressions, with support for Perl and POSIX-style strings. + diff --git a/ocaml-re.spec b/ocaml-re.spec new file mode 100644 index 0000000..4ec91a6 --- /dev/null +++ b/ocaml-re.spec @@ -0,0 +1,45 @@ +Name: ocaml-re +Version: 1.9.0 +Release: 1mamba +Summary: Pure OCaml regular expressions, with support for Perl and POSIX-style strings +Group: System/Libraries/OCaml +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ocaml/ocaml-re +## GITSOURCE https://github.com/ocaml/ocaml-re.git 1.9.0 +Source: https://github.com/ocaml/ocaml-re.git/%{version}/ocaml-re-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: dune +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Pure OCaml regular expressions, with support for Perl and POSIX-style strings. + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +dune install \ + --destdir=%{buildroot} \ + --libdir=%{_libdir}/ocaml + +rm -rf %{buildroot}%{_prefix}/doc + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_libdir}/ocaml/re +%{_libdir}/ocaml/re/* + +%changelog +* Sun May 05 2019 Silvan Calarco 1.9.0-1mamba +- package created using the webbuild interface