parent
516b67332f
commit
520d4b71f7
@ -0,0 +1,4 @@
|
||||
/results_*/
|
||||
/*.src.rpm
|
||||
|
||||
/aes-0.7.5.crate
|
@ -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
|
Loading…
Reference in new issue