mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 09583e6d0b)
Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "arduino-app-cli.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
%global goipath github.com/arduino/arduino-app-cli
|
||||
Version: 0.6.7
|
||||
|
||||
%gometa -f
|
||||
|
||||
Name: arduino-app-cli
|
||||
Release: 1%?dist
|
||||
Summary: The CLI and service that manages and runs Arduino Apps on UNO Q
|
||||
License: GPL-3.0-only
|
||||
|
||||
URL: https://github.com/arduino/arduino-app-cli
|
||||
Source: %{gosource}
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: go-rpm-macros
|
||||
BuildRequires: go-task
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep -A
|
||||
|
||||
%build
|
||||
%define gomodulesmode GO111MODULE=on
|
||||
%gobuild -o %{gobuilddir}/cmd/arduino-app-cli %{goipath}/cmd/arduino-app-cli
|
||||
|
||||
%install
|
||||
install -Dm755 %{gobuilddir}/cmd/arduino-app-cli %{buildroot}%{_bindir}/arduino-app-cli
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/arduino-app-cli
|
||||
|
||||
%changelog
|
||||
* Thu Dec 04 2024 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("arduino/arduino-app-cli"));
|
||||
Reference in New Issue
Block a user