Files
packages/anda/tools/arduino-cli/arduino-cli.spec
T
madomado aacc02e713 feat: remove %go_prep_online from all specs (#6194)
* feat: remove %go_prep_online from all specs

* packager

Signed-off-by: madomado <madonuko@outlook.com>

* fix: GO111MODULE=on

* a

* aa

* aaa

* hah?

* feat: walker got rusted real?

* fedora moment

* /etc/xdg/walker/

Signed-off-by: madomado <madonuko@outlook.com>

---------

Signed-off-by: madomado <madonuko@outlook.com>
2025-08-28 14:07:00 -05:00

47 lines
1.1 KiB
RPMSpec

# https://github.com/arduino/arduino-cli
%global goipath github.com/arduino/arduino-cli
Version: 1.3.1
%gometa -f
%global common_description %{expand:
Arduino CLI is an all-in-one solution that provides Boards/Library Managers, sketch builder, board detection, uploader, and many other tools needed to use any Arduino compatible board and platform from command line or machine interfaces.}
%global golicenses LICENSE.txt
%global godocs README.md
Name: arduino-cli
Release: 2%?dist
Summary: Arduino command line tool
License: GPL-3.0
Packager: Owen Zimmerman <owen@fyralabs.com>
URL: %{gourl}
Source: %{gosource}
BuildRequires: anda-srpm-macros
%description %{common_description}
%gopkg
%prep
%goprep
%build
%define gomodulesmode GO111MODULE=on
%gobuild -o %{gobuilddir}/bin/arduino-cli %{goipath}
%install
install -Dm755 %{gobuilddir}/bin/arduino-cli -t %buildroot%{_bindir}
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/arduino-cli
%changelog
* Thu Dec 5 2024 Owen Zimmerman <owen@fyralabs.com>
- Package arduino-cli