[nodejs-codemirror] Initial import (#1036354).

Mosaab Alzoubi moceap at fedoraproject.org
Fri Oct 24 21:31:25 UTC 2014


commit 7598d9517a3a128cc91a65d1806567caf38c4894
Author: Mosaab Alzoubi <moceap at hotmail.com>
Date:   Sat Oct 25 00:31:04 2014 +0300

    Initial import (#1036354).

 .gitignore             |    1 +
 nodejs-codemirror.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bc31e76 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/codemirror-4.6.0.tgz
diff --git a/nodejs-codemirror.spec b/nodejs-codemirror.spec
new file mode 100644
index 0000000..fbc30ea
--- /dev/null
+++ b/nodejs-codemirror.spec
@@ -0,0 +1,52 @@
+Name:       nodejs-codemirror
+Version:    4.6.0
+Release:    3%{?dist}
+Summary:    A versatile JS text editor
+License:    MIT
+URL:        http://codemirror.net/
+Source0:    http://registry.npmjs.org/codemirror/-/codemirror-%{version}.tgz
+BuildArch:  noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+%description
+CodeMirror is a JavaScript component that provides a code editor in
+the browser. When a mode is available for the language you are coding
+in, it will color your code, and optionally help with indentation.
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+#Fix shebang warnings:
+chmod 644 mode/dylan/index.html addon/hint/html-hint.js
+sed -i '1 i\#!/usr/bin/env bash ' bin/authors.sh
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/codemirror
+cp -pr addon bower.json doc lib mode test index.html package.json theme bin demo keymap %{buildroot}%{nodejs_sitelib}/codemirror
+
+%nodejs_symlink_deps
+
+#%%check
+#%%tap test/*.js
+
+%files
+%{nodejs_sitelib}/codemirror
+%doc README.md LICENSE AUTHORS CONTRIBUTING.md
+
+%changelog
+* Fri Oct 24 2014 Mosaab Alzoubi <moceap at hotmail.com> - 4.6.0-3
+- Fix shebang warnings
+
+* Wed Oct 22 2014 Mosaab Alzoubi <moceap at hotmail.com> - 4.6.0-2
+- General revision.
+
+* Thu Sep 25 2014 Mosaab Alzoubi <moceap at hotmail.com> - 4.6.0-1
+- Update to 4.6
+
+* Sun Dec 1 2013 Mosaab Alzoubi <moceap at hotmail.com> - 3.20.0-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..ca3f472 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3f785e70ec47ed948f6804f232cfc4d4  codemirror-4.6.0.tgz


More information about the scm-commits mailing list