-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ceed98e
commit 4b080dc
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "rust-umu-wrapper.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(crates("umu-wrapper")); |