# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate armv4t_emu Name: rust-armv4t_emu Version: 0.1.0 Release: %autorelease Summary: Emulator for the ARMv4t instruction set License: MIT URL: https://crates.io/crates/armv4t_emu Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Emulator for the ARMv4t instruction set.} %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}+advanced_disasm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+advanced_disasm-devel %{_description} This package contains library source intended for building other packages which use the "advanced_disasm" feature of the "%{crate}" crate. %files -n %{name}+advanced_disasm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+capstone-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+capstone-devel %{_description} This package contains library source intended for building other packages which use the "capstone" feature of the "%{crate}" crate. %files -n %{name}+capstone-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-big-array-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-big-array-devel %{_description} This package contains library source intended for building other packages which use the "serde-big-array" feature of the "%{crate}" crate. %files -n %{name}+serde-big-array-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-serialize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-serialize-devel %{_description} This package contains library source intended for building other packages which use the "serde-serialize" feature of the "%{crate}" crate. %files -n %{name}+serde-serialize-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog