[nodejs-opts/f18] initial import

T.C. Hollingsworth patches at fedoraproject.org
Thu Jan 17 07:26:21 UTC 2013


commit 0525a64538bdc295e597d22b8bb75d37cd8263e6
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Thu Jan 17 00:26:08 2013 -0700

    initial import

 .gitignore       |    1 +
 nodejs-opts.spec |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..09beb7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/opts-1.2.2.tgz
diff --git a/nodejs-opts.spec b/nodejs-opts.spec
new file mode 100644
index 0000000..02f36db
--- /dev/null
+++ b/nodejs-opts.spec
@@ -0,0 +1,51 @@
+Name:       nodejs-opts
+Version:    1.2.2
+Release:    2%{?dist}
+Summary:    Javascript Command Line Options for Node.js
+License:    BSD
+Group:      System Environment/Libraries
+URL:        http://joey.mazzarelli.com/2010/04/09/javascript-command-line-options-for-node-js/
+Source0:    http://registry.npmjs.org/opts/-/opts-1.2.2.tgz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%description
+js-opts is a library for parsing command line options in javascript.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/opts
+cp -pr js package.json %{buildroot}%{nodejs_sitelib}/opts
+
+%nodejs_symlink_deps
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/opts
+%doc LICENSE README examples
+
+%changelog
+* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.2-2
+- add missing build section
+
+* Sun Mar 04 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.2-1
+- new upstream release 1.2.2
+- clean up for submission
+
+* Sun Dec 18 2011 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.1-2
+- add Group to make EL5 happy
+
+* Thu Nov 17 2011 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.2.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..cd13e33 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5a1483b6799217e929536ace93aba68e  opts-1.2.2.tgz


More information about the scm-commits mailing list