2024-06-21 16:16:51 +02:00
|
|
|
#
|
|
|
|
# spec file for package tree-sitter-lua
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define _name lua
|
|
|
|
Name: tree-sitter-%{_name}
|
2024-09-10 11:41:43 +02:00
|
|
|
Version: 0.2.0
|
2024-06-21 16:16:51 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Lua grammar for tree-sitter
|
|
|
|
License: MIT
|
2024-06-22 01:25:19 +02:00
|
|
|
URL: https://github.com/tree-sitter-grammars/tree-sitter-lua
|
2024-06-21 16:16:51 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: tree-sitter
|
|
|
|
%treesitter_grammars %{_name}
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%treesitter_configure
|
|
|
|
%treesitter_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%treesitter_install
|
|
|
|
|
|
|
|
%files
|
2024-06-22 01:25:19 +02:00
|
|
|
%license LICENSE.md
|
2024-06-21 16:16:51 +02:00
|
|
|
%doc README.md
|
|
|
|
%{treesitter_files}
|
|
|
|
|
|
|
|
%changelog
|