fuanan add package
This commit is contained in:
parent
109ce59c85
commit
9e29edcd6a
BIN
cryptiles-2.0.5.tgz
Normal file
BIN
cryptiles-2.0.5.tgz
Normal file
Binary file not shown.
34
nodejs-cryptiles.spec
Normal file
34
nodejs-cryptiles.spec
Normal file
@ -0,0 +1,34 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-cryptiles
|
||||
Version: 2.0.5
|
||||
Release: 1
|
||||
Summary: General purpose cryptography utilities for Node.js
|
||||
License: BSD
|
||||
URL: https://github.com/hueniverse/cryptiles
|
||||
Source0: https://registry.npmjs.org/cryptiles/-/cryptiles-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
sed -i 's/"node": ">=0.10.40"/"node": ">=0.10.36"/' package.json
|
||||
chmod 0644 README.md LICENSE lib/* package.json
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/cryptiles
|
||||
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/cryptiles
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%{nodejs_sitelib}/cryptiles
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 2.0.5-1
|
||||
- package init
|
||||
4
nodejs-cryptiles.yaml
Normal file
4
nodejs-cryptiles.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: hueniverse/cryptiles
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user