-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add builds for RPMs alongside DEBs for Fedora and CentOS users (#15)
* repo: add rpm packaging alongside deb packaging * doc: add rpm docs to readme * doc: fix typos in workflow * fix: don't break your new workflow change * fix: don't double-break your new workflow fix * fix: the embed of the rpm filename * repo: remove the whitespace in a workflow * doc: remove trailing whitespace in spec * doc: update wording in readme
- Loading branch information
Showing
5 changed files
with
75 additions
and
8 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
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
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,41 @@ | ||
Name: resetti | ||
Version: %{vernum} | ||
Release: %{rel} | ||
|
||
Summary: Minecraft multi-instance reset macro for speedrunning | ||
License: GPLv3+ | ||
URL: http://www.github.com/woofdoggo/resetti | ||
|
||
%description | ||
resetti is a Linux-compatible reset macro for Minecraft speedruns. It supports a variety of different resetting styles, categories, and Minecraft versions. | ||
|
||
You can refer to the documentation (https://github.com/woofdoggo/resetti/blob/main/doc/README.md) for detailed usage instructions. | ||
|
||
Please report any bugs which you encounter. resetti is still beta software and is not guaranteed to work. | ||
|
||
%prep | ||
|
||
%build | ||
%global _missing_build_ids_terminate_build 0 | ||
|
||
%install | ||
mkdir -p %{buildroot}/%{_bindir} | ||
install -m 0755 out/%{name} %{buildroot}/%{_bindir}/%{name} | ||
install -m 0755 out/bench %{buildroot}/%{_bindir}/%{name}-bench | ||
mkdir -p %{buildroot}/%{_datadir}/%{name} | ||
cp ./internal/res/cgroup_setup.sh %{buildroot}/%{_datadir}/%{name} | ||
cp ./internal/res/default.toml %{buildroot}/%{_datadir}/%{name} | ||
cp ./internal/res/scene-setup.lua %{buildroot}/%{_datadir}/%{name} | ||
|
||
%files | ||
%{_bindir}/%{name} | ||
%{_bindir}/%{name}-bench | ||
%license LICENSE | ||
%dir %{_datadir}/%{name} | ||
%{_datadir}/%{name}/cgroup_setup.sh | ||
%{_datadir}/%{name}/default.toml | ||
%{_datadir}/%{name}/scene-setup.lua | ||
|
||
%changelog | ||
* Sun Jul 16 2023 Dworv <dwarvyt@gmail.com> | ||
- Creation of RPM spec and workflow |
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
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