Blob Blame History Raw
Name:           nodejs-resumer
Version:        0.0.0
Release:        1%{?dist}
Summary:        A stream that starts paused and resumes on the next tick

License:        MIT
URL:            https://github.com/substack/resumer
Source0:        http://registry.npmjs.org/resumer/-/resumer-%{version}.tgz
# https://github.com/substack/resumer/pull/2
Patch0:         nodejs-resumer-concat-stream.patch
BuildArch:      noarch
ExclusiveArch:  %{nodejs_arches} noarch

BuildRequires:  nodejs-packaging

BuildRequires:  npm(tap)
BuildRequires:  npm(tape)
BuildRequires:  npm(concat-stream)
BuildRequires:  npm(through)

%description
A through stream that starts paused and resumes on the next tick.


%prep
%setup -q -n package
%patch0 -p1
rm -rf node_modules


%build


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/resumer
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/resumer
%nodejs_symlink_deps


%check
%nodejs_symlink_deps --check
%tap test/*.js


%files
%doc LICENSE readme.markdown example
%{nodejs_sitelib}/resumer


%changelog
* Thu Jul 24 2014 Tom Hughes <tom@compton.nu> - 0.0.0-1
- Initial build of 0.0.0