[nodejs-pegjs] Initial import(#1144658)

Parag Nemade pnemade at fedoraproject.org
Fri Oct 24 16:02:19 UTC 2014


commit 139d4a7d4ff928cd7eb91c51c88e3558d11f60a1
Author: Parag Nemade <pnemade at redhat.com>
Date:   Fri Oct 24 21:32:16 2014 +0530

    Initial import(#1144658)

 .gitignore        |    1 +
 nodejs-pegjs.spec |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a119ff9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v0.8.0.tar.gz
diff --git a/nodejs-pegjs.spec b/nodejs-pegjs.spec
new file mode 100644
index 0000000..577d2c5
--- /dev/null
+++ b/nodejs-pegjs.spec
@@ -0,0 +1,51 @@
+%global module_name pegjs
+
+Name:           nodejs-%{module_name}
+Version:        0.8.0
+Release:        2%{?dist}
+Summary:        Parser generator for JavaScript
+
+License:        MIT
+URL:            https://github.com/dmajda/pegjs
+Source0:        https://github.com/dmajda/pegjs/archive/v%{version}.tar.gz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+%description
+PEG.js is a simple parser generator for JavaScript that produces fast parsers
+with excellent error reporting. You can use it to process complex data or
+computer languages and build transformers, interpreters, compilers and
+other tools easily.
+
+%prep
+%setup -q -n pegjs-0.8.0
+rm -rf node_modules
+
+
+%build
+#nothing to build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
+cp -pr benchmark bin package.json lib %{buildroot}%{nodejs_sitelib}/%{module_name}
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+
+%files
+%doc LICENSE README.md examples
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Fri Oct 24 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.8.0-2
+- Add bin/pegjs
+- Change upstream URL to github
+
+* Mon Sep 15 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.8.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..d77b0e8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+afd7ede58640924a19694c018eb59e7e  v0.8.0.tar.gz


More information about the scm-commits mailing list