36 lines
1.0 KiB
RPMSpec
36 lines
1.0 KiB
RPMSpec
%{?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
|