# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate ssh-key Name: rust-ssh-key Version: 0.6.6 Release: %autorelease Summary: Pure Rust implementation of SSH key file format decoders/encoders License: Apache-2.0 OR MIT URL: https://crates.io/crates/ssh-key Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Pure Rust implementation of SSH key file format decoders/encoders as described in RFC4251/RFC4253 and OpenSSH key formats, as well as "sshsig" signatures and certificates (including certificate validation and certificate authority support), with further support for the `authorized_keys` and `known_hosts` file formats.} %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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crypto-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crypto-devel %{_description} This package contains library source intended for building other packages which use the "crypto" feature of the "%{crate}" crate. %files -n %{name}+crypto-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dsa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dsa-devel %{_description} This package contains library source intended for building other packages which use the "dsa" feature of the "%{crate}" crate. %files -n %{name}+dsa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecdsa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecdsa-devel %{_description} This package contains library source intended for building other packages which use the "ecdsa" feature of the "%{crate}" crate. %files -n %{name}+ecdsa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ed25519-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ed25519-devel %{_description} This package contains library source intended for building other packages which use the "ed25519" feature of the "%{crate}" crate. %files -n %{name}+ed25519-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+encryption-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+encryption-devel %{_description} This package contains library source intended for building other packages which use the "encryption" feature of the "%{crate}" crate. %files -n %{name}+encryption-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+getrandom-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+getrandom-devel %{_description} This package contains library source intended for building other packages which use the "getrandom" feature of the "%{crate}" crate. %files -n %{name}+getrandom-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+p256-devel %{_description} This package contains library source intended for building other packages which use the "p256" feature of the "%{crate}" crate. %files -n %{name}+p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+p384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+p384-devel %{_description} This package contains library source intended for building other packages which use the "p384" feature of the "%{crate}" crate. %files -n %{name}+p384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+p521-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+p521-devel %{_description} This package contains library source intended for building other packages which use the "p521" feature of the "%{crate}" crate. %files -n %{name}+p521-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand_core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand_core-devel %{_description} This package contains library source intended for building other packages which use the "rand_core" feature of the "%{crate}" crate. %files -n %{name}+rand_core-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsa-devel %{_description} This package contains library source intended for building other packages which use the "rsa" feature of the "%{crate}" crate. %files -n %{name}+rsa-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}+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 %package -n %{name}+tdes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tdes-devel %{_description} This package contains library source intended for building other packages which use the "tdes" feature of the "%{crate}" crate. %files -n %{name}+tdes-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog