[nodejs-acorn] Initial Commit

Gerard Ryan galileo at fedoraproject.org
Tue Nov 25 22:08:47 UTC 2014


commit f3a38cc85db17c75c6bfcfa0bee0b36d24ac15b3
Author: Gerard Ryan <gerard at ryan.lt>
Date:   Sat Nov 22 18:28:04 2014 +0000

    Initial Commit

 nodejs-acorn.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/nodejs-acorn.spec b/nodejs-acorn.spec
new file mode 100644
index 0000000..0e5aa2d
--- /dev/null
+++ b/nodejs-acorn.spec
@@ -0,0 +1,46 @@
+%global shortname acorn
+
+Name:           nodejs-%{shortname}
+Version:        0.9.0
+Release:        1%{?dist}
+Summary:        ECMAScript parser
+
+License:        MIT
+URL:            https://marijnhaverbeke.nl/%{shortname}/
+Source0:        http://registry.npmjs.org/%{shortname}/-/%{shortname}-%{version}.tgz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+%description
+A tiny, fast JavaScript parser, written completely in JavaScript.
+
+%prep
+%setup -qn package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{shortname}/
+cp -pr package.json %{shortname}.js %{shortname}_loose.js %{shortname}_csp.js util/ \
+    %{buildroot}%{nodejs_sitelib}/%{shortname}
+
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+node test/run.js
+
+%files
+%{nodejs_sitelib}/%{shortname}
+%doc LICENSE README.md
+
+
+%changelog
+* Sat Nov 22 2014 Gerard Ryan <gerard at ryan.lt> - 0.9.0-1
+- Initial package


More information about the scm-commits mailing list