[nodejs-text-table] Initial import(#1144659)

Parag Nemade pnemade at fedoraproject.org
Fri Oct 24 16:03:07 UTC 2014


commit aec1b96e12dc52c7a33fbb9d2e4337a0ab7691c6
Author: Parag Nemade <pnemade at redhat.com>
Date:   Fri Oct 24 21:33:06 2014 +0530

    Initial import(#1144659)

 .gitignore             |    1 +
 nodejs-text-table.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a2f16af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/text-table-0.2.0.tgz
diff --git a/nodejs-text-table.spec b/nodejs-text-table.spec
new file mode 100644
index 0000000..8ca7301
--- /dev/null
+++ b/nodejs-text-table.spec
@@ -0,0 +1,47 @@
+%global module_name text-table
+
+Name:           nodejs-%{module_name}
+Version:        0.2.0
+Release:        1%{?dist}
+Summary:        Generate borderless text table strings suitable for printing to stdout
+
+License:        MIT
+URL:            https://github.com/substack/%{module_name}
+Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+BuildRequires:  npm(tap)
+
+
+%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
+tap test/node/*.js
+
+%files
+%doc LICENSE readme.markdown example
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Fri Sep 19 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.2.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..1336e20 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4e595139988957453229d6ccd229f626  text-table-0.2.0.tgz


More information about the scm-commits mailing list