[nodejs-duplex] Initial import(#1144663)
Parag Nemade
pnemade at fedoraproject.org
Sat Oct 25 01:00:17 UTC 2014
commit 75e700a4ae0b177ece28cf704e338cc7d1c5f893
Author: Parag Nemade <pnemade at redhat.com>
Date: Sat Oct 25 06:30:09 2014 +0530
Initial import(#1144663)
.gitignore | 1 +
nodejs-duplex.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7a8020a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/duplex-1.0.0.tgz
diff --git a/nodejs-duplex.spec b/nodejs-duplex.spec
new file mode 100644
index 0000000..85713e6
--- /dev/null
+++ b/nodejs-duplex.spec
@@ -0,0 +1,45 @@
+%global module_name duplex
+
+Name: nodejs-%{module_name}
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: Base class for a duplex stream
+
+License: MIT
+URL: https://github.com/dominictarr/%{module_name}
+Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%description
+Simple base class for duplex streams, that automatically handles pausing
+and buffering.
+
+%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
+
+
+%check
+%nodejs_symlink_deps --check
+node test/index.js
+
+%files
+%doc LICENSE.MIT README.markdown
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Fri Sep 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..3a1d438 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0eb78e30452871918b81ab9314f81f8c duplex-1.0.0.tgz
More information about the scm-commits
mailing list