diff --git a/are-we-there-yet-1.0.5.tgz b/are-we-there-yet-1.0.5.tgz new file mode 100644 index 0000000..33e836f Binary files /dev/null and b/are-we-there-yet-1.0.5.tgz differ diff --git a/nodejs-are-we-there-yet.spec b/nodejs-are-we-there-yet.spec new file mode 100644 index 0000000..78136a8 --- /dev/null +++ b/nodejs-are-we-there-yet.spec @@ -0,0 +1,46 @@ +%{?nodejs_find_provides_and_requires} +%global enable_tests 1 +Name: nodejs-are-we-there-yet +Version: 1.0.5 +Release: 1 +Summary: Keep track of the overall completion of many disparate processes +License: ISC +URL: https://github.com/iarna/are-we-there-yet.git +Source0: https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging npm(delegates) npm(readable-stream) +%if 0%{?enable_tests} +BuildRequires: npm(tap) +%endif +%description +Keep track of the overall completion of many disparate processes + +%prep +%setup -q -n package +%nodejs_fixdep delegates '>=0.1.0' + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/are-we-there-yet +cp -pr package.json *.js \ + %{buildroot}%{nodejs_sitelib}/are-we-there-yet +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%{__nodejs} -e 'require("./")' +%if 0%{?enable_tests} +%{_bindir}/tap test/*.js +%endif + +%files +%{!?_licensedir:%global license %doc} +%doc *.md +%license LICENSE +%{nodejs_sitelib}/are-we-there-yet + +%changelog +* Thu Aug 20 2020 huanghaitao - 1.0.5-1 +- package init diff --git a/nodejs-are-we-there-yet.yaml b/nodejs-are-we-there-yet.yaml new file mode 100644 index 0000000..39f28c4 --- /dev/null +++ b/nodejs-are-we-there-yet.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: npm/are-we-there-yet +tag_prefix: "v" +seperator: "."