ghc-statistics/ghc-statistics.spec

237 lines
7.4 KiB
RPMSpec
Raw Permalink Normal View History

2023-01-22 17:42:37 +00:00
# generated by cabal-rpm-2.1.0 --subpackage
2020-06-04 11:28:21 +00:00
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
2017-12-14 20:22:01 +00:00
%global pkg_name statistics
%global pkgver %{pkg_name}-%{version}
%global denselinearalgebra dense-linear-algebra-0.1.0.0
%global subpkgs %{denselinearalgebra}
2020-06-19 08:56:59 +00:00
# testsuite missing deps: tasty-expected-failure
2017-12-14 20:22:01 +00:00
Name: ghc-%{pkg_name}
2023-01-22 17:42:37 +00:00
Version: 0.16.1.2
# can only be reset when all subpkgs bumped
2023-01-22 17:42:37 +00:00
Release: 13%{?dist}
2017-12-14 20:22:01 +00:00
Summary: A library of statistical types, data, and functions
2023-01-22 17:42:37 +00:00
License: BSD-2-Clause
2017-12-14 20:22:01 +00:00
Url: https://hackage.haskell.org/package/%{pkg_name}
2019-02-17 14:47:12 +00:00
# Begin cabal-rpm sources:
2017-12-14 20:22:01 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{denselinearalgebra}/%{denselinearalgebra}.tar.gz
2019-02-17 14:47:12 +00:00
# End cabal-rpm sources
2017-12-14 20:22:01 +00:00
2019-02-17 14:47:12 +00:00
# Begin cabal-rpm deps:
2017-12-14 20:22:01 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
2023-01-22 17:42:37 +00:00
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-async-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-data-default-class-devel
BuildRequires: ghc-deepseq-devel
#BuildRequires: ghc-dense-linear-algebra-devel
BuildRequires: ghc-math-functions-devel
BuildRequires: ghc-mwc-random-devel
BuildRequires: ghc-parallel-devel
BuildRequires: ghc-primitive-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-algorithms-devel
BuildRequires: ghc-vector-binary-instances-devel
BuildRequires: ghc-vector-th-unbox-devel
%if %{with ghc_prof}
BuildRequires: ghc-aeson-prof
2020-02-14 04:02:40 +00:00
BuildRequires: ghc-async-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-binary-prof
BuildRequires: ghc-data-default-class-prof
BuildRequires: ghc-deepseq-prof
#BuildRequires: ghc-dense-linear-algebra-prof
BuildRequires: ghc-math-functions-prof
BuildRequires: ghc-mwc-random-prof
2023-01-22 17:42:37 +00:00
BuildRequires: ghc-parallel-prof
BuildRequires: ghc-primitive-prof
2023-01-22 17:42:37 +00:00
BuildRequires: ghc-random-prof
BuildRequires: ghc-vector-prof
BuildRequires: ghc-vector-algorithms-prof
BuildRequires: ghc-vector-binary-instances-prof
BuildRequires: ghc-vector-th-unbox-prof
2023-01-22 17:42:37 +00:00
%endif
2017-12-14 20:22:01 +00:00
# End cabal-rpm deps
%description
This library provides a number of common functions and types useful in
statistics. We focus on high performance, numerical robustness, and use of good
algorithms. Where possible, we provide references to the statistical
literature.
The library's facilities can be divided into four broad categories:
* Working with widely used discrete and continuous probability distributions.
(There are dozens of exotic distributions in use; we focus on the most common.)
* Computing with sample data: quantile estimation, kernel density estimation,
histograms, bootstrap methods, significance testing, and regression and
autocorrelation analysis.
* Random variate generation under several different distributions.
* Common statistical tests for significant differences between samples.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
2018-01-24 13:12:02 +00:00
%if %{defined ghc_version}
2017-12-14 20:22:01 +00:00
Requires: ghc-compiler = %{ghc_version}
2018-01-24 13:12:02 +00:00
%endif
2017-12-14 20:22:01 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
2020-02-06 16:13:45 +00:00
BuildArch: noarch
2021-07-07 16:30:13 +00:00
Requires: ghc-filesystem
2017-12-14 20:22:01 +00:00
%description doc
This package provides the Haskell %{pkg_name} library documentation.
%endif
2017-12-14 20:22:01 +00:00
%if %{with ghc_prof}
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
2020-02-06 16:13:45 +00:00
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
2017-12-14 20:22:01 +00:00
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{denselinearalgebra}
%endif
%global version %{main_version}
2017-12-14 20:22:01 +00:00
%prep
2019-02-17 14:47:12 +00:00
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1
2019-02-17 14:47:12 +00:00
# End cabal-rpm setup
2017-12-14 20:22:01 +00:00
%build
2019-02-17 14:47:12 +00:00
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
2017-12-14 20:22:01 +00:00
%ghc_lib_build
2019-02-17 14:47:12 +00:00
# End cabal-rpm build
2017-12-14 20:22:01 +00:00
%install
2019-02-17 14:47:12 +00:00
# Begin cabal-rpm install
%ghc_libs_install %{subpkgs}
2017-12-14 20:22:01 +00:00
%ghc_lib_install
2019-02-17 14:47:12 +00:00
# End cabal-rpm install
2017-12-14 20:22:01 +00:00
%files -f %{name}.files
2019-02-17 14:47:12 +00:00
# Begin cabal-rpm files:
2017-12-14 20:22:01 +00:00
%license LICENSE
2019-02-17 14:47:12 +00:00
# End cabal-rpm files
2017-12-14 20:22:01 +00:00
%files devel -f %{name}-devel.files
%doc README.markdown changelog.md examples
%if %{with haddock}
%files doc -f %{name}-doc.files
2020-02-06 16:13:45 +00:00
%license LICENSE
%endif
2017-12-14 20:22:01 +00:00
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
2018-09-13 10:01:15 +00:00
%endif
2017-12-14 20:22:01 +00:00
%changelog
2023-01-22 17:42:37 +00:00
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.16.1.2-13
- https://hackage.haskell.org/package/statistics-0.16.1.2/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-17 17:20:47 +00:00
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.15.2.0-11
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-08-06 05:07:42 +00:00
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.15.2.0-9
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2.0-6
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-17 10:38:54 +00:00
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.15.2.0-4
- refresh to cabal-rpm-2.0.6
2020-02-14 04:02:40 +00:00
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.15.2.0-3
- update to 0.15.2.0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-07-25 16:41:07 +00:00
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.15.0.0-1
- update to 0.15.0.0
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-02-17 14:47:12 +00:00
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.14.0.2-8
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-07-28 15:53:29 +00:00
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.14.0.2-6
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-26 10:57:35 +00:00
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.14.0.2-3
- rebuild
2017-12-18 20:52:33 +00:00
* Mon Dec 04 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.14.0.2-2
2017-12-14 20:22:01 +00:00
- Split documentation into separate subpackage.
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.14.0.2-1
- spec file generated by cabal-rpm-0.11.2