[nodejs-repl] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Sat Jun 22 18:29:34 UTC 2013


commit 282a6c1788703be665a6fc65c45f7ef35375998e
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sat Jun 22 19:29:20 2013 +0100

    Initial import

 .gitignore       |    1 +
 LICENSE          |   22 ++++++++++++++++++++
 nodejs-repl.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 4 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9979225 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/repl-0.1.3.tgz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..7077a20
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+Copyright(c) 2011 Firejune <to at firejune.com>
+ 
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/nodejs-repl.spec b/nodejs-repl.spec
new file mode 100644
index 0000000..c6b0a04
--- /dev/null
+++ b/nodejs-repl.spec
@@ -0,0 +1,57 @@
+Name:           nodejs-repl
+Version:        0.1.3
+Release:        1%{?dist}
+Summary:        A lightweight templating library for Node.js
+BuildArch:      noarch
+
+%if 0%{?fedora} >= 19
+ExclusiveArch:  %{nodejs_arches} noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
+%endif
+
+# package.json indicates MIT, but no license file included
+# upstream notified in https://github.com/firejune/repl/pull/1
+# we're including a copy of the MIT license in order to comply with the terms of 
+# the MIT license, as required by:
+# https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text
+License:        MIT
+URL:            https://github.com/firejune/repl
+Source0:        http://registry.npmjs.org/repl/-/repl-%{version}.tgz
+Source1:        https://raw.github.com/tchollingsworth/repl/8658350d7c0d1d4577f1a802de7032803c934301/LICENSE
+BuildRequires:  nodejs-devel
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+
+#copy LICENSE file to %%{_builddir} so it works with %%doc
+cp %{SOURCE1} .
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/repl
+cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/repl
+
+%nodejs_symlink_deps
+
+%check
+%{__nodejs} test.js
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/repl
+%doc README.md LICENSE
+
+%changelog
+* Fri Jun 21 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.1.3-1
+- initial package
diff --git a/sources b/sources
index e69de29..a2d91ca 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+23d950b67a90cc9a5c326f69cfcd56c4  repl-0.1.3.tgz


More information about the scm-commits mailing list