46 lines
1.2 KiB
RPMSpec
46 lines
1.2 KiB
RPMSpec
|
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
|