diff --git a/anda/tools/arduino-lint/anda.hcl b/anda/tools/arduino-lint/anda.hcl new file mode 100644 index 0000000000..64be7b8dc9 --- /dev/null +++ b/anda/tools/arduino-lint/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "arduino-lint.spec" + } +} \ No newline at end of file diff --git a/anda/tools/arduino-lint/arduino-lint.spec b/anda/tools/arduino-lint/arduino-lint.spec new file mode 100644 index 0000000000..74155e3b98 --- /dev/null +++ b/anda/tools/arduino-lint/arduino-lint.spec @@ -0,0 +1,33 @@ +%define debug_package %nil + +Name: arduino-lint +Version: 1.2.1 +Release: 1%?dist +Summary: Tool to check for problems with Arduino projects. +License: GPLv3 +Packager: Owen Zimmerman +Url: https://github.com/arduino/arduino-lint +Source0: %url/archive/refs/tags/%version.tar.gz +BuildRequires: golang git go-rpm-macros anda-srpm-macros + +%description +%summary + +%prep +%autosetup -n arduino-lint-%version + +%build +go build + +%install +mkdir -p %{buildroot}%{_bindir} +install -Dm 755 arduino-lint %buildroot%{_bindir}/arduino-lint + +%files +%license LICENSE.txt +%doc README.md +%{_bindir}/arduino-lint + +%changelog +* Thu Dec 5 2024 Owen Zimmerman +- Package arduino-lint \ No newline at end of file diff --git a/anda/tools/arduino-lint/update.rhai b/anda/tools/arduino-lint/update.rhai new file mode 100644 index 0000000000..b01799fdef --- /dev/null +++ b/anda/tools/arduino-lint/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("arduino/arduino-lint")); \ No newline at end of file