12 Star 0 Fork 6

src-openEuler / apache-commons-math

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
apache-commons-math.spec 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2020-08-10 16:14 . package init
%global short_name commons-math3
Name: apache-commons-math
Version: 3.4.1
Release: 1
Summary: Java library of lightweight mathematics and statistics components
License: ASL 1.1 and ASL 2.0 and BSD
URL: http://commons.apache.org/math/
Source0: http://archive.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz
Patch1: %{name}-3.4.1-RHBZ1402145.patch
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0 jpackage-utils maven-local
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
Requires: jpackage-utils
%description
Commons Math is a library of lightweight, self-contained mathematics and
statistics components addressing the most common problems not available in the
Java programming language or Commons Lang.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%autosetup -n %{short_name}-%{version}-src -p1
%mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
%mvn_file :%{short_name} %{short_name} %{name}
%pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%changelog
* Tue Jul 28 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 3.4.1-1
- Package init
1
https://gitee.com/src-openeuler/apache-commons-math.git
git@gitee.com:src-openeuler/apache-commons-math.git
src-openeuler
apache-commons-math
apache-commons-math
openEuler-22.03-LTS

搜索帮助