# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate cms Name: rust-cms Version: 0.2.3 Release: 1%{?dist} Summary: Pure Rust implementation of the Cryptographic Message Syntax License: Apache-2.0 OR MIT URL: https://crates.io/crates/cms Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Pure Rust implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652 and RFC 3274.} %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 # FIXME: no license files detected %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-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}+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}+builder-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+builder-devel %{_description} This package contains library source intended for building other packages which use the "builder" feature of the "%{crate}" crate. %files -n %{name}+builder-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}+cipher-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cipher-devel %{_description} This package contains library source intended for building other packages which use the "cipher" feature of the "%{crate}" crate. %files -n %{name}+cipher-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pem-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pem-devel %{_description} This package contains library source intended for building other packages which use the "pem" feature of the "%{crate}" crate. %files -n %{name}+pem-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}+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}+sha2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha2-devel %{_description} This package contains library source intended for building other packages which use the "sha2" feature of the "%{crate}" crate. %files -n %{name}+sha2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3-devel %{_description} This package contains library source intended for building other packages which use the "sha3" feature of the "%{crate}" crate. %files -n %{name}+sha3-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+signature-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+signature-devel %{_description} This package contains library source intended for building other packages which use the "signature" feature of the "%{crate}" crate. %files -n %{name}+signature-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}+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 * Wed Oct 15 2025 Gerd Hoffmann - 0.2.3-1 - Initial package