## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate rquickjs-core Name: rust-rquickjs-core Version: 0.10.0 Release: %autorelease Summary: High level bindings to the QuickJS JavaScript engine License: MIT URL: https://crates.io/crates/rquickjs-core Source: %{crates_source} # * Upstream license file Source2: https://github.com/DelSkayn/rquickjs/raw/v%{version}/LICENSE#/LICENSE.upstream BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: High level bindings to the QuickJS JavaScript engine.} %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}+allocator-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+allocator-devel %{_description} This package contains library source intended for building other packages which use the "allocator" feature of the "%{crate}" crate. %files -n %{name}+allocator-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+array-buffer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+array-buffer-devel %{_description} This package contains library source intended for building other packages which use the "array-buffer" feature of the "%{crate}" crate. %files -n %{name}+array-buffer-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bindgen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bindgen-devel %{_description} This package contains library source intended for building other packages which use the "bindgen" feature of the "%{crate}" crate. %files -n %{name}+bindgen-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+classes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+classes-devel %{_description} This package contains library source intended for building other packages which use the "classes" feature of the "%{crate}" crate. %files -n %{name}+classes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compile-tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compile-tests-devel %{_description} This package contains library source intended for building other packages which use the "compile-tests" feature of the "%{crate}" crate. %files -n %{name}+compile-tests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+disable-assertions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disable-assertions-devel %{_description} This package contains library source intended for building other packages which use the "disable-assertions" feature of the "%{crate}" crate. %files -n %{name}+disable-assertions-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dlopen2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dlopen2-devel %{_description} This package contains library source intended for building other packages which use the "dlopen2" feature of the "%{crate}" crate. %files -n %{name}+dlopen2-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}+dump-atoms-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-atoms-devel %{_description} This package contains library source intended for building other packages which use the "dump-atoms" feature of the "%{crate}" crate. %files -n %{name}+dump-atoms-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-bytecode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-bytecode-devel %{_description} This package contains library source intended for building other packages which use the "dump-bytecode" feature of the "%{crate}" crate. %files -n %{name}+dump-bytecode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-free-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-free-devel %{_description} This package contains library source intended for building other packages which use the "dump-free" feature of the "%{crate}" crate. %files -n %{name}+dump-free-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-gc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-gc-devel %{_description} This package contains library source intended for building other packages which use the "dump-gc" feature of the "%{crate}" crate. %files -n %{name}+dump-gc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-gc-free-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-gc-free-devel %{_description} This package contains library source intended for building other packages which use the "dump-gc-free" feature of the "%{crate}" crate. %files -n %{name}+dump-gc-free-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-leaks-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-leaks-devel %{_description} This package contains library source intended for building other packages which use the "dump-leaks" feature of the "%{crate}" crate. %files -n %{name}+dump-leaks-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-mem-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-mem-devel %{_description} This package contains library source intended for building other packages which use the "dump-mem" feature of the "%{crate}" crate. %files -n %{name}+dump-mem-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-module-resolve-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-module-resolve-devel %{_description} This package contains library source intended for building other packages which use the "dump-module-resolve" feature of the "%{crate}" crate. %files -n %{name}+dump-module-resolve-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-objects-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-objects-devel %{_description} This package contains library source intended for building other packages which use the "dump-objects" feature of the "%{crate}" crate. %files -n %{name}+dump-objects-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-promise-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-promise-devel %{_description} This package contains library source intended for building other packages which use the "dump-promise" feature of the "%{crate}" crate. %files -n %{name}+dump-promise-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-read-object-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-read-object-devel %{_description} This package contains library source intended for building other packages which use the "dump-read-object" feature of the "%{crate}" crate. %files -n %{name}+dump-read-object-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dump-shapes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dump-shapes-devel %{_description} This package contains library source intended for building other packages which use the "dump-shapes" feature of the "%{crate}" crate. %files -n %{name}+dump-shapes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dyn-load-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dyn-load-devel %{_description} This package contains library source intended for building other packages which use the "dyn-load" feature of the "%{crate}" crate. %files -n %{name}+dyn-load-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+either-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+either-devel %{_description} This package contains library source intended for building other packages which use the "either" feature of the "%{crate}" crate. %files -n %{name}+either-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+full-devel %{_description} This package contains library source intended for building other packages which use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+full-async-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+full-async-devel %{_description} This package contains library source intended for building other packages which use the "full-async" feature of the "%{crate}" crate. %files -n %{name}+full-async-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+indexmap-devel %{_description} This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+loader-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+loader-devel %{_description} This package contains library source intended for building other packages which use the "loader" feature of the "%{crate}" crate. %files -n %{name}+loader-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+multi-ctx-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+multi-ctx-devel %{_description} This package contains library source intended for building other packages which use the "multi-ctx" feature of the "%{crate}" crate. %files -n %{name}+multi-ctx-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parallel-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parallel-devel %{_description} This package contains library source intended for building other packages which use the "parallel" feature of the "%{crate}" crate. %files -n %{name}+parallel-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+phf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+phf-devel %{_description} This package contains library source intended for building other packages which use the "phf" feature of the "%{crate}" crate. %files -n %{name}+phf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+properties-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+properties-devel %{_description} This package contains library source intended for building other packages which use the "properties" feature of the "%{crate}" crate. %files -n %{name}+properties-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+relative-path-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+relative-path-devel %{_description} This package contains library source intended for building other packages which use the "relative-path" feature of the "%{crate}" crate. %files -n %{name}+relative-path-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust-alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust-alloc-devel %{_description} This package contains library source intended for building other packages which use the "rust-alloc" feature of the "%{crate}" crate. %files -n %{name}+rust-alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep cp -pav %{SOURCE2} LICENSE %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check # * doctests requrire rquickjs %cargo_test -- --lib %endif %changelog ## START: Generated by rpmautospec * Thu Mar 26 2026 Aleksei Bavshin - 0.10.0-1 - Initial package ## END: Generated by rpmautospec