[nodejs-node-print] Initial import (#1144661)
Parag Nemade
pnemade at fedoraproject.org
Fri Oct 24 15:42:26 UTC 2014
commit d9734f85ad3753ea8954af1700c440ff131d2070
Author: Parag Nemade <pnemade at redhat.com>
Date: Fri Oct 24 21:12:24 2014 +0530
Initial import (#1144661)
.gitignore | 1 +
nodejs-node-print.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2a8a5d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/node-print-0.0.4.tgz
diff --git a/nodejs-node-print.spec b/nodejs-node-print.spec
new file mode 100644
index 0000000..4dbc6c2
--- /dev/null
+++ b/nodejs-node-print.spec
@@ -0,0 +1,53 @@
+%global module_name node-print
+
+Name: nodejs-%{module_name}
+Version: 0.0.4
+Release: 2%{?dist}
+Summary: Printf in JavaScript Node.js module
+
+License: MIT
+URL: https://github.com/nuysoft/%{module_name}
+Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+
+%description
+This module provides:
+ 1) printf in JavaScript
+ 2) Prettify log's color
+ 3) Prettify JSONArray to table
+ 4) Simple date format
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+
+
+%build
+#nothing to build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
+cp -pr package.json print.js %{buildroot}%{nodejs_sitelib}/%{module_name}
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+node test.js
+
+%files
+%doc LICENSE.md README.md
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Fri Oct 24 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.0.4-2
+- fix some minor changes as suggested in package review
+
+* Fri Sep 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.0.4-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..125f00e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+35ca29d43dd2007b5a2fd072c16b504f node-print-0.0.4.tgz
More information about the scm-commits
mailing list