%global project_name QtPBFImagePlugin %global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$ Name: qt5-qtpbfimageformat Version: 2.0 Release: 3%{?dist} Summary: Qt image plugin for displaying Mapbox vector tiles License: GPLv3 URL: https://github.com/tumic0/QtPBFImagePlugin/ Source0: https://github.com/tumic0/%{project_name}/archive/%{version}/%{project_name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: qt5-qtbase-devel BuildRequires: protobuf-lite-devel %description QtPBFImagePlugin is a Qt image plugin that enables applications capable of displaying raster MBTiles maps or raster XYZ online maps to also display PBF(MVT) vector tiles without (almost, see usage) any application modifications. Standard Mapbox GL Styles are used for styling the maps. Most relevant style features used by Maputnik are supported. The style is loaded from the $AppDataLocation/style/style.json file on plugin load. If the style uses a sprite, the sprite JSON file must be named sprite.json and the sprite image sprite.png and both files must be placed in the same directory as the style itself. A default fallback style (OSM-Liberty) for OpenMapTiles is part of the plugin. "Plain" PBF files as well as gzip compressed files (as used in MBTiles) are supported by the plugin. %prep %autosetup -n %{project_name}-%{version} %build %{qmake_qt5} pbfplugin.pro %make_build %install make install INSTALL_ROOT=%{buildroot} %files %license LICENSE %doc README.md %{_qt5_plugindir}/imageformats/libpbf.so %changelog * Tue Oct 08 2019 Nikola Forró - 2.0-1 - New upstream release 2.0 resolves: #1758806 * Fri Jul 26 2019 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 02 2019 Nikola Forró - 1.4-1 - New upstream release 1.4 * Fri Mar 15 2019 Rex Dieter 1.3-3 - rebuild * Fri Mar 15 2019 Rex Dieter 1.3-2 - drop versioned Qt5 runtime dependency * Tue Mar 12 2019 Nikola Forró - 1.3-1 - New upstream release 1.3 * Sat Feb 02 2019 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 21 2019 Nikola Forró - 1.2-3 - Rebuild against updated qt5-qtbase * Tue Jan 08 2019 Nikola Forró - 1.2-2 - Improve package description - Use %%autosetup and %%make_build macros - Explicitly require specific Qt 5 version * Fri Jan 04 2019 Nikola Forró - 1.2-1 - Initial package