[nodejs-require-all] Initial import (#966221).
tdawson
tdawson at fedoraproject.org
Mon Jul 22 15:23:40 UTC 2013
commit fa06032cd4d3091081095eda303f065e4c607e12
Author: Troy Dawson <tdawson at redhat.com>
Date: Mon Jul 22 10:23:24 2013 -0500
Initial import (#966221).
.gitignore | 1 +
nodejs-require-all.spec | 40 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9a65aa3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/require-all-0.0.6.tgz
diff --git a/nodejs-require-all.spec b/nodejs-require-all.spec
new file mode 100644
index 0000000..580c17a
--- /dev/null
+++ b/nodejs-require-all.spec
@@ -0,0 +1,40 @@
+%global npm_name require-all
+%global enable_tests 0
+
+Summary: Require all files within a directory
+Name: nodejs-%{npm_name}
+Version: 0.0.6
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/felixge/node-require-all
+Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
+BuildRequires: nodejs-devel
+BuildArch: noarch
+
+%description
+An easy way to require all files within a directory.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
+cp -pr index.js package.json test %{buildroot}%{nodejs_sitelib}/%{npm_name}
+
+%if 0%{?enable_tests}
+%check
+node test/test.js
+%endif
+
+%files
+%doc License Readme.md
+%{nodejs_sitelib}/%{npm_name}
+
+%changelog
+* Wed May 22 2013 Troy Dawson <tdawson at redhat.com> - 0.0.6-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..e3405ce 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c545d46cce61a903116c1cfbcc71f15c require-all-0.0.6.tgz
More information about the scm-commits
mailing list