!1 package init

Merge pull request !1 from zhanghua/master
This commit is contained in:
openeuler-ci-bot 2020-08-21 00:16:24 +08:00 committed by Gitee
commit 42a9335c9b
3 changed files with 41 additions and 0 deletions

37
nodejs-slide.spec Normal file
View File

@ -0,0 +1,37 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-slide
Version: 1.1.6
Release: 1
Summary: A flow control library that fits in a slideshow
License: ISC
URL: https://github.com/isaacs/slide-flow-control
Source0: https://registry.npmjs.org/slide/-/slide-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
%description
Provides simple, easy callbacks for node.js.
%prep
%setup -q -n package
rm -rf node_modules
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/slide
cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/slide
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%__nodejs -e "require('./')"
%files
%doc README.md
%license LICENSE
%{nodejs_sitelib}/slide
%changelog
* Sat Aug 15 2020 zhanghua <zhanghua40@huawei.com> - 1.1.6-1
- Package init

4
nodejs-slide.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: isaacs/slide-flow-control
tag_pattern: "^v"
seperator: "."

BIN
slide-1.1.6.tgz Normal file

Binary file not shown.