package init

This commit is contained in:
wangxiao65 2020-08-20 19:47:50 +08:00
parent 0aada66381
commit eeefbd00cd
3 changed files with 40 additions and 0 deletions

BIN
hoek-0.9.1.tgz Normal file

Binary file not shown.

35
nodejs-hoek.spec Normal file
View File

@ -0,0 +1,35 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-hoek
Version: 0.9.1
Release: 1
Summary: General purpose Node.js utilities
License: BSD
URL: https://github.com/spumko/hoek
Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
%description
This package contains some general purpose Node.js utilities, including
utilities for working with objects, timers, binary encoding/decoding, escaping
characters, errors, and loading files.
%prep
%setup -q -n package
chmod 0644 README.md LICENSE images/* lib/* index.js package.json
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/hoek
cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/hoek
%nodejs_symlink_deps
%files
%{nodejs_sitelib}/hoek
%doc README.md images
%license LICENSE
%changelog
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.9.1-1
- Package init

5
nodejs-hoek.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/spumko/hoek
version_control: github
src_repo: spumko/hoek
tag_prefix: "^v"
seperator: "."