Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
libqt5-qtpbfimageformat
libqt5-qtpbfimageformat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqt5-qtpbfimageformat.spec of Package libqt5-qtpbfimageformat
# # spec file for package libqt5-qtpbfimageformat # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines %if 0%{?fedora_version} Name: qt5-qtpbfimageformat %else Name: libqt5-qtpbfimageformat %endif Version: 2.4 Release: 3 Summary: Qt 5 PBF Image Format Plugin License: LGPL-3.0-only Group: Development/Libraries/X11 Url: https://github.com/tumic0/QtPBFImagePlugin Source0: https://github.com/tumic0/QtPBFImagePlugin/archive/%{version}/QtPBFImagePlugin-%{version}.tar.gz Patch0: pkgconfig.patch BuildRequires: gcc-c++ BuildRequires: make %if 0%{?suse_version} BuildRequires: libQt5Core-devel BuildRequires: libQt5Gui-devel BuildRequires: protobuf-devel BuildRequires: zlib-devel %else %if 0%{?fedora_version} || 0%{?centos_version} >= 800 BuildRequires: qt5-qtbase BuildRequires: qt5-qtbase-gui BuildRequires: qt5-qtbase-devel BuildRequires: zlib-devel %if 0%{?centos_version} >= 800 BuildRequires: protobuf-devel BuildRequires: gdb-headless %else BuildRequires: protobuf-lite-devel %endif %else # Mageia BuildRequires: libqt5core-devel BuildRequires: libqt5gui-devel %ifarch x86_64 BuildRequires: lib64protobuf-devel BuildRequires: lib64zlib-devel %else BuildRequires: libprotobuf-devel BuildRequires: libzlib-devel %endif %endif %endif %description Qt image plugin for displaying Mapbox vector tiles. %prep %setup -q -n QtPBFImagePlugin-%{version} %patch0 %build %if 0%{?suse_version} %{qmake5} pbfplugin.pro %else %{qmake_qt5} pbfplugin.pro %endif make %{?_smp_mflags} %install make install INSTALL_ROOT=%{buildroot} install -d 755 %{buildroot}/%{_datadir}/mime/packages install -m 644 pkg/pbfplugin.xml %{buildroot}/%{_datadir}/mime/packages/%{name}.xml %files %if 0%{?suse_version} %dir %{_libqt5_plugindir} %{_libqt5_plugindir}/imageformats/libpbf.so %else %{_qt5_plugindir}/imageformats/libpbf.so %endif %{_datadir}/mime/packages/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor