Search
SailfishOS Open Build Service
>
Projects
>
home:rinigus
:
maps
>
qmapboxgl
> _service:tar_git:mapbox-gl-native.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:mapbox-gl-native.spec of Package qmapboxgl
Summary: Mapbox GL Native Qt version Name: qmapboxgl Version: 1.6.0+git1+sfos.20210303194952.6.g7563314 Release: 1%{?dist} License: Open Source Group: Libraries/Geosciences URL: https://github.com/mapbox/mapbox-gl-native Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(icu-uc) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description A library for embedding interactive, customizable vector maps into native applications on multiple platforms. It takes stylesheets that conform to the Mapbox Style Specification, applies them to vector tiles that conform to the Mapbox Vector Tile Specification, and renders them using OpenGL. Mapbox GL JS is the WebGL-based counterpart, designed for use on the Web. %package devel Summary: Development files for %{name} License: Open Source Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the development headers for %{name}. %prep %setup -q -n %{name}-%{version}/mapbox-gl-native %build %cmake -DMBGL_WITH_QT=ON -DMBGL_WITH_WERROR=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DMBGL_WITH_QT_HEADLESS=OFF -DMBGL_WITH_QT_LIB_ONLY=ON . %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} mkdir -p %{buildroot} %{__make} install DESTDIR=%{buildroot} %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, 0755) %{_libdir}/libqmapboxgl.so.* %files devel %{_includedir}/mbgl %{_includedir}/qt5/Q*Mapbox* %{_includedir}/qt5/qmapbox* %{_libdir}/libqmapboxgl.so %{_libdir}/cmake/qmapboxgl %changelog * Sat Mar 10 2018 rinigus <rinigus.git@gmail.com> - 1.3.0-1 - update to the current upstream version * Sat Sep 9 2017 rinigus <rinigus.git@gmail.com> - 1.1.0-1 - initial packaging release for SFOS