%{?nodejs_find_provides_and_requires} %global packagename readable-stream Name: nodejs-readable-stream Version: 2.3.6 Release: 1%{?dist} Summary: Streams3, a user-land copy of the stream library from Node.js License: MIT URL: git://github.com/nodejs/readable-stream Source0: http://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging BuildRequires: npm(core-util-is) BuildRequires: npm(inherits) BuildRequires: npm(isarray) BuildRequires: npm(process-nextick-args) BuildRequires: npm(safe-buffer) BuildRequires: npm(string_decoder) BuildRequires: npm(util-deprecate) Provides: npm(%{packagename}) %description Streams3, a user-land copy of the stream library from Node.js %prep %setup -n "package" rm -Rf node_modules %build # nothing to do! %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr * %{buildroot}%{nodejs_sitelib}/%{packagename} %{nodejs_symlink_deps} %files %doc %license %{nodejs_sitelib}/%{packagename} %changelog