diff --git a/anda/games/umu-wrapper/anda.hcl b/anda/games/umu-wrapper/anda.hcl new file mode 100644 index 000000000..9738c38d3 --- /dev/null +++ b/anda/games/umu-wrapper/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-umu-wrapper.spec" + } +} diff --git a/anda/games/umu-wrapper/rust-umu-wrapper.spec b/anda/games/umu-wrapper/rust-umu-wrapper.spec new file mode 100644 index 000000000..ca5d5455a --- /dev/null +++ b/anda/games/umu-wrapper/rust-umu-wrapper.spec @@ -0,0 +1,48 @@ +# Generated by rust2rpm 23 +%bcond_without check + +%global crate umu-wrapper + +Name: rust-umu-wrapper +Version: 0.2.0 +Release: %autorelease +Summary: Simplified wrapper for UMU-Launcher + +License: MIT +URL: https://crates.io/crates/umu-wrapper +Source: %{crates_source} + +BuildRequires: mold anda-srpm-macros rust-packaging >= 21 + +%global _description %{expand: +Simplified wrapper for UMU-Launcher.} + +%description %{_description} + +%package -n umu-wrapper +Summary: %{summary} + +%description -n umu-wrapper %{_description} + +%files -n umu-wrapper +%doc README.md +%{_bindir}/umu-wrapper + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install + + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/anda/games/umu-wrapper/update.rhai b/anda/games/umu-wrapper/update.rhai new file mode 100644 index 000000000..5c1a567d1 --- /dev/null +++ b/anda/games/umu-wrapper/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("umu-wrapper"));