[nodejs-walkdir] Initial import
Jamie Nguyen
jamielinux at fedoraproject.org
Fri Mar 8 08:12:50 UTC 2013
commit fd3f4857d77ff9b5fc8e95e76f61b485cf616bfb
Author: Jamie Nguyen <j at jamielinux.com>
Date: Fri Mar 8 08:12:42 2013 +0000
Initial import
.gitignore | 1 +
nodejs-walkdir.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9bdbf2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/walkdir-0.0.5.tgz
diff --git a/nodejs-walkdir.spec b/nodejs-walkdir.spec
new file mode 100644
index 0000000..80e2aa8
--- /dev/null
+++ b/nodejs-walkdir.spec
@@ -0,0 +1,58 @@
+%global enable_tests 0
+
+Name: nodejs-walkdir
+Version: 0.0.5
+Release: 1%{?dist}
+Summary: Walks a directory tree emitting events based on what it finds
+License: MIT
+Group: System Environment/Libraries
+URL: https://github.com/soldair/node-walkdir
+Source0: http://registry.npmjs.org/walkdir/-/walkdir-%{version}.tgz
+BuildArch: noarch
+
+BuildRequires: nodejs-devel
+
+%if 0%{?enable_tests}
+BuildRequires: npm(findit)
+BuildRequires: npm(fstream)
+BuildRequires: npm(ls-r)
+BuildRequires: npm(tap)
+%endif
+
+%description
+This Node.js module walks a directory tree emitting events based on what it
+finds. It presents a familiar callback/emitter/sync interface and can walk a
+tree of any depth.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/walkdir
+cp -pr package.json walkdir.js \
+ %{buildroot}%{nodejs_sitelib}/walkdir
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+cp -pr %{nodejs_sitelib} .
+%tap test/*.js
+%endif
+
+
+%files
+%doc license readme.md
+%{nodejs_sitelib}/walkdir
+
+
+%changelog
+* Sun Feb 17 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.5-1
+- initial package
diff --git a/sources b/sources
index e69de29..7e0e100 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fc5c5a0f286f55e7e271936d802c6c00 walkdir-0.0.5.tgz
More information about the scm-commits
mailing list