2017-11-21 06:29:12 +00:00
|
|
|
Name: ocaml-qcheck
|
2020-08-05 20:47:44 +00:00
|
|
|
Version: 0.14
|
2020-08-21 18:43:35 +00:00
|
|
|
Release: 2%{?dist}
|
2017-11-21 06:29:12 +00:00
|
|
|
Summary: QuickCheck inspired property-based testing for OCaml
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/c-cube/qcheck
|
|
|
|
Source0: https://github.com/c-cube/qcheck/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
2020-08-05 20:47:44 +00:00
|
|
|
BuildRequires: ocaml >= 4.03.0
|
2019-07-27 10:18:02 +00:00
|
|
|
BuildRequires: ocaml-dune
|
2020-02-19 22:27:17 +00:00
|
|
|
BuildRequires: ocaml-odoc
|
|
|
|
BuildRequires: ocaml-alcotest-devel
|
2017-11-21 06:29:12 +00:00
|
|
|
BuildRequires: ocaml-ounit-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module allows to check invariants (properties of some types) over
|
|
|
|
randomly generated instances of the type. It provides combinators for
|
|
|
|
generating instances and printing them.
|
|
|
|
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
|
|
|
|
2020-02-19 22:27:17 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
2017-11-21 06:29:12 +00:00
|
|
|
%prep
|
2020-08-05 20:47:44 +00:00
|
|
|
%autosetup -n qcheck-%{version}
|
2020-02-19 22:27:17 +00:00
|
|
|
|
2017-11-21 06:29:12 +00:00
|
|
|
|
|
|
|
%build
|
2020-02-19 22:27:17 +00:00
|
|
|
dune build %{?_smp_mflags} @install --verbose
|
|
|
|
dune build %{?_smp_mflags} @doc
|
2017-11-21 06:29:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2020-02-19 22:27:17 +00:00
|
|
|
dune install --destdir=%{buildroot}
|
|
|
|
|
|
|
|
# We do not want the dune markers
|
|
|
|
find _build/default/_doc/_html -name .dune-keep -delete
|
2018-02-05 03:54:44 +00:00
|
|
|
|
|
|
|
# These files will be installed using doc and license directives.
|
2019-07-27 10:18:02 +00:00
|
|
|
rm -r %{buildroot}%{_prefix}/doc
|
2017-11-21 06:29:12 +00:00
|
|
|
|
2018-02-05 03:54:44 +00:00
|
|
|
# Makes *.cmxs executable such that they will be stripped.
|
|
|
|
find %{buildroot} -name '*.cmxs' -exec chmod 0755 {} \;
|
2017-11-21 06:29:12 +00:00
|
|
|
|
|
|
|
%check
|
2019-07-27 10:18:02 +00:00
|
|
|
dune runtest --no-buffer --profile release
|
2017-11-21 06:29:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.adoc CHANGELOG.md
|
|
|
|
%license LICENSE
|
2020-02-19 22:27:17 +00:00
|
|
|
%dir %{_libdir}/ocaml/qcheck-alcotest/
|
|
|
|
%dir %{_libdir}/ocaml/qcheck-core/
|
|
|
|
%dir %{_libdir}/ocaml/qcheck-ounit/
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cma
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmi
|
2017-11-21 06:29:12 +00:00
|
|
|
%ifarch %{ocaml_native_compiler}
|
2020-02-19 22:27:17 +00:00
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmxs
|
2017-11-21 06:29:12 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc README.adoc CHANGELOG.md
|
|
|
|
%license LICENSE
|
|
|
|
%ifarch %{ocaml_native_compiler}
|
2019-07-27 10:18:02 +00:00
|
|
|
%{_libdir}/ocaml/*/{,*/}*.a
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmxa
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmx
|
2017-11-21 06:29:12 +00:00
|
|
|
%endif
|
2019-07-27 10:18:02 +00:00
|
|
|
%{_libdir}/ocaml/*/{,*/}*.ml
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.mli
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cma
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmi
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmt
|
|
|
|
%{_libdir}/ocaml/*/{,*/}*.cmti
|
|
|
|
%{_libdir}/ocaml/*/dune-package
|
|
|
|
%{_libdir}/ocaml/*/META
|
|
|
|
%{_libdir}/ocaml/*/opam
|
2017-11-21 06:29:12 +00:00
|
|
|
|
|
|
|
|
2020-02-19 22:27:17 +00:00
|
|
|
%files doc
|
|
|
|
%doc _build/default/_doc/_html/
|
|
|
|
%doc _build/default/_doc/_mlds/
|
|
|
|
%doc _build/default/_doc/_odoc/
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
2017-11-21 06:29:12 +00:00
|
|
|
%changelog
|
2020-08-21 18:43:35 +00:00
|
|
|
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.14-2
|
|
|
|
- OCaml 4.11.0 rebuild
|
|
|
|
|
2020-08-05 20:47:44 +00:00
|
|
|
* Wed Aug 5 2020 Jerry James <loganjerry@gmail.com> - 0.14-1
|
|
|
|
- Version 0.14
|
|
|
|
|
2020-08-01 06:43:13 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-8
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 12:18:06 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-05 14:51:50 +00:00
|
|
|
* Tue May 05 2020 Richard W.M. Jones <rjones@redhat.com> - 0.13-6
|
|
|
|
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
|
|
|
|
2020-04-22 14:18:58 +00:00
|
|
|
* Wed Apr 22 2020 Richard W.M. Jones <rjones@redhat.com> - 0.13-5
|
|
|
|
- OCaml 4.11.0 pre-release attempt 2
|
|
|
|
|
2020-04-04 15:28:02 +00:00
|
|
|
* Sat Apr 04 2020 Richard W.M. Jones <rjones@redhat.com> - 0.13-4
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2020-04-04 13:42:59 +00:00
|
|
|
* Sat Apr 04 2020 Richard W.M. Jones <rjones@redhat.com> - 0.13-3
|
|
|
|
- Update all OCaml dependencies for RPM 4.16.
|
|
|
|
|
2020-02-26 20:33:10 +00:00
|
|
|
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 0.13-2
|
|
|
|
- OCaml 4.10.0 final.
|
|
|
|
|
2020-02-19 22:27:17 +00:00
|
|
|
* Wed Feb 19 2020 Jerry James <loganjerry@gmail.com> - 0.13-1
|
|
|
|
- New upstream release.
|
|
|
|
- Build with alcotest support.
|
|
|
|
- Build documentation with odoc, and ship it in a new doc subpackage.
|
|
|
|
|
2020-01-29 19:44:28 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-19 21:11:08 +00:00
|
|
|
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 0.12-2
|
|
|
|
- OCaml 4.10.0+beta1 rebuild.
|
|
|
|
|
2019-12-18 14:11:23 +00:00
|
|
|
* Wed Dec 18 2019 Andy Li <andy@onthewings.net> - 0.12-1
|
|
|
|
- New upstream release. (RHBZ#1757625)
|
|
|
|
- Remove unneeded BuildRequires on opam-installer.
|
|
|
|
|
2019-08-16 17:11:49 +00:00
|
|
|
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 0.10-3
|
|
|
|
- OCaml 4.08.1 (final) rebuild.
|
|
|
|
|
2019-08-01 22:06:07 +00:00
|
|
|
* Thu Aug 01 2019 Richard W.M. Jones <rjones@redhat.com> - 0.10-2
|
|
|
|
- OCaml 4.08.1 (rc2) rebuild.
|
|
|
|
|
2019-07-27 10:18:02 +00:00
|
|
|
* Sat Jul 27 2019 Andy Li <andy@onthewings.net> - 0.10-1
|
|
|
|
- New upstream release.
|
|
|
|
- Update build system and commands from jbuilder to dune.
|
|
|
|
|
2019-07-25 23:00:01 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 16:56:41 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 14:47:48 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-11 18:55:53 +00:00
|
|
|
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 0.8-5
|
|
|
|
- OCaml 4.07.0 (final) rebuild.
|
|
|
|
|
2018-06-20 20:42:08 +00:00
|
|
|
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 0.8-4
|
|
|
|
- OCaml 4.07.0-rc1 rebuild.
|
|
|
|
|
2018-05-14 02:22:05 +00:00
|
|
|
* Mon May 14 2018 Andy Li <andy@onthewings.net> - 0.8-3
|
|
|
|
- Rebuilt against ounit.
|
|
|
|
|
2018-02-08 08:57:20 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 03:54:44 +00:00
|
|
|
* Mon Feb 05 2018 Andy Li <andy@onthewings.net> - 0.8-1
|
|
|
|
- New upstream release. (RHBZ#1541681)
|
|
|
|
- Enable debug package.
|
|
|
|
|
2017-12-02 11:07:59 +00:00
|
|
|
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 0.7-2
|
|
|
|
- OCaml 4.06.0 rebuild.
|
|
|
|
|
2017-11-21 06:29:12 +00:00
|
|
|
* Mon Nov 20 2017 Andy Li <andy@onthewings.net> - 0.7-1
|
|
|
|
- Initial RPM release.
|