[nodejs-cli] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Sat Mar 23 16:16:38 UTC 2013


commit 6ffe2b584592160cbe70736c4d7fa880a015bcb0
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Mar 23 16:16:30 2013 +0000

    Initial import

 .gitignore      |    1 +
 nodejs-cli.spec |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..032ab1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cli-0.4.4-2.tgz
diff --git a/nodejs-cli.spec b/nodejs-cli.spec
new file mode 100644
index 0000000..03a2c8e
--- /dev/null
+++ b/nodejs-cli.spec
@@ -0,0 +1,57 @@
+%global baseversion  0.4.4
+%global extraversion -2
+
+Name:       nodejs-cli
+Version:    %{baseversion}.2
+Release:    2%{?dist}
+Summary:    Node.js module for rapidly building command line apps
+# License text is included in README.md
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/chriso/cli
+Source0:    http://registry.npmjs.org/cli/-/cli-%{baseversion}%{extraversion}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%description
+cli is a toolkit for rapidly building command line apps. It includes:
+
+ - Full featured options/arguments parser
+ - Plugin support for adding common options and switches
+ - Helper methods for working with input/output and spawning child processes
+ - Output colored/styled messages, progress bars or spinners
+ - Command auto-completion and glob support
+
+
+%prep
+%setup -q -n package
+find . -type f -exec chmod 0644 '{}' \;
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/cli
+cp -pr package.json cli.js index.js \
+    %{buildroot}%{nodejs_sitelib}/cli
+
+%nodejs_symlink_deps
+
+
+%files
+%doc README.md examples/
+%{nodejs_sitelib}/cli
+
+
+%changelog
+* Sat Mar 23 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.4.2-2
+- fix a few more file permissions
+
+* Sat Mar 23 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.4.2-1
+- fix file permissions in examples/ directory
+
+* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.4-1
+- initial package
diff --git a/sources b/sources
index e69de29..225f29e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+46cc643f4f537ea400cd808f5607581b  cli-0.4.4-2.tgz


More information about the scm-commits mailing list