commit 7b96841cd05d27eb18bb4978d3e0566ff75a674cf640c36d1778b9908aaae02c Author: Fridrich Strba Date: Thu Feb 27 09:10:08 2020 +0000 Accepting request 779841 from home:fstrba:maven new package OBS-URL: https://build.opensuse.org/request/show/779841 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jafama?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jafama-2.3.1-sources.jar b/jafama-2.3.1-sources.jar new file mode 100644 index 0000000..488dd17 --- /dev/null +++ b/jafama-2.3.1-sources.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18dba209c2c7c5837b661723c03dc3dc300bfd8897b5e3fa17ffc05884941995 +size 165774 diff --git a/jafama-2.3.1.pom b/jafama-2.3.1.pom new file mode 100644 index 0000000..856a777 --- /dev/null +++ b/jafama-2.3.1.pom @@ -0,0 +1,33 @@ + + + 4.0.0 + net.jafama + jafama + 2.3.1 + jar + + Java Fast Math + A (Strict)FastMath class with 1e-15ish accuracy. + http://sourceforge.net/projects/jafama/ + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + Jeff Hain + jeffhain@rocketmail.com + + + + + http://sourceforge.net/p/jafama/code/ci/master/tree/ + + + diff --git a/jafama.changes b/jafama.changes new file mode 100644 index 0000000..b3816a5 --- /dev/null +++ b/jafama.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Feb 27 08:59:14 UTC 2020 - Fridrich Strba + +- Initial packaging of jafama 2.3.1 diff --git a/jafama.spec b/jafama.spec new file mode 100644 index 0000000..3ad9bc3 --- /dev/null +++ b/jafama.spec @@ -0,0 +1,68 @@ +# +# spec file for package jafama +# +# Copyright (c) 2020 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/ +# + + +Name: jafama +Version: 2.3.1 +Release: 0 +Summary: A (Strict) FastMath class with 1e-15ish accuracy +License: BSD-3-Clause +Group: Development/Libraries/Java +URL: https://github.com/jeffhain/jafama +Source0: https://repo1.maven.org/maven2/net/jafama/jafama/%{version}/jafama-%{version}-sources.jar +Source1: https://repo1.maven.org/maven2/net/jafama/jafama/%{version}/jafama-%{version}.pom +BuildRequires: fdupes +BuildRequires: java-devel >= 6 +BuildRequires: maven-local +BuildRequires: unzip +BuildArch: noarch + +%description +Jafama (Java Fast Math) is a Java library aiming at providing faster versions +of java.lang.Math treatments, at the eventual cost of 1e-15ish accuracy errors +but still handling special cases properly (NaN, +-Infinity, ties, etc.). +It also provides additional features, such as angles normalization methods, +inverse hyperbolic trigonometry, etc. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{name}-%{version}-sources + +cp %{SOURCE1} pom.xml + +%build +%{mvn_build} -f + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%doc README.txt +%license LICENSE-2.0.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE-2.0.txt +%doc README.txt + +%changelog