[nodejs-silent-npm-registry-client] Initial commit (#1144664)

Parag Nemade pnemade at fedoraproject.org
Thu Oct 30 13:30:23 UTC 2014


commit 204cad5935cedb35d330d3b25d079bb657f0fdc2
Author: Parag Nemade <pnemade at redhat.com>
Date:   Thu Oct 30 19:00:25 2014 +0530

    Initial commit (#1144664)

 .gitignore                             |    1 +
 nodejs-silent-npm-registry-client.spec |   45 ++++++++++++++++++++++++++++++++
 sources                                |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cc33d73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/silent-npm-registry-client-0.0.1.tgz
diff --git a/nodejs-silent-npm-registry-client.spec b/nodejs-silent-npm-registry-client.spec
new file mode 100644
index 0000000..beee021
--- /dev/null
+++ b/nodejs-silent-npm-registry-client.spec
@@ -0,0 +1,45 @@
+%global module_name silent-npm-registry-client
+
+Name:           nodejs-%{module_name}
+Version:        0.0.1
+Release:        1%{?dist}
+Summary:        Npm registry client that doesn't spam stdout/stderr 
+
+License:        MIT
+URL:            https://github.com/juliangruber/%{module_name}
+Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+BuildRequires:  npm(npm-registry-client)
+BuildRequires:  npm(xtend)
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+
+%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 README.md example
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Fri Sep 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.0.1-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..e5ae33b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a38ea4d4de76fd1419d9ae6fbca92f14  silent-npm-registry-client-0.0.1.tgz


More information about the scm-commits mailing list