# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate input-linux Name: rust-input-linux0.6 Version: 0.6.0 Release: %autorelease Summary: Evdev and uinput License: MIT URL: https://crates.io/crates/input-linux Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Evdev and uinput.} %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}/COPYING %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}+bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes-devel %{_description} This package contains library source intended for building other packages which use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+codec-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+codec-devel %{_description} This package contains library source intended for building other packages which use the "codec" feature of the "%{crate}" crate. %files -n %{name}+codec-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dox-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dox-devel %{_description} This package contains library source intended for building other packages which use the "dox" feature of the "%{crate}" crate. %files -n %{name}+dox-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}+tokio-util-0_6-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-util-0_6-devel %{_description} This package contains library source intended for building other packages which use the "tokio-util-0_6" feature of the "%{crate}" crate. %files -n %{name}+tokio-util-0_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-util-0_7-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-util-0_7-devel %{_description} This package contains library source intended for building other packages which use the "tokio-util-0_7" feature of the "%{crate}" crate. %files -n %{name}+tokio-util-0_7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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