# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate ratatui-termion Name: rust-ratatui-termion Version: 0.1.0 Release: %autorelease Summary: Termion backend for the Ratatui Terminal UI library License: MIT URL: https://crates.io/crates/ratatui-termion Source: %{crates_source} # * https://github.com/ratatui/ratatui/commit/746e9c9 Source2: https://github.com/ratatui/ratatui/raw/refs/tags/ratatui-v0.30.0/LICENSE BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Termion backend for the Ratatui Terminal UI library.} %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}+document-features-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+document-features-devel %{_description} This package contains library source intended for building other packages which use the "document-features" feature of the "%{crate}" crate. %files -n %{name}+document-features-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+scrolling-regions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+scrolling-regions-devel %{_description} This package contains library source intended for building other packages which use the "scrolling-regions" feature of the "%{crate}" crate. %files -n %{name}+scrolling-regions-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}+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 %package -n %{name}+unstable-backend-writer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-backend-writer-devel %{_description} This package contains library source intended for building other packages which use the "unstable-backend-writer" feature of the "%{crate}" crate. %files -n %{name}+unstable-backend-writer-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep cp -pav %{SOURCE2} . %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog