package created using the webbuild interface [release 1.9.0-1mamba;Sun May 05 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 08:01:07 +01:00
parent f82e502685
commit 78d6a297c0
2 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ocaml-re
Pure OCaml regular expressions, with support for Perl and POSIX-style strings.

45
ocaml-re.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.9.0-1mamba
- package created using the webbuild interface