initial import (#1897796)

epel9
Fabio Valentini 4 years ago
parent adf31aa906
commit f5e11c881d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/aes-gcm-0.8.0.crate

@ -1,3 +0,0 @@
# rust-aes-gcm
The rust-aes-gcm package

@ -0,0 +1,125 @@
# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
%global crate aes-gcm
Name: rust-%{crate}
Version: 0.8.0
Release: 1%{?dist}
Summary: AES-GCM (Galois/Counter Mode) AEAD Cipher implementation
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/aes-gcm
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Pure Rust implementation of the AES-GCM (Galois/Counter Mode) Authenticated
Encryption with Associated Data (AEAD) Cipher with optional architecture-
specific hardware acceleration.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+aes-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+aes-devel %{_description}
This package contains library source intended for building other packages
which use "aes" feature of "%{crate}" crate.
%files -n %{name}+aes-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages
which use "alloc" feature of "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+zeroize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description}
This package contains library source intended for building other packages
which use "zeroize" feature of "%{crate}" crate.
%files -n %{name}+zeroize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Fri Nov 06 2020 Fabio Valentini <decathorpe@gmail.com> - 0.8.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (aes-gcm-0.8.0.crate) = 7ee59aa0d08bdd8627a471a57ab6bbc14686290e808b0909749cc08592ca6be76d1b83b5bbf16dbca34192be182f14d930729654b7a485bb448b0eb36a32f7e9
Loading…
Cancel
Save