7852482
Name:          ed25519-java
1983684
Version:       0.3.0
930b39b
Release:       3%{?dist}
7852482
Summary:       Implementation of EdDSA (Ed25519) in Java
7852482
License:       CC0
7852482
URL:           https://github.com/str4d/ed25519-java
7852482
Source0:       https://github.com/str4d/ed25519-java/archive/v%{version}/%{name}-%{version}.tar.gz
7852482
7852482
BuildRequires: maven-local
7852482
BuildRequires: mvn(junit:junit)
7852482
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
7852482
BuildRequires: mvn(org.hamcrest:hamcrest-all)
7852482
7852482
BuildArch:     noarch
7852482
7852482
%description
7852482
This is an implementation of EdDSA in Java. Structurally, it
7852482
is based on the ref10 implementation in SUPERCOP (see
7852482
http://ed25519.cr.yp.to/software.html).
7852482
7852482
There are two internal implementations:
7852482
859e762
* A port of the radix-2^51 operations in ref10
7852482
  - fast and constant-time, but only useful for Ed25519.
7852482
* A generic version using BigIntegers for calculation
7852482
  - a bit slower and not constant-time, but compatible
7852482
    with any EdDSA parameter specification.
7852482
7852482
%package javadoc
7852482
Summary:       Javadoc for %{name}
7852482
7852482
%description javadoc
7852482
This package contains javadoc for %{name}.
7852482
7852482
%prep
7852482
%setup -q -n %{name}-%{version}
7852482
7852482
# Unwanted tasks
7852482
%pom_remove_plugin :maven-gpg-plugin
7852482
%pom_remove_plugin :maven-javadoc-plugin
7852482
%pom_remove_plugin :maven-source-plugin
7852482
# Unavailable plugin
7852482
%pom_remove_plugin :nexus-staging-maven-plugin
5ff6729
# Make dep on sun.security.x509 optional, inject an Import-Package directive
5ff6729
%pom_xpath_inject "pom:configuration/pom:instructions" \
5ff6729
  "<Import-Package>sun.security.x509;resolution:=optional,*</Import-Package>"
7852482
7852482
%mvn_file net.i2p.crypto:eddsa %{name} eddsa
7852482
7852482
%build
1983684
%mvn_build
7852482
7852482
%install
7852482
%mvn_install
7852482
7852482
%files -f .mfiles
7852482
%doc README.md
7852482
%license LICENSE.txt
7852482
7852482
%files javadoc -f .mfiles-javadoc
7852482
%license LICENSE.txt
7852482
7852482
%changelog
930b39b
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
930b39b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
930b39b
5ff6729
* Fri Dec 07 2018 Mat Booth <mat.booth@redhat.com> - 0.3.0-2
5ff6729
- Make dep on sun.security.x509 optional
5ff6729
1983684
* Thu Nov 29 2018 Mat Booth <mat.booth@redhat.com> - 0.3.0-1
1983684
- Update to latest upstream release
1983684
e5c63d2
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-5
e5c63d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e5c63d2
8911b4d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-4
8911b4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8911b4d
c8ec96e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-3
c8ec96e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c8ec96e
83e9c56
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
83e9c56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
83e9c56
7852482
* Fri Mar 18 2016 gil cattaneo <puntogil@libero.it> 0.1.0-1
7852482
- update to 0.1.0
7852482
7852482
* Sat Dec 05 2015 gil cattaneo <puntogil@libero.it> 0.0.1-0.1.SNAPSHOT
7852482
- initial rpm