mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-16 16:40:38 +00:00
9bbb154172
(cherry picked from commit 7b8b0d8c66)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
46 lines
1012 B
RPMSpec
46 lines
1012 B
RPMSpec
%global goipath github.com/rudrankriyam/Google-Health-CLI
|
|
Version: 1.0.0
|
|
|
|
%gometa -f
|
|
|
|
Name: google-health-cli
|
|
Release: 1%{?dist}
|
|
Summary: Unofficial Google-Health-CLI for the Google Health API, written in Go
|
|
|
|
License: MIT
|
|
URL: https://github.com/rudrankriyam/Google-Health-CLI
|
|
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
BuildRequires: golang
|
|
BuildRequires: gcc
|
|
BuildRequires: go-rpm-macros
|
|
Requires: glibc
|
|
|
|
Provides: Google-Health-CLI
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%gopkg
|
|
|
|
%prep
|
|
%autosetup -n Google-Health-CLI-%{version}
|
|
|
|
%build
|
|
%define gomodulesmode GO111MODULE=on
|
|
%gobuild -o %{gobuilddir}/cmd/ghealth %{goipath}
|
|
|
|
%install
|
|
install -Dm 0755 %{gobuilddir}/cmd/ghealth %{buildroot}%{_bindir}/ghealth
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md CONTRIBUTING.md CHANGELOG.md SECURITY.md
|
|
%{_bindir}/ghealth
|
|
|
|
%changelog
|
|
* Sat May 09 2026 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|