[nodejs-nan0] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Thu May 22 13:56:30 UTC 2014


commit 764be91a48564506b180023927f57b2f607bba57
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Thu May 22 14:56:19 2014 +0100

    Initial import

 .gitignore       |    1 +
 nodejs-nan0.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..38d21a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nan-0.8.0.tgz
diff --git a/nodejs-nan0.spec b/nodejs-nan0.spec
new file mode 100644
index 0000000..98b7d1c
--- /dev/null
+++ b/nodejs-nan0.spec
@@ -0,0 +1,55 @@
+%{?nodejs_find_provides_and_requires}
+
+Name:              nodejs-nan0
+Version:           0.8.0
+Release:           1%{?dist}
+Summary:           Native Abstractions for Node.js
+License:           MIT
+Group:             Development/Libraries
+URL:               http://github.com/rvagg/nan
+Source0:           http://registry.npmjs.org/nan/-/nan-%{version}.tgz
+
+BuildArch:  noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
+
+BuildRequires:     nodejs-packaging
+
+%description
+A header file filled with macro and utility goodness
+for making add on development for Node.js easier across
+versions 0.8, 0.10 and 0.11, and eventually 0.12.
+
+Thanks to the crazy changes in V8 (and some in Node core),
+keeping native add-on compiling happily across versions,
+particularly 0.10 to 0.11/0.12, is a minor nightmare.
+The goal of this project is to store all logic necessary
+to develop native Node.js add-on without having to inspect
+NODE_MODULE_VERSION and get yourself into a macro-tangle.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/nan at 0
+cp -pr package.json include_dirs.js nan.h \
+    %{buildroot}%{nodejs_sitelib}/nan at 0
+
+
+%files
+%doc LICENSE README.md
+%{nodejs_sitelib}/nan at 0
+
+
+%changelog
+* Sat May 10 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.8.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..50dfc2d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+82ca5a957808d8bd33a1e60e37919eab  nan-0.8.0.tgz


More information about the scm-commits mailing list