[nodejs-ultron] Initial import (#1188763).

tdawson tdawson at fedoraproject.org
Mon Feb 16 17:15:07 UTC 2015


commit e5eb609cb37f3b2604339a2607d8f5f3791940a7
Author: Troy Dawson <tdawson at redhat.com>
Date:   Mon Feb 16 11:14:53 2015 -0600

    Initial import (#1188763).

 .gitignore            |    1 +
 nodejs-ultron-LICENSE |   21 ++++++++++++++
 nodejs-ultron.spec    |   70 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 4 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ae460fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ultron-1.0.1.tgz
diff --git a/nodejs-ultron-LICENSE b/nodejs-ultron-LICENSE
new file mode 100644
index 0000000..322fd61
--- /dev/null
+++ b/nodejs-ultron-LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Unshift.io, Arnout Kazemier,  the Contributors.
+
+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-ultron.spec b/nodejs-ultron.spec
new file mode 100644
index 0000000..43ef900
--- /dev/null
+++ b/nodejs-ultron.spec
@@ -0,0 +1,70 @@
+%global npm_name ultron
+# Although there are tests
+# the dependancies aren't in Fedora yet
+%global enable_tests 0
+
+%{?nodejs_find_provides_and_requires}
+
+Summary:       Ultron is a high-intelligence robot
+Name:          nodejs-%{npm_name}
+Version:       1.0.1
+Release:       3%{?dist}
+License:       MIT
+URL:           https://github.com/unshiftio/ultron
+Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
+# Upstream licence file, will be in next release
+#   https://github.com/unshiftio/ultron/blob/master/LICENSE
+Source1:       nodejs-ultron-LICENSE
+BuildRequires: nodejs-devel
+%if 0%{?enable_tests}
+BuildRequires:  npm(assume)
+BuildRequires:  npm(eventemitter3)
+BuildRequires:  npm(istanbul)
+BuildRequires:  npm(mocha)
+BuildRequires:  npm(pre-commit)
+%endif
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+BuildArch:     noarch
+
+%description
+Ultron is a high-intelligence robot. It gathers intelligence
+so it can start improving upon his rudimentary design. It will
+learn your event emitting patterns and find ways to exterminate
+them. Allowing you to remove only the event emitters that you
+assigned and not the ones that your users or developers assigned.
+This can prevent race conditions, memory leaks and even file
+descriptor leaks from ever happening as you won't remove clean
+up processes.
+
+%prep
+%setup -q -n package
+cp %{SOURCE1} LICENSE
+
+%build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
+cp -pr index.js package.json test.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
+
+
+%if 0%{?enable_tests}
+%check
+mocha --reporter spec --ui bdd test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{npm_name}
+
+%changelog
+* Mon Feb 16 2015 Troy Dawson <tdawson at redhat.com> - 1.0.1-3
+- Added upsteam license file as source1
+
+* Fri Feb 13 2015 Troy Dawson <tdawson at redhat.com> - 1.0.1-2
+- Removed Group:
+- Added a generic MIT license file as source1
+
+* Tue Feb 03 2015 Troy Dawson <tdawson at redhat.com> - 1.0.1-1
+- Initial spec file
+
diff --git a/sources b/sources
index e69de29..4c174e4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+90b286dc4c4bcf17d71bb77a1465c8f0  ultron-1.0.1.tgz


More information about the scm-commits mailing list