package init
This commit is contained in:
parent
40ef68c21a
commit
315ba9cba8
BIN
hashish-0.0.4.tgz
Normal file
BIN
hashish-0.0.4.tgz
Normal file
Binary file not shown.
40
nodejs-hashish.spec
Normal file
40
nodejs-hashish.spec
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
%global npm_name hashish
|
||||||
|
%global enable_tests 0
|
||||||
|
Summary: Hash data structure manipulation functions
|
||||||
|
Name: nodejs-%{npm_name}
|
||||||
|
Version: 0.0.4
|
||||||
|
Release: 1
|
||||||
|
License: MIT
|
||||||
|
URL: http://github.com/substack/node-hashish
|
||||||
|
Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
|
||||||
|
BuildRequires: nodejs-devel
|
||||||
|
%if 0%{?enable_tests}
|
||||||
|
BuildRequires: npm(expresso)
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
%description
|
||||||
|
Hashish is a node.js library for manipulating hash data structures.
|
||||||
|
It is distilled from the finest that ruby, perl, and haskell have
|
||||||
|
to offer by way of hash/map interfaces.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
||||||
|
cp -pr examples index.js package.json test %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
||||||
|
%if 0%{?enable_tests}
|
||||||
|
|
||||||
|
%check
|
||||||
|
expresso
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.markdown
|
||||||
|
%{nodejs_sitelib}/%{npm_name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.0.4-1
|
||||||
|
- Package init
|
||||||
5
nodejs-hashish.yaml
Normal file
5
nodejs-hashish.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: http://github.com/substack/node-hashish
|
||||||
|
version_control: github
|
||||||
|
src_repo: substack/node-hashish
|
||||||
|
tag_prefix: ""
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user