[nodejs-nsp-api] Initial import(#1144662)
Parag Nemade
pnemade at fedoraproject.org
Fri Oct 24 15:44:22 UTC 2014
commit b8cc7c06d847ec1a4da642ba242137c3c1b14e4e
Author: Parag Nemade <pnemade at redhat.com>
Date: Fri Oct 24 21:14:21 2014 +0530
Initial import(#1144662)
.gitignore | 1 +
nodejs-nsp-api.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4189b76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nsp-api-1.0.0.tgz
diff --git a/nodejs-nsp-api.spec b/nodejs-nsp-api.spec
new file mode 100644
index 0000000..b9e327b
--- /dev/null
+++ b/nodejs-nsp-api.spec
@@ -0,0 +1,48 @@
+%global module_name nsp-api
+
+Name: nodejs-%{module_name}
+Version: 1.0.0
+Release: 2%{?dist}
+Summary: Node.js module for NSP API
+
+License: MIT
+URL: https://github.com/nodesecurity/%{module_name}
+Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(request)
+
+%description
+Node.js module wrapper for the Node Security Project API
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+%nodejs_fixdep request ~2.x
+
+%build
+#nothing to build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name}
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+
+%files
+%doc LICENSE README.md
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Fri Oct 24 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-2
+- fix some minor changes as suggested in package review
+
+* Fri Sep 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..7caaf3f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6329ee5b20d71e751e1dd81aaf55b21d nsp-api-1.0.0.tgz
More information about the scm-commits
mailing list