From f23cd1b8b9b8f666932cc54a307852759b9edf2d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2015 14:14:44 +0000 Subject: import nodejs010-nodejs-readable-stream-2.0.2-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0be98cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/readable-stream-2.0.2.tgz diff --git a/.nodejs010-nodejs-readable-stream.metadata b/.nodejs010-nodejs-readable-stream.metadata new file mode 100644 index 0000000..524dce8 --- /dev/null +++ b/.nodejs010-nodejs-readable-stream.metadata @@ -0,0 +1 @@ +bec81beae8cf455168bc2e5b2b31f5bcfaed9b1b SOURCES/readable-stream-2.0.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-readable-stream.spec b/SPECS/nodejs-readable-stream.spec new file mode 100644 index 0000000..6392b15 --- /dev/null +++ b/SPECS/nodejs-readable-stream.spec @@ -0,0 +1,68 @@ +# spec file for package nodejs-nodejs-readable-stream +%{?scl:%scl_package nodejs-nodejs-readable-stream} +%{!?scl:%global pkg_name %{name}} + +%global npm_name readable-stream +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-readable-stream +Version: 2.0.2 +Release: 3%{?dist} +Summary: Streams3, a user-land copy of the stream library from iojs v2.x +Url: https://github.com/nodejs/readable-stream#readme +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT + +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm}} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-packaging + +%if 0%{?enable_tests} +BuildRequires: npm(tap) +BuildRequires: npm(tape) +BuildRequires: npm(zuul) +%endif + +%description +Streams3, a user-land copy of the stream library from iojs v2.x + +%prep +%setup -q -n package + +%nodejs_fixdep inherits 2.0.0 + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr lib/ package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} +%check +%{nodejs_symlink_deps} --check +tap test/parallel/*.js +%endif + +%files +%{nodejs_sitelib}/readable-stream + +%doc README.md LICENSE + +%changelog +* Tue Sep 22 2015 Zuzana Svetlikova - 2.0.2-3 +- Add lib/ to %%install + +* Thu Aug 20 2015 Zuzana Svetlikova - 2.0.2-2 +- Add %%nodejs_fixdep macro + +* Thu Aug 13 2015 Zuzana Svetlikova - 2.0.2-1 +- Initial build