Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
jafama
jafama.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jafama.spec of Package jafama
# # spec file for package jafama # # 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/ # Name: jafama Version: 2.3.2 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 API documentation for %{name}. %prep %setup -q -n %{name}-%{version}-sources cp %{SOURCE1} pom.xml %pom_add_plugin org.apache.maven.plugins:maven-jar-plugin \ '<configuration> <archive> <manifestEntries> <Automatic-Module-Name>net.%{name}</Automatic-Module-Name> </manifestEntries> </archive> </configuration>' %{mvn_file} : %{name} %build %{mvn_build} -f -- \ -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %doc README.md %license LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %license LICENSE-2.0.txt %doc README.md %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor