## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: zls Version: 0.15.1 Release: %autorelease Summary: Implementation of the Language Server Protocol for Zig License: MIT URL: https://zigtools.org Source0: https://github.com/zigtools/zls/archive/refs/tags/%{version}.tar.gz Source1: https://github.com/ziglibs/known-folders/archive/92defaee76b07487769ca352fd0ba95bc8b42a2f.tar.gz Source2: https://github.com/ziglibs/diffz/archive/a20dd1f11b10819a6f570f98b42e1c91e3704357.tar.gz Source3: https://github.com/zigtools/lsp-kit/archive/576e9405b1ab22c17c0f9318feed3278aa66b0ea.tar.gz BuildRequires: (zig >= 0.15 with zig < 0.16) BuildRequires: zig-rpm-macros %define zls_build_options -Dsingle-threaded=false -Dpie=true -Dstrip=true %description ZLS is a non-official implementation of the Language Server Protocol for Zig in Zig. It provides developers with IDE features in their editor. %prep %autosetup %zig_prep %zig_fetch %{SOURCE1} %zig_fetch %{SOURCE2} %zig_fetch %{SOURCE3} %build %zig_build %zls_build_options %install %zig_install %check %zig_test %files %license LICENSE %{_bindir}/%{name} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Jan 14 2026 baltevl - 0.15.1-1 - Initial spec ## END: Generated by rpmautospec