SHA256
1
0
forked from pool/jafama

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
This commit is contained in:
Fridrich Strba 2020-02-27 09:10:08 +00:00 committed by Git OBS Bridge
commit 7b96841cd0
6 changed files with 132 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
jafama-2.3.1-sources.jar Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18dba209c2c7c5837b661723c03dc3dc300bfd8897b5e3fa17ffc05884941995
size 165774

33
jafama-2.3.1.pom Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.jafama</groupId>
<artifactId>jafama</artifactId>
<version>2.3.1</version>
<packaging>jar</packaging>
<name>Java Fast Math</name>
<description>A (Strict)FastMath class with 1e-15ish accuracy.</description>
<url>http://sourceforge.net/projects/jafama/</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Jeff Hain</name>
<email>jeffhain@rocketmail.com</email>
</developer>
</developers>
<scm>
<url>http://sourceforge.net/p/jafama/code/ci/master/tree/</url>
</scm>
</project>

4
jafama.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Feb 27 08:59:14 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Initial packaging of jafama 2.3.1

68
jafama.spec Normal file
View File

@ -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