# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate cursive Name: rust-cursive0.21 Version: 0.21.1 Release: 2%{?dist} Summary: TUI (Text User Interface) library focused on ease-of-use License: MIT URL: https://crates.io/crates/cursive Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A TUI (Text User Interface) library focused on ease-of-use.} %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}+builder-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+builder-devel %{_description} This package contains library source intended for building other packages which use the "builder" feature of the "%{crate}" crate. %files -n %{name}+builder-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossterm-backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crossterm-backend-devel %{_description} This package contains library source intended for building other packages which use the "crossterm-backend" feature of the "%{crate}" crate. %files -n %{name}+crossterm-backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc-cfg-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+doc-cfg-devel %{_description} This package contains library source intended for building other packages which use the "doc-cfg" feature of the "%{crate}" crate. %files -n %{name}+doc-cfg-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ncurses-backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ncurses-backend-devel %{_description} This package contains library source intended for building other packages which use the "ncurses-backend" feature of the "%{crate}" crate. %files -n %{name}+ncurses-backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pancurses-backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pancurses-backend-devel %{_description} This package contains library source intended for building other packages which use the "pancurses-backend" feature of the "%{crate}" crate. %files -n %{name}+pancurses-backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+termion-backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+termion-backend-devel %{_description} This package contains library source intended for building other packages which use the "termion-backend" feature of the "%{crate}" crate. %files -n %{name}+termion-backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml-devel %{_description} This package contains library source intended for building other packages which use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-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 * Wed Apr 16 2025 Alexander F. Lent - 0.21.1-2 - Initial package