# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate vte4 Name: rust-vte4 Version: 0.7.1 Release: %autorelease Summary: Rust bindings for the VTE Gtk4 library License: MIT URL: https://crates.io/crates/vte4 Source: %{crates_source} # https://gitlab.gnome.org/World/Rust/vte4-rs/-/issues/10 (closed for v0.8) Source100: https://gitlab.gnome.org/World/Rust/vte4-rs/-/raw/f7202463afeea70b6005abc5511be5f778c1bca6/LICENSE BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for the VTE Gtk4 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}+v0_66-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_66-devel %{_description} This package contains library source intended for building other packages which use the "v0_66" feature of the "%{crate}" crate. %files -n %{name}+v0_66-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_70-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_70-devel %{_description} This package contains library source intended for building other packages which use the "v0_70" feature of the "%{crate}" crate. %files -n %{name}+v0_70-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_72-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_72-devel %{_description} This package contains library source intended for building other packages which use the "v0_72" feature of the "%{crate}" crate. %files -n %{name}+v0_72-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v0_74-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v0_74-devel %{_description} This package contains library source intended for building other packages which use the "v0_74" feature of the "%{crate}" crate. %files -n %{name}+v0_74-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep cp -pav %{SOURCE100} . %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog