!1 Package init

Merge pull request !1 from wangxiao65/master
This commit is contained in:
openeuler-ci-bot 2020-09-08 20:55:01 +08:00 committed by Gitee
commit e15ec82c5e
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,39 @@
Name: nodejs-http-signature
Version: 0.10.0
Release: 1
Summary: Reference implementation of Joyent's HTTP Signature Scheme
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
License: MIT
URL: https://github.com/joyent/node-http-signature
Source0: https://github.com/joyent/node-http-signature/archive/v%{version}.tar.gz
BuildRequires: nodejs-packaging npm(tap) npm(node-uuid) npm(assert-plus) npm(asn1) npm(ctype)
%description
nodejs-http-signature is a node.js library that has client and server components
for Joyent's HTTP Signature Scheme.
%prep
%setup -q -n node-http-signature-%{version}
%nodejs_fixdep assert-plus
%nodejs_fixdep ctype '~0.5.3'
%nodejs_fixdep asn1 '~0.1.11'
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/http-signature
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/http-signature
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%tap test/*.js
%files
%{nodejs_sitelib}/http-signature
%doc README.md http_signing.md
%license LICENSE
%changelog
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.10.0-1
- Package init

View File

@ -0,0 +1,5 @@
git_url: https://github.com/joyent/node-http-signature
version_control: github
src_repo: joyent/node-http-signature
tag_prefix: "^v"
seperator: "."

BIN
v0.10.0.tar.gz Normal file

Binary file not shown.