diff --git a/asap-2.0.3.tar.gz b/asap-2.0.3.tar.gz new file mode 100644 index 0000000..f23ec14 Binary files /dev/null and b/asap-2.0.3.tar.gz differ diff --git a/nodejs-asap.spec b/nodejs-asap.spec new file mode 100644 index 0000000..1c88161 --- /dev/null +++ b/nodejs-asap.spec @@ -0,0 +1,37 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-asap +Version: 2.0.3 +Release: 1 +Summary: High-priority task queue for Node.js and browser +License: MIT +URL: https://github.com/kriskowal/asap +Source0: https://github.com/kriskowal/asap/archive/v%{version}/asap-%{version}.tar.gz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging +%description +%{summary}. + +%prep +%setup -q -n asap-%{version} + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/asap +cp -pr package.json asap.js raw.js \ + %{buildroot}%{nodejs_sitelib}/asap +%nodejs_symlink_deps + +%check +%{nodejs_symlink_deps} --check +%__nodejs test/asap-test.js + +%files +%doc README.md CHANGES.md CONTRIBUTING.md +%license LICENSE.md +%{nodejs_sitelib}/asap + +%changelog +* Sat Aug 8 2020 wutao - 2.0.3-1 +- package init diff --git a/nodejs-asap.yaml b/nodejs-asap.yaml new file mode 100644 index 0000000..a8bbd7d --- /dev/null +++ b/nodejs-asap.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: kriskowal/asap +tag_prefix: "^v" +seperator: "."