[nodejs-xmldom] Initial import (#1142051)
Parag Nemade
pnemade at fedoraproject.org
Fri Oct 24 05:47:51 UTC 2014
commit 9b5a72e56dee227c42e3de0e6ceac929f8bf6e6f
Author: Parag Nemade <pnemade at redhat.com>
Date: Fri Oct 24 11:17:44 2014 +0530
Initial import (#1142051)
.gitignore | 1 +
nodejs-xmldom.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fb3f150 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xmldom-0.1.19.tgz
diff --git a/nodejs-xmldom.spec b/nodejs-xmldom.spec
new file mode 100644
index 0000000..8d2d239
--- /dev/null
+++ b/nodejs-xmldom.spec
@@ -0,0 +1,47 @@
+%global module_name xmldom
+
+Name: nodejs-%{module_name}
+Version: 0.1.19
+Release: 1%{?dist}
+Summary: A W3C Standard XML DOM implementation and parser
+
+License: MIT
+URL: https://github.com/jindw/%{module_name}
+Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%description
+A JavaScript implementation of W3C DOM for Node.js, Rhino and the browser.
+Fully compatible with W3C DOM level2; and some compatible with level3.
+Supports DOMParser and XMLSerializer interface such as in browser.
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
+cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name}
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+
+
+%files
+%doc LICENSE readme.md
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Mon Sep 15 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.1.19-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..2293e53 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ed065d7ea291f47bea3d41a140fe1249 xmldom-0.1.19.tgz
More information about the scm-commits
mailing list