# Generated by rust2rpm 28 %bcond check 0 %global crate deno Name: rust-deno Version: 2.9.7 Release: %autorelease Summary: Deno executable License: MIT URL: https://crates.io/crates/deno Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: deno-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Provides the deno executable.} %description %{_description} %package -n %{crate} Summary: %{summary} # FIXME: paste output of %%cargo_license_summary here License: # FIXME # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license tsc/dts/node/LICENSE %license tsc/dts/node/undici/LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/deno %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}/tsc/dts/node/LICENSE %license %{crate_instdir}/tsc/dts/node/undici/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}+__runtime_defaults-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__runtime_defaults-devel %{_description} This package contains library source intended for building other packages which use the "__runtime_defaults" feature of the "%{crate}" crate. %files -n %{name}+__runtime_defaults-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+__vendored_zlib_ng-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__vendored_zlib_ng-devel %{_description} This package contains library source intended for building other packages which use the "__vendored_zlib_ng" feature of the "%{crate}" crate. %files -n %{name}+__vendored_zlib_ng-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deno_panic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deno_panic-devel %{_description} This package contains library source intended for building other packages which use the "deno_panic" feature of the "%{crate}" crate. %files -n %{name}+deno_panic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dhat-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dhat-devel %{_description} This package contains library source intended for building other packages which use the "dhat" feature of the "%{crate}" crate. %files -n %{name}+dhat-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dhat-heap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dhat-heap-devel %{_description} This package contains library source intended for building other packages which use the "dhat-heap" feature of the "%{crate}" crate. %files -n %{name}+dhat-heap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hmr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hmr-devel %{_description} This package contains library source intended for building other packages which use the "hmr" feature of the "%{crate}" crate. %files -n %{name}+hmr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lsp-tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lsp-tracing-devel %{_description} This package contains library source intended for building other packages which use the "lsp-tracing" feature of the "%{crate}" crate. %files -n %{name}+lsp-tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+panic-trace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+panic-trace-devel %{_description} This package contains library source intended for building other packages which use the "panic-trace" feature of the "%{crate}" crate. %files -n %{name}+panic-trace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+panic-trace-frame-pointer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+panic-trace-frame-pointer-devel %{_description} This package contains library source intended for building other packages which use the "panic-trace-frame-pointer" feature of the "%{crate}" crate. %files -n %{name}+panic-trace-frame-pointer-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quickjs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quickjs-devel %{_description} This package contains library source intended for building other packages which use the "quickjs" feature of the "%{crate}" crate. %files -n %{name}+quickjs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+upgrade-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+upgrade-devel %{_description} This package contains library source intended for building other packages which use the "upgrade" feature of the "%{crate}" crate. %files -n %{name}+upgrade-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v8-devel %{_description} This package contains library source intended for building other packages which use the "v8" feature of the "%{crate}" crate. %files -n %{name}+v8-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog