Name: ed25519-java Version: 0.1.0 Release: 4%{?dist} Summary: Implementation of EdDSA (Ed25519) in Java # Source files without license headers https://github.com/str4d/ed25519-java/issues/16 License: CC0 URL: https://github.com/str4d/ed25519-java Source0: https://github.com/str4d/ed25519-java/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.hamcrest:hamcrest-all) BuildArch: noarch %description This is an implementation of EdDSA in Java. Structurally, it is based on the ref10 implementation in SUPERCOP (see http://ed25519.cr.yp.to/software.html). There are two internal implementations: * A port of the radix-2^51 operations in ref10 - fast and constant-time, but only useful for Ed25519. * A generic version using BigIntegers for calculation - a bit slower and not constant-time, but compatible with any EdDSA parameter specification. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{version} # Unwanted tasks %pom_remove_plugin :maven-gpg-plugin %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-source-plugin # Unavailable plugin %pom_remove_plugin :nexus-staging-maven-plugin # Enable test suite %pom_xpath_set pom:skipTests false # java.lang.AssertionError: Not yet implemented rm test/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElementTest.java %mvn_file net.i2p.crypto:eddsa %{name} eddsa %build %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles %doc README.md %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Wed Feb 07 2018 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Mar 18 2016 gil cattaneo 0.1.0-1 - update to 0.1.0 * Sat Dec 05 2015 gil cattaneo 0.0.1-0.1.SNAPSHOT - initial rpm