[nodejs-mapnik-pool] Initial import of nodejs-mapnik-pool
Tom Hughes
tomh at fedoraproject.org
Tue Nov 25 13:32:21 UTC 2014
commit 7b05e31e23d1981ef709bbd9f6bd5fe60c463509
Author: Tom Hughes <tom at compton.nu>
Date: Tue Nov 25 13:31:57 2014 +0000
Initial import of nodejs-mapnik-pool
.gitignore | 1 +
nodejs-mapnik-pool-license.txt | 13 +++++++++
nodejs-mapnik-pool.spec | 59 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bf74e43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mapnik-pool-0.1.0.tgz
diff --git a/nodejs-mapnik-pool-license.txt b/nodejs-mapnik-pool-license.txt
new file mode 100644
index 0000000..46334d7
--- /dev/null
+++ b/nodejs-mapnik-pool-license.txt
@@ -0,0 +1,13 @@
+Copyright (C) 2014 Mapbox
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
diff --git a/nodejs-mapnik-pool.spec b/nodejs-mapnik-pool.spec
new file mode 100644
index 0000000..7a3349a
--- /dev/null
+++ b/nodejs-mapnik-pool.spec
@@ -0,0 +1,59 @@
+Name: nodejs-mapnik-pool
+Version: 0.1.0
+Release: 2%{?dist}
+Summary: Manage a pool of mapnik instances
+
+License: ISC
+URL: https://github.com/mapbox/mapnik-pool
+Source0: http://registry.npmjs.org/mapnik-pool/-/mapnik-pool-%{version}.tgz
+# https://github.com/mapbox/mapnik-pool/pull/5
+Source1: nodejs-mapnik-pool-license.txt
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+BuildRequires: npm(tap)
+
+%description
+If you want to use node-mapnik in an app with concurrency, you'll
+want to use a map pool.
+
+Concurrently using a single map instance can crash your app, and
+several map instances will give you a significant speedup. mapnik-pool
+manages a generic-pool of mapnik.Map instances so you don't have to.
+
+
+%prep
+%setup -q -n package
+cp -p %{SOURCE1} LICENSE
+%nodejs_fixdep generic-pool "^2.0.3"
+%nodejs_fixdep xtend "^4.0.0"
+rm -rf node_modules
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/mapnik-pool
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/mapnik-pool
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+%tap test/*.js
+
+
+%files
+%doc LICENSE README.md
+%{nodejs_sitelib}/mapnik-pool
+
+
+%changelog
+* Tue Nov 25 2014 Tom Hughes <tom at compton.nu> - 0.1.0-2
+- Add license text
+
+* Sat Nov 15 2014 Tom Hughes <tom at compton.nu> - 0.1.0-1
+- Initial build of 0.1.0
diff --git a/sources b/sources
index e69de29..cb61d62 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fc5995a0c5aeacb44398eed6fab2cdee mapnik-pool-0.1.0.tgz
More information about the scm-commits
mailing list