Initial import (aes 0.7 compat package)

epel9
Fabio Valentini 3 years ago
parent 516b67332f
commit 520d4b71f7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

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

@ -1,3 +0,0 @@
# rust-aes0.7
The rust-aes0.7 package

@ -0,0 +1,132 @@
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate aes
Name: rust-%{crate}0.7
Version: 0.7.5
Release: %autorelease
Summary: Pure Rust implementation of the Advanced Encryption Standard
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/aes
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)
including support for AES in counter mode (a.k.a. AES-CTR).}
%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 LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md README.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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+armv8-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+armv8-devel %{_description}
This package contains library source intended for building other packages which
use the "armv8" feature of the "%{crate}" crate.
%files -n %{name}+armv8-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+compact-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+compact-devel %{_description}
This package contains library source intended for building other packages which
use the "compact" feature of the "%{crate}" crate.
%files -n %{name}+compact-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+ctr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ctr-devel %{_description}
This package contains library source intended for building other packages which
use the "ctr" feature of the "%{crate}" crate.
%files -n %{name}+ctr-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+force-soft-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+force-soft-devel %{_description}
This package contains library source intended for building other packages which
use the "force-soft" feature of the "%{crate}" crate.
%files -n %{name}+force-soft-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+hazmat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hazmat-devel %{_description}
This package contains library source intended for building other packages which
use the "hazmat" feature of the "%{crate}" crate.
%files -n %{name}+hazmat-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
%autochangelog

@ -0,0 +1 @@
SHA512 (aes-0.7.5.crate) = 1e1e6714af9131af6a7e9546339d729979719c9c6751e4e2274e9cc243803920a7317c01a6dc20e31d730ccd43fc65cc2e9a3a29a6bc4d0c9bc0a6a3b65fe5c7
Loading…
Cancel
Save