- Update to v1.1 * Changes in this version include: + New features: ~ STATISTICS-88: "LogUniformDistribution": Add a log uniform distribution. ~ STATISTICS-87: "FoldedNormalDistribution": Add a folded normal distribution implementation with specialized support for a half-normal distribution. ~ STATISTICS-85: Add a quantile and median implementation. ~ STATISTICS-81: Add descriptive statistics for integer types. These allow improved accuracy and performance for int and long data using an array or streams over using the equivalent double implementation via primitive conversion. ~ STATISTICS-71: Add commons-statistics-descriptive module for implementations of univariate statistics. Contains base interfaces for statistics and implementations for individual statistics (e.g. Min, Max, Sum, Mean, Variance) and combinations of statistics. Thanks to Anirudh Joshi, Alex Herbert. ~ STATISTICS-69: "UncoditionedExactTest": Add an unconditioned exact test for 2x2 contingency tables. ~ STATISTICS-70: "HypergeometricDistribution": Improve the summation used for the cumulative probability functions. ~ STATISTICS-66: Add a Bill of Materials (BOM) to aid in dependency management when referencing multiple Apache Commons Statistics artifacts. The BOM should be used to ensure all imported artifacts are compatible. ~ STATISTICS-64: "FisherExactTest": Add Fisher's exact test for 2x2 contingency tables. ~ STATISTICS-62: Add a commons-statistics-inference module for hypothesis testing. This ports and updates functionality in org.apache.commons.math4.stat.inference including new support for one-sided hypothesis testing. ~ STATISTICS-63: Add a commons-statistics-ranking module for rank transformations. This ports and updates functionality in org.apache.commons.math4.stat.ranking. OBS-URL: https://build.opensuse.org/request/show/1198955 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-statistics?expand=0&rev=2
66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package apache-commons-statistics
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%global base_name statistics
|
|
%global short_name commons-%{base_name}
|
|
Name: apache-%{short_name}
|
|
Version: 1.1
|
|
Release: 0
|
|
Summary: Apache Commons Statistics
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/Java
|
|
URL: https://commons.apache.org/proper/%{short_name}/
|
|
Source0: https://dlcdn.apache.org//commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(org.apache.commons:commons-numbers-bom:pom:)
|
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
BuildRequires: mvn(org.apache.commons:commons-rng-bom:pom:)
|
|
BuildArch: noarch
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
Group: Documentation/HTML
|
|
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%description
|
|
The Apache Commons Statistics project provides tools for statistics.
|
|
|
|
%prep
|
|
%setup -q -n %{short_name}-%{version}-src
|
|
|
|
%pom_remove_plugin :maven-checkstyle-plugin
|
|
|
|
%build
|
|
%{mvn_build} -f
|
|
|
|
%install
|
|
%mvn_install
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE NOTICE
|
|
%doc RELEASE-NOTES.txt {CONTRIBUTING,README,SECURITY}.md
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE NOTICE
|
|
|
|
%changelog
|