[nodejs-colors] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Sat Apr 27 16:42:13 UTC 2013


commit 563edc5f7a8e35de4befea2da5013ec51a0db4a2
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Apr 27 17:42:03 2013 +0100

    Initial import

 .gitignore         |    1 +
 nodejs-colors.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9fbc2bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/colors-0.6.0-1.tgz
diff --git a/nodejs-colors.spec b/nodejs-colors.spec
new file mode 100644
index 0000000..11abb22
--- /dev/null
+++ b/nodejs-colors.spec
@@ -0,0 +1,49 @@
+%global enable_tests 1
+%global extraversion -1
+
+Name:       nodejs-colors
+Version:    0.6.0
+Release:    1%{?dist}
+Summary:    Get colors in your Node.js console
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/Marak/colors.js
+Source0:    http://registry.npmjs.org/colors/-/colors-%{version}%{extraversion}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%description
+%{summary}.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/colors
+cp -pr package.json colors.js \
+    %{buildroot}%{nodejs_sitelib}/colors
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+%__nodejs test.js
+%endif
+
+
+%files
+%doc MIT-LICENSE.txt ReadMe.md example.html example.js
+%{nodejs_sitelib}/colors
+
+
+%changelog
+* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.6.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..aa5724d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+33470c5197b3cd7b8b5257c675ca2876  colors-0.6.0-1.tgz


More information about the scm-commits mailing list