Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > d54a8bfcd89387c4be44d4ea7f00e1ea > files > 1

ocaml-jane-street-headers-0.15.0-2.mga9.src.rpm

%define oname jane-street-headers
%global debug_package %{nil}

Name:           ocaml-%{oname}
Epoch:          1
Version:        0.15.0
Release:        %mkrel 2
Summary:        Jane Street C header files
Group:          Development/OCaml
License:        ASL 2.0
URL:            https://github.com/janestreet/%{oname}
Source0:        https://github.com/janestreet/%{oname}/archive/v%{version}.tar.gz

BuildRequires:  ocaml >= 4.04.2
BuildRequires:  ocaml-dune >= 2.0.0

%description
The repository contains the C header files shared between the various Jane Street packages.


%package        devel
Summary:        Development files for %{name}
Group:          Development/OCaml
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.

%prep
%setup -q -n %{oname}-%{version}

%build
dune build --verbose -p %{oname} %_smp_mflags

%install
dune install --destdir=%{buildroot}
rm -rf %buildroot/usr/doc

# Makes *.cmxs executable such that they will be stripped.
find %{buildroot} -name '*.cmxs' -exec chmod 0755 {} \;

%check
dune runtest

%files
%license LICENSE.md
%doc README.*
%dir %{_libdir}/ocaml/%{oname}
%{_libdir}/ocaml/%{oname}/META
%{_libdir}/ocaml/%{oname}/*dune*
%{_libdir}/ocaml/%{oname}/*.cmi
%{_libdir}/ocaml/%{oname}/*.cma
%{_libdir}/ocaml/%{oname}/*.a
%{_libdir}/ocaml/%{oname}/*.cmxa
%{_libdir}/ocaml/%{oname}/*.cmxs

%files devel
%{_libdir}/ocaml/%{oname}/opam
%{_libdir}/ocaml/%{oname}/*.cmt
%{_libdir}/ocaml/%{oname}/*.cmx
%{_libdir}/ocaml/%{oname}/*.ml*
%{_libdir}/ocaml/%{oname}/*.h


%changelog
* Fri May 20 2022 pterjan <pterjan> 1:0.15.0-2.mga9
+ Revision: 1859491
- Rebuild for OCaml 4.14

* Sun May 08 2022 pterjan <pterjan> 1:0.15.0-1.mga9
+ Revision: 1856905
- Update to 0.15.0

* Tue Mar 29 2022 umeabot <umeabot> 1:0.14.0-3.mga9
+ Revision: 1833138
- Mageia 9 Mass Rebuild

* Wed Oct 13 2021 tv <tv> 1:0.14.0-2.mga9
+ Revision: 1751133
- Rebuild for ocaml 4.13.1

* Sat Mar 06 2021 tv <tv> 1:0.14.0-1.mga9
+ Revision: 1700000
- 0.14.0

* Sun Jan 10 2021 pterjan <pterjan> 1:0.13.0-4.mga8
+ Revision: 1670459
- Rebuild to generate ocamlx provides

* Fri Feb 28 2020 umeabot <umeabot> 1:0.13.0-3.mga8
+ Revision: 1551486
- Rebuild for ocaml 4.10.0 final

* Thu Feb 20 2020 umeabot <umeabot> 1:0.13.0-2.mga8
+ Revision: 1545107
- Mageia 8 Mass Rebuild

* Mon Jan 27 2020 tv <tv> 1:0.13.0-1.mga8
+ Revision: 1483946
- new release + rebuild for ocaml-4.10

* Tue Oct 23 2018 pterjan <pterjan> 1:0.11.0-0.mga7
+ Revision: 1324646
- Update to 0.11.0

* Tue Oct 23 2018 tv <tv> 1:0.10.0-5.mga7
+ Revision: 1324048
- rebuild with ocaml-4.07.1

* Mon Oct 22 2018 pterjan <pterjan> 1:0.10.0-4.mga7
+ Revision: 1323741
- Rebuild for ocaml 4.07

* Sun Sep 23 2018 umeabot <umeabot> 1:0.10.0-3.mga7
+ Revision: 1299881
- Mageia 7 Mass Rebuild

* Fri Jul 06 2018 daviddavid <daviddavid> 1:0.10.0-2.mga7
+ Revision: 1242135
- rebuild against current ocaml stack

* Mon Jan 15 2018 pterjan <pterjan> 1:0.10.0-1.mga7
+ Revision: 1193503
- imported package ocaml-jane-street-headers