[nodejs-jsonparse/f20] Initial build

anish anishpatil at fedoraproject.org
Wed Jun 4 11:22:08 UTC 2014


commit 2331e62418e1d4ae32fd88b6fc465a32291da2cd
Author: anish <anish.developer at gmail.com>
Date:   Wed Jun 4 16:51:38 2014 +0530

    Initial build

 .gitignore            |    1 +
 nodejs-jsonparse.spec |   62 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0244f95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jsonparse-0.0.6.tgz
diff --git a/nodejs-jsonparse.spec b/nodejs-jsonparse.spec
new file mode 100644
index 0000000..4755157
--- /dev/null
+++ b/nodejs-jsonparse.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+Name:       nodejs-jsonparse
+Version:    0.0.6
+Release:    4%{?dist}
+Summary:    Pure-js JSON streaming parser for node.js
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/creationix/jsonparse
+Source:     http://registry.npmjs.org/jsonparse/-/jsonparse-%{version}.tgz
+
+
+BuildArch:  noarch
+
+BuildRequires:  nodejs-packaging
+BuildRequires:  npm(tap)
+BuildRequires:  npm(tape)
+
+ExclusiveArch: %{nodejs_arches} noarch
+
+%description
+This is a streaming JSON parser for Node.js
+
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/jsonparse
+cp -pr jsonparse.js package.json \
+    %{buildroot}%{nodejs_sitelib}/jsonparse
+
+
+
+%check
+%nodejs_symlink_deps --check
+/usr/bin/tap  test/*.js
+
+%files
+%doc LICENSE README.markdown examples/
+%{nodejs_sitelib}/jsonparse
+
+
+
+%changelog
+* Wed Jun 4 2014 Anish Patil <apatil at redhat.com> - 0.0.6-4
+- Incorporated package review comments
+
+* Wed May 28 2014 Anish Patil <apatil at redhat.com> - 0.0.6-3
+- Incorporated package review comments
+
+* Wed May 7 2014 Anish Patil <apatil at redhat.com> - 0.0.6-2
+- Incorporated package review comments
+
+* Thu Apr 10 2014 Anish Patil <apatil at redhat.com> - 0.0.6-1
+- Initial package
diff --git a/sources b/sources
index e69de29..0f6c6d2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+115fa8b3c28b8b758427074effa8f6e0  jsonparse-0.0.6.tgz


More information about the scm-commits mailing list