# Generated by rust2rpm 28 %bcond check 0 %global debug_package %{nil} %global crate pgp Name: rust-pgp0.19 Version: 0.19.0 Release: %autorelease Summary: OpenPGP implementation in Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/pgp Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: OpenPGP implementation in Rust.} %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}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.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}+asm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+asm-devel %{_description} This package contains library source intended for building other packages which use the "asm" feature of the "%{crate}" crate. %files -n %{name}+asm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bzip2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bzip2-devel %{_description} This package contains library source intended for building other packages which use the "bzip2" feature of the "%{crate}" crate. %files -n %{name}+bzip2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+draft-pqc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+draft-pqc-devel %{_description} This package contains library source intended for building other packages which use the "draft-pqc" feature of the "%{crate}" crate. %files -n %{name}+draft-pqc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+draft-wussler-openpgp-forwarding-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+draft-wussler-openpgp-forwarding-devel %{_description} This package contains library source intended for building other packages which use the "draft-wussler-openpgp-forwarding" feature of the "%{crate}" crate. %files -n %{name}+draft-wussler-openpgp-forwarding-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}+large-rsa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+large-rsa-devel %{_description} This package contains library source intended for building other packages which use the "large-rsa" feature of the "%{crate}" crate. %files -n %{name}+large-rsa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+malformed-artifact-compat-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+malformed-artifact-compat-devel %{_description} This package contains library source intended for building other packages which use the "malformed-artifact-compat" feature of the "%{crate}" crate. %files -n %{name}+malformed-artifact-compat-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasm-devel %{_description} This package contains library source intended for building other packages which use the "wasm" feature of the "%{crate}" crate. %files -n %{name}+wasm-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