diff --git a/block-stream-0.0.7.tgz b/block-stream-0.0.7.tgz new file mode 100644 index 0000000..a9b7057 Binary files /dev/null and b/block-stream-0.0.7.tgz differ diff --git a/nodejs-block-stream.spec b/nodejs-block-stream.spec new file mode 100644 index 0000000..4d72c0b --- /dev/null +++ b/nodejs-block-stream.spec @@ -0,0 +1,37 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-block-stream +Version: 0.0.7 +Release: 1 +Summary: A stream of blocks +License: BSD +URL: https://github.com/isaacs/block-stream +Source0: https://registry.npmjs.org/block-stream/-/block-stream-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging nodejs-tap +%description +Write data into it, and it'll output data in buffer blocks the size you +specify, padding with zeroes if necessary. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/block-stream +cp -pr block-stream.js package.json %{buildroot}%{nodejs_sitelib}/block-stream +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +tap test/ + +%files +%{nodejs_sitelib}/block-stream +%doc README.md +%license LICENCE + +%changelog +* Mon Aug 17 2020 Shaoqiang Kang - 0.0.7-1 +- Package init diff --git a/nodejs-block-stream.yaml b/nodejs-block-stream.yaml new file mode 100644 index 0000000..b81fd02 --- /dev/null +++ b/nodejs-block-stream.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: isaacs/block-stream +tag_prefix: "v" +seperator: "."