2023-08-06 10:09:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package apache-commons-statistics
|
|
|
|
#
|
2024-09-05 12:43:00 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2023-08-06 10:09:22 +00:00
|
|
|
#
|
|
|
|
# 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}
|
2024-09-05 12:43:00 +00:00
|
|
|
Version: 1.1
|
2023-08-06 10:09:22 +00:00
|
|
|
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
|