# Generated by rust2rpm 28 %bcond check 1 %global crate blue-build Name: rust-blue-build Version: 0.9.30 Release: %autorelease Summary: CLI tool built for creating Containerfile templates for ostree based atomic distros License: Apache-2.0 URL: https://crates.io/crates/blue-build Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A CLI tool built for creating Containerfile templates for ostree based atomic distros.} %description %{_description} %package -n %{crate} Summary: %{summary} License: ( (Apache-2.0 OR MIT) AND BSD-3-Clause ) AND ( (MIT OR Apache-2.0) AND Unicode-3.0 ) AND ( 0BSD ) AND ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 ) AND ( Apache-2.0 AND ISC ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR ISC OR MIT ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( BSD-2-Clause OR Apache-2.0 OR MIT ) AND ( BSD-3-Clause ) AND ( CDLA-Permissive-2.0 ) AND ( ISC ) AND ( ISC AND (Apache-2.0 OR ISC) ) AND ( ISC AND (Apache-2.0 OR ISC) AND OpenSSL ) AND ( MIT ) AND ( MIT AND Apache-2.0 ) AND ( MIT OR Apache-2.0 ) AND ( MIT OR Apache-2.0 OR BSD-1-Clause ) AND ( MIT OR Apache-2.0 OR LGPL-2.1-or-later ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( MIT-0 ) AND ( MPL-2.0 ) AND ( Unicode-3.0 ) AND ( Unlicense OR MIT ) AND ( Zlib ) AND ( Zlib OR Apache-2.0 OR MIT ) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license integration-tests/empty-files-repo/LICENSE %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %doc SECURITY.md %{_bindir}/bluebuild %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 %license %{crate_instdir}/integration-tests/empty-files-repo/LICENSE %doc %{crate_instdir}/CHANGELOG.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}+bootc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bootc-devel %{_description} This package contains library source intended for building other packages which use the "bootc" feature of the "%{crate}" crate. %files -n %{name}+bootc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_10_0-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_10_0-devel %{_description} This package contains library source intended for building other packages which use the "v0_10_0" feature of the "%{crate}" crate. %files -n %{name}+v0_10_0-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+vendored-libgit2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+vendored-libgit2-devel %{_description} This package contains library source intended for building other packages which use the "vendored-libgit2" feature of the "%{crate}" crate. %files -n %{name}+vendored-libgit2-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog