package init
This commit is contained in:
parent
7a64ce7a2e
commit
192a9cc32b
37
nodejs-slide.spec
Normal file
37
nodejs-slide.spec
Normal 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
4
nodejs-slide.yaml
Normal 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
BIN
slide-1.1.6.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user