[nodejs-defined] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Thu May 30 14:21:29 UTC 2013


commit 8325459a7c0512ca2d86160627dd1532f9d1c336
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Thu May 30 15:21:20 2013 +0100

    Initial import

 .gitignore          |    1 +
 nodejs-defined.spec |   56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c57e8e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/defined-0.0.0.tgz
diff --git a/nodejs-defined.spec b/nodejs-defined.spec
new file mode 100644
index 0000000..54e6135
--- /dev/null
+++ b/nodejs-defined.spec
@@ -0,0 +1,56 @@
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 0
+
+Name:       nodejs-defined
+Version:    0.0.0
+Release:    1%{?dist}
+Summary:    Return the first argument that is '!== undefined'
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/substack/defined
+Source0:    http://registry.npmjs.org/defined/-/defined-%{version}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(tap)
+BuildRequires:  npm(tape)
+%endif
+
+%description
+%{summary}.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/defined
+cp -pr package.json index.js \
+    %{buildroot}%{nodejs_sitelib}/defined
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+ln -sf %{nodejs_sitelib} .
+%tap test/*.js
+%endif
+
+
+%files
+%doc LICENSE readme.markdown example/
+%{nodejs_sitelib}/defined
+
+
+%changelog
+* Mon May 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..3e2cf56 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bb02363a5b3258e478133524a332e48a  defined-0.0.0.tgz


More information about the scm-commits mailing list