File nodejs-cspell.spec of Package nodejs-cspell

#
# spec file for package nodejs-cspell
#
# 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 modname cspell
Name:           nodejs-cspell
Version:        8.3.2
Release:        0
Summary:        A Spell Checker for Code
License:        MIT
URL:            https://cspell.org/
Source:         https://github.com/streetsidesoftware/cspell/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires:	nodejs
BuildRequires:	nodejs-packaging 
BuildArch:	    noarch
%{?nodejs_requires}

%description
CSpell is a spell checker for code.

%prep
%autosetup -n %{modname}-%{version}

%build

%install
%nodejs_install

%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/cspell*
%dir %{nodejs_modulesdir}
%{nodejs_modulesdir}/cspell-monorepo/

%changelog
openSUSE Build Service is sponsored by