2024-01-06 07:57:11 +01:00
|
|
|
Name: ocaml-pcre
|
2024-01-06 07:57:11 +01:00
|
|
|
Version: 7.4.6
|
2024-01-06 07:57:11 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Perl Compatibility Regular Expressions for OCaml
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:57:11 +01:00
|
|
|
URL: https://mmottl.github.io/pcre-ocaml/
|
|
|
|
Source: https://github.com/mmottl/pcre-ocaml.git/%{version}/pcre-ocaml-%{version}.tar.bz2
|
2024-01-06 07:57:11 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: ocaml
|
2024-01-06 07:57:11 +01:00
|
|
|
BuildRequires: ocaml-runtime
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:57:11 +01:00
|
|
|
BuildRequires: ocaml-ocamldoc
|
|
|
|
BuildRequires: ocaml-findlib
|
2024-01-06 07:57:11 +01:00
|
|
|
BuildRequires: dune
|
2024-01-06 07:57:11 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This OCaml-library interfaces the C-library PCRE (Perl-compatibility Regular Expressions).
|
|
|
|
It can be used for matching regular expressions which are written in "PERL"-style.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and signature files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pcre-ocaml-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 07:57:11 +01:00
|
|
|
dune build
|
2024-01-06 07:57:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:57:11 +01:00
|
|
|
dune install \
|
|
|
|
--destdir=%{buildroot} \
|
|
|
|
--libdir=%{_libdir}/ocaml
|
2024-01-06 07:57:11 +01:00
|
|
|
|
2024-01-06 07:57:11 +01:00
|
|
|
rm -r %{buildroot}%{_prefix}/doc
|
2024-01-06 07:57:11 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:57:11 +01:00
|
|
|
%dir %{_libdir}/ocaml/pcre
|
|
|
|
%{_libdir}/ocaml/pcre/dune-package
|
|
|
|
%{_libdir}/ocaml/pcre/META
|
|
|
|
%{_libdir}/ocaml/pcre/opam
|
|
|
|
%{_libdir}/ocaml/pcre/*.cma
|
|
|
|
%{_libdir}/ocaml/pcre/*.cmi
|
|
|
|
%{_libdir}/ocaml/pcre/*.cmt
|
|
|
|
%{_libdir}/ocaml/pcre/*.cmti
|
|
|
|
%{_libdir}/ocaml/pcre/*.cmxs
|
|
|
|
%{_libdir}/ocaml/pcre/*.ml
|
2024-01-06 07:57:11 +01:00
|
|
|
%{_libdir}/ocaml/stublibs/*.so*
|
2024-01-06 07:57:11 +01:00
|
|
|
%doc LICENSE.md
|
2024-01-06 07:57:11 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:57:11 +01:00
|
|
|
%{_libdir}/ocaml/pcre/*.a
|
|
|
|
%{_libdir}/ocaml/pcre/*.cmx
|
|
|
|
%{_libdir}/ocaml/pcre/*.cmxa
|
|
|
|
%{_libdir}/ocaml/pcre/*.mli
|
2024-01-06 07:57:11 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:57:11 +01:00
|
|
|
%doc examples/
|
2024-01-06 07:57:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:57:11 +01:00
|
|
|
* Tue May 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.6-1mamba
|
|
|
|
- update to 7.4.6
|
|
|
|
|
2024-01-06 07:57:11 +01:00
|
|
|
* Sat Dec 21 2013 Automatic Build System <autodist@mambasoft.it> 7.0.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 7.0.2-5mamba
|
|
|
|
- install dll libs in stublibs because this directory is known by ocaml ans so we do not need to modify ld.conf
|
|
|
|
|
|
|
|
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 7.0.2-4mamba
|
|
|
|
- provide a devel package
|
|
|
|
|
|
|
|
* Sat Jun 22 2013 Davide Madrisan <davide.madrisan@gmail.com> 7.0.2-3mamba
|
|
|
|
- install the files in in a path known by ocamlfind
|
|
|
|
|
|
|
|
* Sat Jun 22 2013 openmamba WebBuild System <webbuild@openmamba.org> 7.0.2-2mamba
|
|
|
|
- add build requirements
|
|
|
|
|
|
|
|
* Wed Jan 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.2-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|