[nodejs-map-stream] Initial import (#1172970)

Parag Nemade pnemade at fedoraproject.org
Fri Dec 19 17:51:04 UTC 2014


commit 9b0763063adfdca3a0452d017515989a04806254
Author: Parag Nemade <pnemade at redhat.com>
Date:   Fri Dec 19 23:20:53 2014 +0530

    Initial import (#1172970)

 .gitignore             |    1 +
 nodejs-map-stream.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
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 <pnemade AT redhat DOT com> - 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


More information about the scm-commits mailing list