# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate webkit6 Name: rust-webkit6 Version: 0.6.1 Release: %autorelease Summary: Rust bindings for WebKit 6.0 License: MIT URL: https://crates.io/crates/webkit6 Source: %{crates_source} Patch: webkit6-require-gtk-v4_10.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for WebKit 6.0.} %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}+gtk_v4_18-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_18-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_18" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_18-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_42-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_42-devel %{_description} This package contains library source intended for building other packages which use the "v2_42" feature of the "%{crate}" crate. %files -n %{name}+v2_42-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_44-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_44-devel %{_description} This package contains library source intended for building other packages which use the "v2_44" feature of the "%{crate}" crate. %files -n %{name}+v2_44-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_46-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_46-devel %{_description} This package contains library source intended for building other packages which use the "v2_46" feature of the "%{crate}" crate. %files -n %{name}+v2_46-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_48-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_48-devel %{_description} This package contains library source intended for building other packages which use the "v2_48" feature of the "%{crate}" crate. %files -n %{name}+v2_48-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_50-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_50-devel %{_description} This package contains library source intended for building other packages which use the "v2_50" feature of the "%{crate}" crate. %files -n %{name}+v2_50-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_52-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_52-devel %{_description} This package contains library source intended for building other packages which use the "v2_52" feature of the "%{crate}" crate. %files -n %{name}+v2_52-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