[nodejs-chainsaw] Initial import (#1142049)

Parag Nemade pnemade at fedoraproject.org
Wed Oct 22 10:08:35 UTC 2014


commit bb77a57aba9627cf09838a574535efb1ac1482a8
Author: Parag Nemade <pnemade at redhat.com>
Date:   Wed Oct 22 15:38:27 2014 +0530

    Initial import (#1142049)

 .gitignore           |    1 +
 LICENSE              |    4 ++++
 nodejs-chainsaw.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 4 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..34be3f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/chainsaw-0.1.0.tgz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..0471ea3
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,4 @@
+Copyright 2010 James Halliday (mail at substack.net)
+
+This project is free software released under the MIT license:
+http://www.opensource.org/licenses/mit-license.php 
diff --git a/nodejs-chainsaw.spec b/nodejs-chainsaw.spec
new file mode 100644
index 0000000..29736b1
--- /dev/null
+++ b/nodejs-chainsaw.spec
@@ -0,0 +1,49 @@
+%global module_name chainsaw
+
+Name:           nodejs-%{module_name}
+Version:        0.1.0
+Release:        1%{?dist}
+Summary:        Build chainable fluent interfaces the easy way
+
+License:        MIT
+URL:            https://github.com/substack/node-chainsaw
+Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+Source1:        https://raw.githubusercontent.com/substack/node-chainsaw/master/LICENSE
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+BuildRequires: npm(traverse)
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+cp -p %{SOURCE1} .
+chmod 644 index.js
+%nodejs_fixdep traverse ~0.4
+
+%build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name}
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+node test/*.js
+
+%files
+%doc LICENSE README.markdown examples
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Mon Sep 15 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.1.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..22f8654 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b026cb8169d9d3845650151909f0618e  chainsaw-0.1.0.tgz


More information about the scm-commits mailing list