nodejs-yamlish/nodejs-yamlish.spec
2020-08-20 14:09:58 +08:00

34 lines
902 B
RPMSpec

%{?nodejs_find_provides_and_requires}
Name: nodejs-yamlish
Version: 0.0.5
Release: 1
Summary: Parser/encoder for the yamlish format
BuildArch: noarch
License: MIT
URL: https://github.com/isaacs/yamlish
Source0: https://registry.npmjs.org/yamlish/-/yamlish-%{version}.tgz
BuildRequires: nodejs-packaging
%description
This is a module to parse the "yamlish" format used to serialize
objects in the TAP format.
It's like yaml, but just a tiny little bit smaller.
%prep
%setup -q -n package
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/yamlish
cp -pr package.json yamlish.js %{buildroot}%{nodejs_sitelib}/yamlish
%nodejs_symlink_deps
%files
%{nodejs_sitelib}/yamlish
%doc README.md
%license LICENSE
%changelog
* Tue Aug 11 2020 wangyue <wangyue92@huawei.com> - 0.0.5-1
- package init