# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate mlua-sys Name: rust-mlua-sys Version: 0.9.0 Release: %autorelease Summary: Low level License: MIT URL: https://crates.io/crates/mlua-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Low level (FFI) bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Luau.} %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 %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}+external-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+external-devel %{_description} This package contains library source intended for building other packages which use the "external" feature of the "%{crate}" crate. %files -n %{name}+external-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lua-src-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lua-src-devel %{_description} This package contains library source intended for building other packages which use the "lua-src" feature of the "%{crate}" crate. %files -n %{name}+lua-src-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}+luajit-src-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luajit-src-devel %{_description} This package contains library source intended for building other packages which use the "luajit-src" feature of the "%{crate}" crate. %files -n %{name}+luajit-src-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-codegen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luau-codegen-devel %{_description} This package contains library source intended for building other packages which use the "luau-codegen" feature of the "%{crate}" crate. %files -n %{name}+luau-codegen-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}+luau0-src-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+luau0-src-devel %{_description} This package contains library source intended for building other packages which use the "luau0-src" feature of the "%{crate}" crate. %files -n %{name}+luau0-src-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}+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