# Generated by rust2rpm 26 # https://gitlab.gnome.org/World/Rust/vte4-rs/-/issues/9 %bcond_with check %global debug_package %{nil} %global crate vte4-sys Name: rust-vte4-sys Version: 0.7.0 Release: %autorelease Summary: FFI bindings to vte-2.91-gtk4 License: MIT URL: https://crates.io/crates/vte4-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(vte-2.91-gtk4) %global _description %{expand: FFI bindings to vte-2.91-gtk4.} %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 # FIXME: no license files detected %{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 %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog