diff --git a/nodejs-yamlish.spec b/nodejs-yamlish.spec new file mode 100644 index 0000000..4f33cc5 --- /dev/null +++ b/nodejs-yamlish.spec @@ -0,0 +1,33 @@ +%{?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 - 0.0.5-1 +- package init diff --git a/nodejs-yamlish.yaml b/nodejs-yamlish.yaml new file mode 100644 index 0000000..4966cb7 --- /dev/null +++ b/nodejs-yamlish.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/isaacs/yamlish +version_control: github +src_repo: isaacs/yamlish +tag_prefix: "^v" +seperator: "." diff --git a/yamlish-0.0.5.tgz b/yamlish-0.0.5.tgz new file mode 100644 index 0000000..839a7b6 Binary files /dev/null and b/yamlish-0.0.5.tgz differ