mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-11 14:10:42 +00:00
163f1f13e0
* feat: remove %go_prep_online from all specs
* packager
* fix: GO111MODULE=on
* a
* aa
* aaa
* hah?
* feat: walker got rusted real?
* fedora moment
* /etc/xdg/walker/
---------
(cherry picked from commit aacc02e713)
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
48 lines
1.2 KiB
RPMSpec
48 lines
1.2 KiB
RPMSpec
# https://github.com/arduino/arduino-language-server
|
|
%global goipath github.com/arduino/arduino-language-server
|
|
Version: 0.7.7
|
|
|
|
%gometa -f
|
|
|
|
|
|
%global common_description %{expand:
|
|
The Arduino Language Server is the tool that powers the autocompletion of the new Arduino IDE 2. It implements the standard Language Server Protocol so it can be used with other IDEs as well.}
|
|
|
|
%global golicenses LICENSE.txt
|
|
%global godocs README.md
|
|
|
|
Name: arduino-language-server
|
|
Release: 2%?dist
|
|
Summary: An Arduino Language Server based on Clangd for Arduino code autocompletion
|
|
License: AGPL-3.0
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
URL: %{gourl}
|
|
Source: %{url}/archive/%{version}.tar.gz
|
|
BuildRequires: anda-srpm-macros clang
|
|
|
|
%description
|
|
%{common_description}
|
|
|
|
%gopkg
|
|
|
|
%prep
|
|
%goprep -A
|
|
|
|
%build
|
|
%define gomodulesmode GO111MODULE=on
|
|
%gobuild -o %{gobuilddir}/bin/arduino-language-server %{goipath}
|
|
|
|
%install
|
|
install -Dm755 %{gobuilddir}/bin/arduino-language-server -t %buildroot%{_bindir}
|
|
|
|
%files
|
|
%license LICENSE.txt
|
|
%doc README.md
|
|
%{_bindir}/arduino-language-server
|
|
|
|
%changelog
|
|
* Fri Dec 27 2024 Owen Zimmerman <owen@fyralabs.com>
|
|
- Package arduino-language-server
|
|
|