# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate mlua Name: rust-mlua Version: 0.11.5 Release: %autorelease Summary: High level bindings to Lua 5.4/5.3/5.2/5.1 License: MIT URL: https://crates.io/crates/mlua Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Luau with async/await features and support of writing native Lua modules in Rust.} %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}/CHANGELOG.md %doc %{crate_instdir}/FAQ.md %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}+anyhow-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+anyhow-devel %{_description} This package contains library source intended for building other packages which use the "anyhow" feature of the "%{crate}" crate. %files -n %{name}+anyhow-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-devel %{_description} This package contains library source intended for building other packages which use the "async" feature of the "%{crate}" crate. %files -n %{name}+async-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+error-send-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+error-send-devel %{_description} This package contains library source intended for building other packages which use the "error-send" feature of the "%{crate}" crate. %files -n %{name}+error-send-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lua51-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lua51-devel %{_description} This package contains library source intended for building other packages which use the "lua51" feature of the "%{crate}" crate. %files -n %{name}+lua51-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lua52-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lua52-devel %{_description} This package contains library source intended for building other packages which use the "lua52" feature of the "%{crate}" crate. %files -n %{name}+lua52-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lua53-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lua53-devel %{_description} This package contains library source intended for building other packages which use the "lua53" feature of the "%{crate}" crate. %files -n %{name}+lua53-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lua54-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lua54-devel %{_description} This package contains library source intended for building other packages which use the "lua54" feature of the "%{crate}" crate. %files -n %{name}+lua54-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+luajit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luajit-devel %{_description} This package contains library source intended for building other packages which use the "luajit" feature of the "%{crate}" crate. %files -n %{name}+luajit-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+luajit52-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luajit52-devel %{_description} This package contains library source intended for building other packages which use the "luajit52" feature of the "%{crate}" crate. %files -n %{name}+luajit52-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+luau-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luau-devel %{_description} This package contains library source intended for building other packages which use the "luau" feature of the "%{crate}" crate. %files -n %{name}+luau-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+luau-jit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luau-jit-devel %{_description} This package contains library source intended for building other packages which use the "luau-jit" feature of the "%{crate}" crate. %files -n %{name}+luau-jit-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+luau-vector4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luau-vector4-devel %{_description} This package contains library source intended for building other packages which use the "luau-vector4" feature of the "%{crate}" crate. %files -n %{name}+luau-vector4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mlua_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mlua_derive-devel %{_description} This package contains library source intended for building other packages which use the "mlua_derive" feature of the "%{crate}" crate. %files -n %{name}+mlua_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+module-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+module-devel %{_description} This package contains library source intended for building other packages which use the "module" feature of the "%{crate}" crate. %files -n %{name}+module-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+send-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+send-devel %{_description} This package contains library source intended for building other packages which use the "send" feature of the "%{crate}" crate. %files -n %{name}+send-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serialize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serialize-devel %{_description} This package contains library source intended for building other packages which use the "serialize" feature of the "%{crate}" crate. %files -n %{name}+serialize-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+userdata-wrappers-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+userdata-wrappers-devel %{_description} This package contains library source intended for building other packages which use the "userdata-wrappers" feature of the "%{crate}" crate. %files -n %{name}+userdata-wrappers-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+vendored-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+vendored-devel %{_description} This package contains library source intended for building other packages which use the "vendored" feature of the "%{crate}" crate. %files -n %{name}+vendored-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