# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate javascriptcore6-sys Name: rust-javascriptcore6-sys Version: 0.6.0 Release: %autorelease Summary: FFI bindings for JavaScriptCore 6 License: MIT URL: https://crates.io/crates/javascriptcore6-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(javascriptcoregtk-6.0) >= 2.40 %global _description %{expand: FFI bindings for JavaScriptCore 6.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(javascriptcoregtk-6.0) >= 2.40 %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}+v2_48-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(javascriptcoregtk-6.0) >= 2.48 %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 %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