2017-11-16 12:57:38 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
Name: ocaml-oasis
|
2018-04-05 16:00:48 +00:00
|
|
|
Version: 0.4.11
|
2021-03-15 15:45:42 +00:00
|
|
|
Release: 26%{?dist}
|
2017-11-16 12:57:38 +00:00
|
|
|
Summary: Tooling for building OCaml libraries and applications
|
|
|
|
|
|
|
|
License: LGPLv2+ with exceptions
|
|
|
|
URL: http://oasis.forge.ocamlcore.org/
|
2018-04-05 16:00:48 +00:00
|
|
|
Source0: https://forge.ocamlcore.org/frs/download.php/1757/oasis-%{version}.tar.gz
|
2017-11-16 12:57:38 +00:00
|
|
|
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-ocamlbuild-devel
|
|
|
|
BuildRequires: ocaml-findlib-devel
|
|
|
|
BuildRequires: ocamlify
|
|
|
|
BuildRequires: ocamlmod
|
|
|
|
BuildRequires: ocaml-ocamldoc
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
|
|
|
%description
|
|
|
|
OASIS generates a full configure, build and install system for your
|
|
|
|
application. It starts with a simple _oasis file at the toplevel of
|
|
|
|
your project and creates everything required.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and signature files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n oasis-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
ocaml setup.ml -configure \
|
|
|
|
--destdir $RPM_BUILD_ROOT \
|
|
|
|
--prefix %{_prefix}
|
|
|
|
ocaml setup.ml -build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
export DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
|
|
mkdir -p $OCAMLFIND_DESTDIR
|
|
|
|
ocaml setup.ml -install
|
|
|
|
|
|
|
|
# generate manpage
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
|
help2man $RPM_BUILD_ROOT%{_bindir}/oasis \
|
|
|
|
--output $RPM_BUILD_ROOT%{_mandir}/man1/oasis.1 \
|
|
|
|
--name "Tooling for building OCaml libraries and applications" \
|
|
|
|
--version-string %{version} \
|
|
|
|
--no-info
|
|
|
|
|
|
|
|
%check
|
|
|
|
ocaml setup.ml -test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md CHANGES.txt
|
|
|
|
%license COPYING.txt
|
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{_libdir}/ocaml
|
|
|
|
%dir %{_libdir}/ocaml/*
|
|
|
|
%ifarch %{ocaml_native_compiler}
|
|
|
|
%{_libdir}/ocaml/*/*.cmxs
|
|
|
|
%endif
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc README.md CHANGES.txt
|
|
|
|
%license COPYING.txt
|
|
|
|
%dir %{_libdir}/ocaml
|
|
|
|
%dir %{_libdir}/ocaml/*
|
|
|
|
%ifarch %{ocaml_native_compiler}
|
|
|
|
%{_libdir}/ocaml/*/*.a
|
|
|
|
%{_libdir}/ocaml/*/*.cmx
|
|
|
|
%{_libdir}/ocaml/*/*.cmxa
|
|
|
|
%endif
|
|
|
|
%{_libdir}/ocaml/*/*.annot
|
|
|
|
%{_libdir}/ocaml/*/*.cma
|
|
|
|
%{_libdir}/ocaml/*/*.cmi
|
|
|
|
%{_libdir}/ocaml/*/*.cmt
|
|
|
|
%{_libdir}/ocaml/*/*.cmti
|
|
|
|
%{_libdir}/ocaml/*/*.ml
|
|
|
|
%{_libdir}/ocaml/*/*.mli
|
|
|
|
%{_libdir}/ocaml/*/META
|
|
|
|
|
|
|
|
%changelog
|
2021-03-15 15:45:42 +00:00
|
|
|
* Mon Mar 15 2021 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-26
|
|
|
|
- Bump and rebuild for updated ocaml-findlib.
|
|
|
|
|
2021-03-01 21:39:49 +00:00
|
|
|
* Mon Mar 1 21:39:48 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-25
|
|
|
|
- OCaml 4.12.0 build
|
|
|
|
|
2021-01-26 22:01:42 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-01 20:44:35 +00:00
|
|
|
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-23
|
|
|
|
- OCaml 4.11.1 rebuild
|
|
|
|
|
2020-08-21 18:20:56 +00:00
|
|
|
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-22
|
|
|
|
- OCaml 4.11.0 rebuild
|
|
|
|
|
2020-07-28 12:13:46 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-05 14:03:37 +00:00
|
|
|
* Tue May 05 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-20
|
|
|
|
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
|
|
|
|
2020-04-21 22:00:15 +00:00
|
|
|
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-19
|
|
|
|
- OCaml 4.11.0 pre-release attempt 2
|
|
|
|
|
2020-04-04 11:38:33 +00:00
|
|
|
* Sat Apr 04 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-18
|
|
|
|
- Update all OCaml dependencies for RPM 4.16.
|
|
|
|
|
2020-02-27 09:09:13 +00:00
|
|
|
* Thu Feb 27 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-17
|
|
|
|
- OCaml 4.10.0 final.
|
|
|
|
|
2020-01-29 19:40:01 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-19 16:28:22 +00:00
|
|
|
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-15
|
|
|
|
- OCaml 4.10.0+beta1 rebuild.
|
|
|
|
|
2020-01-09 23:22:27 +00:00
|
|
|
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-14
|
|
|
|
- OCaml 4.09.0 for riscv64
|
|
|
|
|
2019-12-06 15:50:20 +00:00
|
|
|
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-13
|
|
|
|
- OCaml 4.09.0 (final) rebuild.
|
|
|
|
|
2019-08-16 17:05:40 +00:00
|
|
|
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-12
|
|
|
|
- OCaml 4.08.1 (final) rebuild.
|
|
|
|
|
2019-07-31 20:13:44 +00:00
|
|
|
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-11
|
|
|
|
- OCaml 4.08.1 (rc2) rebuild.
|
|
|
|
|
2019-07-25 22:56:32 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-27 20:44:52 +00:00
|
|
|
* Thu Jun 27 2019 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-9
|
|
|
|
- OCaml 4.08.0 (final) rebuild.
|
|
|
|
|
2019-04-29 19:05:32 +00:00
|
|
|
* Mon Apr 29 2019 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-8
|
|
|
|
- OCaml 4.08.0 (beta 3) rebuild.
|
|
|
|
|
2019-02-01 16:53:33 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 14:45:42 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-12 14:39:26 +00:00
|
|
|
* Thu Jul 12 2018 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-5
|
|
|
|
- OCaml 4.07.0 (final) rebuild.
|
|
|
|
|
2018-06-20 15:54:28 +00:00
|
|
|
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-4
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2018-06-20 12:53:07 +00:00
|
|
|
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-3
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2018-06-20 11:17:11 +00:00
|
|
|
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 0.4.11-2
|
|
|
|
- OCaml 4.07.0-rc1 rebuild.
|
|
|
|
|
2018-04-05 16:00:48 +00:00
|
|
|
* Thu Apr 05 2018 Andy Li <andy@onthewings.net> - 0.4.11-1
|
|
|
|
- New upstream release. (#1563675)
|
|
|
|
|
2018-02-08 08:54:01 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-12-13 13:32:58 +00:00
|
|
|
* Wed Dec 13 2017 Richard W.M. Jones <rjones@redhat.com> - 0.4.10-3
|
|
|
|
- Rebuild against new ocamlbuild.
|
|
|
|
|
2017-12-02 11:22:10 +00:00
|
|
|
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 0.4.10-2
|
|
|
|
- OCaml 4.06.0 rebuild.
|
|
|
|
|
2017-11-16 12:57:38 +00:00
|
|
|
* Wed Nov 15 2017 Andy Li <andy@onthewings.net> - 0.4.10-1
|
|
|
|
- Initial RPM release.
|