From 9b0763063adfdca3a0452d017515989a04806254 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Dec 19 2014 17:50:53 +0000 Subject: Initial import (#1172970) --- diff --git a/.gitignore b/.gitignore index e69de29..b6ba27a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/map-stream-0.0.5.tgz diff --git a/nodejs-map-stream.spec b/nodejs-map-stream.spec new file mode 100644 index 0000000..0a9d077 --- /dev/null +++ b/nodejs-map-stream.spec @@ -0,0 +1,57 @@ +# Disabled as BR: for tests are not in fedora +%global enable_tests 0 + +%global module_name map-stream + +Name: nodejs-%{module_name} +Version: 0.0.5 +Release: 1%{?dist} +Summary: Construct pipes of streams of events + +License: MIT +URL: http://github.com/dominictarr/map-stream +Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging + +%if 0%{?enable_tests} +BuildRequires: npm(asynct) +BuildRequires: npm(it-is) +BuildRequires: npm(ubelt) +BuildRequires: npm(stream-spec) +BuildRequires: npm(event-stream) +BuildRequires: npm(from) +%endif + +%description +%{summary}. + +%prep +%setup -q -n package +rm -rf node_modules + +%build +# nothing to build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name} +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name} + +%nodejs_symlink_deps + +%if 0%{?enable_tests} +%check +%nodejs_symlink_deps --check +asynct test +%endif + +%files +%doc readme.markdown LICENCE examples +%{nodejs_sitelib}/%{module_name} + +%changelog +* Tue Dec 09 2014 Parag Nemade - 0.0.5-1 +- Initial packaging + diff --git a/sources b/sources index e69de29..59db453 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a20571d78cdc3049d0d9899fa6ce6844 map-stream-0.0.5.tgz