subpackage splitmix

epel9
Jens Petersen 5 years ago
parent ca239a3782
commit 551575c9a2

1
.gitignore vendored

@ -11,3 +11,4 @@ QuickCheck-2.1.1.1.tar.gz
/QuickCheck-2.11.3.tar.gz /QuickCheck-2.11.3.tar.gz
/QuickCheck-2.12.6.1.tar.gz /QuickCheck-2.12.6.1.tar.gz
/QuickCheck-2.13.2.tar.gz /QuickCheck-2.13.2.tar.gz
/splitmix-0.0.3.tar.gz

@ -1,13 +1,17 @@
# generated by cabal-rpm-2.0.2 # generated by cabal-rpm-2.0.2 --subpackage
# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name QuickCheck %global pkg_name QuickCheck
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%global splitmix splitmix-0.0.3
%global subpkgs %{splitmix}
%bcond_without tests %bcond_without tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 2.13.2 Version: 2.13.2
# can only be reset when all subpkgs bumped
Release: 1%{?dist} Release: 1%{?dist}
Summary: Automatic testing of Haskell programs Summary: Automatic testing of Haskell programs
@ -15,33 +19,34 @@ License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources: # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz
# End cabal-rpm sources # End cabal-rpm sources
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof BuildRequires: ghc-containers-prof
BuildRequires: ghc-deepseq-prof BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-random-prof BuildRequires: ghc-random-prof
BuildRequires: ghc-splitmix-prof #BuildRequires: ghc-splitmix-prof
BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-prof
%if %{with tests} %if %{with tests}
BuildRequires: ghc-process-devel BuildRequires: ghc-process-devel
%endif %endif
# for missing dep 'splitmix':
BuildRequires: ghc-time-prof
# End cabal-rpm deps # End cabal-rpm deps
%description %description
QuickCheck is a library for random testing of program properties. QuickCheck is a library for random testing of program properties. The
programmer provides a specification of the program, in the form of properties
The programmer provides a specification of the program, in the form of which functions should satisfy, and QuickCheck then tests that the properties
properties which functions should satisfy, and QuickCheck then tests that the hold in a large number of randomly generated cases. Specifications are
properties hold in a large number of randomly generated cases. expressed in Haskell, using combinators provided by QuickCheck.
QuickCheck provides combinators to define properties, observe the distribution
Specifications are expressed in Haskell, using combinators defined in the of test data, and define test data generators.
QuickCheck library. QuickCheck provides combinators to define properties,
observe the distribution of test data, and define test data generators.
%package devel %package devel
@ -78,21 +83,33 @@ This package provides the Haskell %{pkg_name} profiling library.
%endif %endif
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{splitmix}
%endif
%global version %{main_version}
%prep %prep
# Begin cabal-rpm setup: # Begin cabal-rpm setup:
%setup -q -n %{pkgver} %setup -q -n %{pkgver} -a1
# End cabal-rpm setup # End cabal-rpm setup
%build %build
# Begin cabal-rpm build: # Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ghc_lib_build %ghc_lib_build
# End cabal-rpm build # End cabal-rpm build
%install %install
# Begin cabal-rpm install # Begin cabal-rpm install
%ghc_libs_install %{subpkgs}
%ghc_lib_install %ghc_lib_install
%ghc_fix_rpath %{pkgver}
# End cabal-rpm install # End cabal-rpm install
@ -134,6 +151,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog %changelog
* Sun Feb 09 2020 Jens Petersen <petersen@redhat.com> - 2.13.2-1 * Sun Feb 09 2020 Jens Petersen <petersen@redhat.com> - 2.13.2-1
- update to 2.13.2 - update to 2.13.2
- subpackage splitmix
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.6.1-2 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1 +1,2 @@
SHA512 (QuickCheck-2.13.2.tar.gz) = d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98 SHA512 (QuickCheck-2.13.2.tar.gz) = d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98
SHA512 (splitmix-0.0.3.tar.gz) = 01d53a606de35c1aef5b4669c19308f63711053a6fee38466e421a7e712bca7cbfa37ffdfcf2a4671fc22354b5e83228255785a808c1b6c3ad941fd550d5560f

Loading…
Cancel
Save