add: itch butler (#7577) (#7578)

This commit is contained in:
Raboneko
2025-11-22 21:37:36 -08:00
committed by GitHub
parent 68409adf5a
commit 4d87d167f9
3 changed files with 44 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "butler-bin.spec"
}
}
+37
View File
@@ -0,0 +1,37 @@
Name: butler-bin
Version: 15.24.0
Release: 1%?dist
Summary: Command-line itch.io helper.
URL: https://itch.io/docs/butler
Source0: https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
Source1: https://raw.githubusercontent.com/itchio/butler/refs/heads/master/LICENSE
Source2: https://raw.githubusercontent.com/itchio/butler/refs/heads/master/README.md
License: MIT
Provides: itchio-butler-bin
Provides: itch-butler-bin
ExclusiveArch: x86_64
Packager: arbormoss <arbormoss@woodsprite.dev>
%description
%summary.
%prep
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
unzip butler.zip
%build
%install
install -Dm755 butler %{buildroot}%{_bindir}/butler
install -Dm644 %{S:1} %{buildroot}%{_defaultlicensedir}/butler-bin/LICENSE
install -Dm644 %{S:2} %{buildroot}%{_docdir}/butler-bin/README.md
%files
%doc README.md
%license LICENSE
%{_bindir}/butler
%changelog
* Sat Nov 22 2025 arbormoss <arbormoss@woodsprite.dev>
- Intial Commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("itchio/butler"));