File tippecanoe.spec of Package tippecanoe
# Dilawar Singh <dilawar.s.rajput@gmail.com>
#
# spec file for package tippecanoe
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
%global version 1.36.0
Name: tippecanoe
Version: %{version}
Release: 1
Url: https://github.com/mapbox/tippecanoe
License: BSD-2-Clause
Summary: Build vector tilesets from large collections of GeoJSON features
Source0: http://github.com/mapbox/tippecano/%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: zlib-devel
%if 0%{?suse_version}
BuildRequires: sqlite3-devel
%else
BuildRequires: sqlite-devel
%endif
%description
The goal of Tippecanoe is to enable making a scale-independent view of your
data, so that at any level from the entire world to a single building, you can
see the density and texture of the data rather than a simplification from
dropping supposedly unimportant features or clustering or aggregating them.
%prep
%setup -q
%build
make %{?_smp_mflags} PREFIX=/usr
%install
make install PREFIX=%{buildroot}/usr
%files
%defattr(-,root,root)
%{_bindir}/tile-join
%{_bindir}/tippecanoe
%{_bindir}/tippecanoe-decode
%{_bindir}/tippecanoe-enumerate
%{_bindir}/tippecanoe-json-tool
%{_mandir}/man1/tippecanoe.1.gz
%changelog