Initial import (#2213266)

epel9
Fabio Valentini 2 years ago
parent 72b3806331
commit 3b4a5b00e1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/primeorder-0.13.2.crate

@ -1,3 +0,0 @@
# rust-primeorder
The rust-primeorder package

@ -0,0 +1,120 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate primeorder
Name: rust-primeorder
Version: 0.13.2
Release: %autorelease
Summary: Complete addition formulas for prime order elliptic curves
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/primeorder
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Pure Rust implementation of complete addition formulas for prime order
elliptic curves (Renes-Costello-Batina 2015). Generic over field
elements and curve equation coefficients.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dev-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dev-devel %{_description}
This package contains library source intended for building other packages which
use the "dev" feature of the "%{crate}" crate.
%files -n %{name}+dev-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serdect-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serdect-devel %{_description}
This package contains library source intended for building other packages which
use the "serdect" feature of the "%{crate}" crate.
%files -n %{name}+serdect-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1,2 @@
[DEFAULT]
summary = Complete addition formulas for prime order elliptic curves

@ -0,0 +1 @@
SHA512 (primeorder-0.13.2.crate) = 8d7005b3463442f6e982e7cce91851cf60abb9da7fa20b148a660f2727f0229c6af33411fefba6a3c956325ccaca593a8e13a0f8d905b1ea26bc3f53fcbe9b11
Loading…
Cancel
Save