[nodejs-ansicolors/f19] Initial import (#1075563)

Tomáš Hrčka humaton at fedoraproject.org
Tue Apr 8 07:33:36 UTC 2014


commit 2b4a44575a28e634e184629c891c37e66312ec98
Author: Tomáš Hrčka <thrcka at redhat.com>
Date:   Tue Apr 8 09:32:01 2014 +0200

    Initial import (#1075563)

 .gitignore             |    1 +
 nodejs-ansicolors.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..96fd762 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ansicolors-0.3.2.tgz
diff --git a/nodejs-ansicolors.spec b/nodejs-ansicolors.spec
new file mode 100644
index 0000000..3b0a546
--- /dev/null
+++ b/nodejs-ansicolors.spec
@@ -0,0 +1,47 @@
+%{?nodejs_find_provides_and_requires}
+
+Name:           nodejs-ansicolors
+Version:        0.3.2
+Release:        2%{?dist}
+Summary:        Functions that surround a string with ansi color codes so it prints in color
+License:        MIT
+Url:            http://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz
+Source0:        http://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz
+BuildArch:	noarch
+BuildRequires:  nodejs-devel
+
+%description
+Functions that surround a string with ansi color codes so it prints in color.
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/ansicolors
+cp -pr ansicolors.js package.json %{buildroot}%{nodejs_sitelib}/ansicolors
+
+%nodejs_symlink_deps
+%check 
+
+node test/ansicolors.js
+
+%clean
+rm -rf %buildroot
+
+%files
+%{nodejs_sitelib}/ansicolors
+
+%doc LICENSE README.md
+
+%changelog
+* Thu Mar 13 2014 Tomas Hrcka <thrcka at redhat.com> - 0.3.2-2
+- remove buildroot
+- fix typo in summary
+
+* Wed Mar 12 2014 Tomas Hrcka <thrcka at redhat.com> - 0.3.2-1
+- Initial package build
+
diff --git a/sources b/sources
index e69de29..928f7a6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9a8ff703d6072578025a1a324c9005d1  ansicolors-0.3.2.tgz


More information about the scm-commits mailing list