Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[f40] add: umu-wrapper (#2489) #2492

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions anda/games/umu-wrapper/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "rust-umu-wrapper.spec"
}
}
48 changes: 48 additions & 0 deletions anda/games/umu-wrapper/rust-umu-wrapper.spec
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions anda/games/umu-wrapper/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(crates("umu-wrapper"));
Loading