mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
7be606c3cb
(cherry picked from commit b2de3ade6c)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
35 lines
911 B
RPMSpec
35 lines
911 B
RPMSpec
%global commit 7328d7cb728ef7506009c37b6ec78ca70f6e5c8d
|
|
%global commit_date 20251229
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
Name: yabs
|
|
Version: 0~%{commit_date}git.%{shortcommit}
|
|
Release: 1%{?dist}
|
|
Summary: Simple bash script to estimate Linux server performance using fio, iperf3, & Geekbench
|
|
URL: https://github.com/masonr/yet-another-bench-script
|
|
Source0: %{url}/archive/%{commit}/yet-another-bench-script-%commit.tar.gz
|
|
License: WTFPL
|
|
Provides: yet-another-bench-script
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%autosetup -n yet-another-bench-script-%{commit}
|
|
|
|
%build
|
|
|
|
%install
|
|
install -Dm755 yabs.sh %{buildroot}%{_bindir}/yabs
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/yabs
|
|
|
|
%changelog
|
|
* Fri Apr 03 2026 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|