[nodejs-tinycolor] Initial import (#917137).

tdawson tdawson at fedoraproject.org
Wed May 29 17:20:27 UTC 2013


commit 748688118c465f0f4faad9416a61c6064b453b00
Author: Troy Dawson <tdawson at redhat.com>
Date:   Wed May 29 12:20:21 2013 -0500

    Initial import (#917137).

 .gitignore                 |    1 +
 nodejs-tinycolor-README.md |   17 +++++++++++++++
 nodejs-tinycolor.spec      |   48 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 4 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..604ed1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tinycolor-0.0.1.tgz
diff --git a/nodejs-tinycolor-README.md b/nodejs-tinycolor-README.md
new file mode 100644
index 0000000..2abc86d
--- /dev/null
+++ b/nodejs-tinycolor-README.md
@@ -0,0 +1,17 @@
+# tinycolor
+
+This is a no-fuzz, barebone, zero muppetry color module for node.js.
+
+# Environment variables
+
+* The module respects the `NOCOLOR` environment variable if you wish to disable the coloring.
+
+# License
+
+MIT License
+Copyright (c) 2012 Einar Otto Stangvik All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/nodejs-tinycolor.spec b/nodejs-tinycolor.spec
new file mode 100644
index 0000000..b162051
--- /dev/null
+++ b/nodejs-tinycolor.spec
@@ -0,0 +1,48 @@
+%global npm_name tinycolor
+
+Summary:       A to-the-point color module for node
+Name:          nodejs-%{npm_name}
+Version:       0.0.1
+Release:       3%{?dist}
+Group:         System Environment/Libraries
+License:       MIT
+URL:           http://github.com/einaros/tinycolor
+Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
+# The readme file has been updated to include the license.
+# We are including it here until the next release when it should be
+#   part of the release.
+# https://raw.github.com/einaros/tinycolor/master/README.md
+Source1:       nodejs-tinycolor-README.md
+BuildRequires: nodejs-devel
+BuildArch:     noarch
+
+%description
+This is a no-fuzz, bare bones color module for nodejs.
+
+%prep
+%setup -q -n package
+
+rm -f README.md
+cp -pr %{SOURCE1} README.md
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
+cp -pr tinycolor.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
+
+%files
+%doc README.md example.js
+%{nodejs_sitelib}/%{npm_name}
+
+%changelog
+* Tue May 28 2013 Troy Dawson <tdawson at redhat.com> - 0.0.1-3
+- Fixed description so words are spelled correctly
+- Updated README.md with the latest one that has a license
+
+* Fri Mar 01 2013 Troy Dawson <tdawson at redhat.com> - 0.0.1-2
+- Update spec to Fedora nodejs standards
+
+* Wed Nov 14 2012 Troy Dawson <tdawson at redhat.com> - 0.0.1-1
+- Initial build using tchor spec template
diff --git a/sources b/sources
index e69de29..5cf9168 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+795da891c356e097957f541ad6755eb4  tinycolor-0.0.1.tgz


More information about the scm-commits mailing list