[nodejs-which/f18] initial import

T.C. Hollingsworth patches at fedoraproject.org
Thu Jan 17 07:20:32 UTC 2013


commit e53837c8c8e157056f51bb82ab6be3030ddfd626
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Thu Jan 17 00:20:12 2013 -0700

    initial import

 .gitignore        |    1 +
 nodejs-which.spec |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..755e695 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/which-1.0.5.tgz
diff --git a/nodejs-which.spec b/nodejs-which.spec
new file mode 100644
index 0000000..16df38f
--- /dev/null
+++ b/nodejs-which.spec
@@ -0,0 +1,68 @@
+Name:       nodejs-which
+Version:    1.0.5
+Release:    4%{?dist}
+Summary:    A JavaScript implementation of the 'which' command
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/isaacs/node-which
+Source0:    http://registry.npmjs.org/which/-/which-%{version}.tgz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/which
+cp -pr bin which.js package.json %{buildroot}%{nodejs_sitelib}/which
+
+mkdir -p %{buildroot}%{_bindir}
+ln -sf ../lib/node_modules/bin/which %{buildroot}%{_bindir}/which-nodejs
+
+%nodejs_symlink_deps
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/which
+%{_bindir}/which-nodejs
+%doc README.md LICENSE
+
+%changelog
+* Tue Jan 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.5-4
+- fix symlink to executable
+- actually install the executable!
+- rename executable to which-nodejs
+
+* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.5-3
+- add missing build section
+
+* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.5-2
+- Clean up for submission
+
+* Sun Mar 04 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.5-1
+- new upstream release 1.0.5
+
+* Thu Feb 10 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.3-1
+- new upstream release 1.0.3
+
+* Sun Dec 18 2011 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.2-2
+- add Group to make EL5 happy
+
+* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.2-1
+- new upstream release
+
+* Tue Aug 23 2011 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..acb26c5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+de8504eba9afa3e8a4e7feb9d3b52b38  which-1.0.5.tgz


More information about the scm-commits mailing list