# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate ssh-cipher Name: rust-ssh-cipher Version: 0.2.0 Release: %autorelease Summary: Pure Rust implementation of SSH symmetric encryption License: Apache-2.0 OR MIT URL: https://crates.io/crates/ssh-cipher Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Pure Rust implementation of SSH symmetric encryption including support for the modern aes128-gcm@openssh.com/aes256-gcm@openssh.com and chacha20-poly1305@openssh.com algorithms as well as legacy support for older ciphers. Built on the pure Rust cryptography implementations maintained by the RustCrypto organization.} %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}+aes-cbc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-cbc-devel %{_description} This package contains library source intended for building other packages which use the "aes-cbc" feature of the "%{crate}" crate. %files -n %{name}+aes-cbc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+aes-ctr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-ctr-devel %{_description} This package contains library source intended for building other packages which use the "aes-ctr" feature of the "%{crate}" crate. %files -n %{name}+aes-ctr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+aes-gcm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-gcm-devel %{_description} This package contains library source intended for building other packages which use the "aes-gcm" feature of the "%{crate}" crate. %files -n %{name}+aes-gcm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chacha20poly1305-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chacha20poly1305-devel %{_description} This package contains library source intended for building other packages which use the "chacha20poly1305" feature of the "%{crate}" crate. %files -n %{name}+chacha20poly1305-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