[nodejs-step] Initial import of nodejs-step
Tom Hughes
tomh at fedoraproject.org
Mon Mar 4 22:18:03 UTC 2013
commit bf6492c65f3daee543b1ad9738808e41be8bcf9d
Author: Tom Hughes <tom at compton.nu>
Date: Mon Mar 4 22:17:46 2013 +0000
Initial import of nodejs-step
.gitignore | 1 +
nodejs-step.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f739103 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/step-0.0.5.tgz
diff --git a/nodejs-step.spec b/nodejs-step.spec
new file mode 100644
index 0000000..c7a03ff
--- /dev/null
+++ b/nodejs-step.spec
@@ -0,0 +1,48 @@
+Name: nodejs-step
+Version: 0.0.5
+Release: 1%{?dist}
+Summary: A simple control-flow library for Node.js
+
+# License is at the top of lib/step.js
+License: MIT
+URL: https://github.com/creationix/step
+Source0: http://registry.npmjs.org/step/-/step-%{version}.tgz
+BuildArch: noarch
+
+BuildRequires: nodejs-devel
+
+%description
+A simple control-flow library for Node.js that makes parallel
+execution, serial execution, and error handling painless.
+
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+
+
+%build
+
+
+%check
+for test in test/*Test.js
+do
+ %{__nodejs} ${test}
+done
+
+
+%install
+mkdir -p %{buildroot}/%{nodejs_sitelib}/step
+cp -pr package.json %{buildroot}/%{nodejs_sitelib}/step
+install -p -D -m0644 lib/step.js %{buildroot}/%{nodejs_sitelib}/step/lib/step.js
+%nodejs_symlink_deps
+
+
+%files
+%doc README.markdown
+%{nodejs_sitelib}/step
+
+
+%changelog
+* Sun Feb 10 2013 Tom Hughes <tom at compton.nu> - 0.0.5-1
+- Initial build of 0.0.5
diff --git a/sources b/sources
index e69de29..91ebe00 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cfab26b5bc9c00de8a771ef13d042f2f step-0.0.5.tgz
More information about the scm-commits
mailing list