[nodejs-qs] Initial commit

Jamie Nguyen jamielinux at fedoraproject.org
Thu Feb 21 07:25:43 UTC 2013


commit a081bd90f291d72ec6a56a7286f37822fe35f86e
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Thu Feb 21 07:25:34 2013 +0000

    Initial commit

 .gitignore     |    1 +
 nodejs-qs.spec |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7c0c3c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qs-0.5.3.tgz
diff --git a/nodejs-qs.spec b/nodejs-qs.spec
new file mode 100644
index 0000000..57090e0
--- /dev/null
+++ b/nodejs-qs.spec
@@ -0,0 +1,67 @@
+%global enable_tests 0
+
+Name:       nodejs-qs
+Version:    0.5.3
+Release:    3%{?dist}
+Summary:    Query string parser for Node.js
+# License text is included in Readme.md
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/visionmedia/node-querystring
+Source0:    http://registry.npmjs.org/qs/-/qs-%{version}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(expect.js)
+BuildRequires:  npm(growl)
+BuildRequires:  npm(jade)
+BuildRequires:  npm(mocha)
+BuildRequires:  npm(querystring)
+%endif
+
+%description
+This is a query string parser for node and the browser supporting nesting,
+as it was removed from 0.3.x, so this library provides the previous and
+commonly desired behavior (and twice as fast). Used by express, connect
+and others.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/qs
+cp -pr package.json index.js \
+    %{buildroot}%{nodejs_sitelib}/qs
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+cp -pr %{nodejs_sitelib} .
+%{nodejs_sitelib}/mocha/bin/mocha --ui bdd
+%endif
+
+
+%files
+%doc History.md Readme.md examples.js
+%{nodejs_sitelib}/qs
+
+
+%changelog
+* Wed Feb 20 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.5.3-3
+- fix typo in %%description
+
+* Wed Feb 20 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.5.3-2
+- fix typo in %%summary
+
+* Mon Feb 11 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.5.3-1
+- initial package
diff --git a/sources b/sources
index e69de29..57d9fd9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+686d9a295c942b0976dbfe8d679a75f1  qs-0.5.3.tgz


More information about the scm-commits mailing list