# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate cocoon-tpm-crypto Name: rust-cocoon-tpm-crypto Version: 0.1.2 Release: %autorelease Summary: Cocoon TPM project - cryptographic primitives License: Apache-2.0 URL: https://crates.io/crates/cocoon-tpm-crypto Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cocoon TPM project - cryptographic primitives.} %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 %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}+aes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-devel %{_description} This package contains library source intended for building other packages which use the "aes" feature of the "%{crate}" crate. %files -n %{name}+aes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+camellia-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+camellia-devel %{_description} This package contains library source intended for building other packages which use the "camellia" feature of the "%{crate}" crate. %files -n %{name}+camellia-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cbc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cbc-devel %{_description} This package contains library source intended for building other packages which use the "cbc" feature of the "%{crate}" crate. %files -n %{name}+cbc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cfb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cfb-devel %{_description} This package contains library source intended for building other packages which use the "cfb" feature of the "%{crate}" crate. %files -n %{name}+cfb-devel %ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml %package -n %{name}+ecb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecb-devel %{_description} This package contains library source intended for building other packages which use the "ecb" feature of the "%{crate}" crate. %files -n %{name}+ecb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc-devel %{_description} This package contains library source intended for building other packages which use the "ecc" feature of the "%{crate}" crate. %files -n %{name}+ecc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bn_p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bn_p256-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bn_p256" feature of the "%{crate}" crate. %files -n %{name}+ecc_bn_p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bn_p638-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bn_p638-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bn_p638" feature of the "%{crate}" crate. %files -n %{name}+ecc_bn_p638-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bp_p256_r1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bp_p256_r1-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bp_p256_r1" feature of the "%{crate}" crate. %files -n %{name}+ecc_bp_p256_r1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bp_p384_r1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bp_p384_r1-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bp_p384_r1" feature of the "%{crate}" crate. %files -n %{name}+ecc_bp_p384_r1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bp_p512_r1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bp_p512_r1-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bp_p512_r1" feature of the "%{crate}" crate. %files -n %{name}+ecc_bp_p512_r1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p192-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p192-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p192" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p192-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p224-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p224-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p224" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p224-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p256-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p256" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p384-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p384" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p521-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p521-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p521" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p521-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_sm2_p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_sm2_p256-devel %{_description} This package contains library source intended for building other packages which use the "ecc_sm2_p256" feature of the "%{crate}" crate. %files -n %{name}+ecc_sm2_p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecdh-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecdh-devel %{_description} This package contains library source intended for building other packages which use the "ecdh" feature of the "%{crate}" crate. %files -n %{name}+ecdh-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}+ecschnorr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecschnorr-devel %{_description} This package contains library source intended for building other packages which use the "ecschnorr" feature of the "%{crate}" crate. %files -n %{name}+ecschnorr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+enable_arch_math_asm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+enable_arch_math_asm-devel %{_description} This package contains library source intended for building other packages which use the "enable_arch_math_asm" feature of the "%{crate}" crate. %files -n %{name}+enable_arch_math_asm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+enable_x86_64_rdseed-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+enable_x86_64_rdseed-devel %{_description} This package contains library source intended for building other packages which use the "enable_x86_64_rdseed" feature of the "%{crate}" crate. %files -n %{name}+enable_x86_64_rdseed-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+oaep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+oaep-devel %{_description} This package contains library source intended for building other packages which use the "oaep" feature of the "%{crate}" crate. %files -n %{name}+oaep-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ofb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ofb-devel %{_description} This package contains library source intended for building other packages which use the "ofb" feature of the "%{crate}" crate. %files -n %{name}+ofb-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}+rsaes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsaes-devel %{_description} This package contains library source intended for building other packages which use the "rsaes" feature of the "%{crate}" crate. %files -n %{name}+rsaes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsapss-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsapss-devel %{_description} This package contains library source intended for building other packages which use the "rsapss" feature of the "%{crate}" crate. %files -n %{name}+rsapss-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsassa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsassa-devel %{_description} This package contains library source intended for building other packages which use the "rsassa" feature of the "%{crate}" crate. %files -n %{name}+rsassa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha1-devel %{_description} This package contains library source intended for building other packages which use the "sha1" feature of the "%{crate}" crate. %files -n %{name}+sha1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha256-devel %{_description} This package contains library source intended for building other packages which use the "sha256" feature of the "%{crate}" crate. %files -n %{name}+sha256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha384-devel %{_description} This package contains library source intended for building other packages which use the "sha384" feature of the "%{crate}" crate. %files -n %{name}+sha384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3_256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3_256-devel %{_description} This package contains library source intended for building other packages which use the "sha3_256" feature of the "%{crate}" crate. %files -n %{name}+sha3_256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3_384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3_384-devel %{_description} This package contains library source intended for building other packages which use the "sha3_384" feature of the "%{crate}" crate. %files -n %{name}+sha3_384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3_512-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3_512-devel %{_description} This package contains library source intended for building other packages which use the "sha3_512" feature of the "%{crate}" crate. %files -n %{name}+sha3_512-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha512-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha512-devel %{_description} This package contains library source intended for building other packages which use the "sha512" feature of the "%{crate}" crate. %files -n %{name}+sha512-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sm3_256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sm3_256-devel %{_description} This package contains library source intended for building other packages which use the "sm3_256" feature of the "%{crate}" crate. %files -n %{name}+sm3_256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sm4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sm4-devel %{_description} This package contains library source intended for building other packages which use the "sm4" feature of the "%{crate}" crate. %files -n %{name}+sm4-devel %ghost %{crate_instdir}/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 the "zeroize" feature of the "%{crate}" crate. %files -n %{name}+zeroize-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