diff --git a/nodejs-slide.spec b/nodejs-slide.spec new file mode 100644 index 0000000..f16091e --- /dev/null +++ b/nodejs-slide.spec @@ -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 - 1.1.6-1 +- Package init diff --git a/nodejs-slide.yaml b/nodejs-slide.yaml new file mode 100644 index 0000000..6df5162 --- /dev/null +++ b/nodejs-slide.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: isaacs/slide-flow-control +tag_pattern: "^v" +seperator: "." diff --git a/slide-1.1.6.tgz b/slide-1.1.6.tgz new file mode 100644 index 0000000..b53e3bd Binary files /dev/null and b/slide-1.1.6.tgz differ