[nodejs-tiletype] Initial import of nodejs-tiletype

Tom Hughes tomh at fedoraproject.org
Mon Jun 30 13:56:35 UTC 2014


commit 9d9b5624757d5fcb269ba2d3d050a352188209c1
Author: Tom Hughes <tom at compton.nu>
Date:   Mon Jun 30 14:56:32 2014 +0100

    Initial import of nodejs-tiletype

 .gitignore                  |    1 +
 nodejs-tiletype-license.txt |   25 ++++++++++++++++++++++
 nodejs-tiletype.spec        |   49 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 4 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6bd4876 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tiletype-0.0.3.tgz
diff --git a/nodejs-tiletype-license.txt b/nodejs-tiletype-license.txt
new file mode 100644
index 0000000..e148aed
--- /dev/null
+++ b/nodejs-tiletype-license.txt
@@ -0,0 +1,25 @@
+Copyright (c) MapBox
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice, this
+  list of conditions and the following disclaimer in the documentation and/or
+  other materials provided with the distribution.
+- Neither the name "MapBox" nor the names of its contributors may be
+  used to endorse or promote products derived from this software without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/nodejs-tiletype.spec b/nodejs-tiletype.spec
new file mode 100644
index 0000000..c7d3753
--- /dev/null
+++ b/nodejs-tiletype.spec
@@ -0,0 +1,49 @@
+Name:           nodejs-tiletype
+Version:        0.0.3
+Release:        1%{?dist}
+Summary:        Detect common map tile formats from a buffer
+
+License:        BSD
+URL:            https://github.com/mapbox/tiletype
+Source0:        http://registry.npmjs.org/tiletype/-/tiletype-%{version}.tgz
+# https://github.com/mapbox/tiletype/pull/3
+Source1:        nodejs-tiletype-license.txt
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+BuildRequires:  npm(tape)
+
+%description
+Detect common map tile formats from a buffer.
+
+
+%prep
+%setup -q -n package
+cp %{SOURCE1} LICENSE
+rm -rf node_modules
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/tiletype
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/tiletype
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} test/test.js
+
+
+%files
+%doc readme.md LICENSE
+%{nodejs_sitelib}/tiletype
+
+
+%changelog
+* Fri May 23 2014 Tom Hughes <tom at compton.nu> - 0.0.3-1
+- Initial build of 0.0.3
diff --git a/sources b/sources
index e69de29..e7f312e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2f371d9cf6ea57bae5662f011aae002f  tiletype-0.0.3.tgz


More information about the scm-commits mailing list