2013-06-11 15:18:26 +02:00
|
|
|
#
|
2021-08-08 13:18:00 +02:00
|
|
|
# spec file for package qgis-ltr
|
2013-06-11 15:18:26 +02:00
|
|
|
#
|
2021-01-22 09:56:50 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2013-06-11 15:18:26 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-03-03 22:39:47 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-06-11 15:18:26 +02:00
|
|
|
#
|
|
|
|
|
2019-11-12 09:59:51 +01:00
|
|
|
|
2021-03-01 13:37:21 +01:00
|
|
|
%define is_ltr 0
|
|
|
|
|
2019-07-06 22:35:38 +02:00
|
|
|
%bcond_without grass
|
2021-03-01 13:37:21 +01:00
|
|
|
%if %is_ltr
|
|
|
|
Name: qgis-ltr
|
|
|
|
%else
|
2013-06-11 15:18:26 +02:00
|
|
|
Name: qgis
|
2021-03-01 13:37:21 +01:00
|
|
|
%endif
|
2021-08-03 10:26:42 +02:00
|
|
|
Version: 3.20.1
|
2013-06-11 15:18:26 +02:00
|
|
|
Release: 0
|
2019-07-07 11:22:06 +02:00
|
|
|
Summary: A Geographic Information System (GIS)
|
2018-07-20 09:18:10 +02:00
|
|
|
License: GPL-2.0-only
|
2013-06-11 15:18:26 +02:00
|
|
|
Group: Productivity/Graphics/Visualization/Other
|
2017-12-13 16:38:27 +01:00
|
|
|
URL: https://qgis.org/
|
2021-03-01 13:37:21 +01:00
|
|
|
Source: https://qgis.org/downloads/qgis-%{version}.tar.bz2
|
|
|
|
Source1: https://qgis.org/downloads/qgis-%{version}.tar.bz2.sha256
|
2013-06-11 15:18:26 +02:00
|
|
|
Source2: %{name}.rpmlintrc
|
2015-07-31 19:34:36 +02:00
|
|
|
Source3: qgis_sample_data.zip
|
2021-03-01 13:37:21 +01:00
|
|
|
Patch1: fix-fastcgi-include.patch
|
2021-08-03 10:26:42 +02:00
|
|
|
# PATCH-FIX-UPSTREAM - https://github.com/qgis/QGIS/commit/6f9cbde7c782274ebe5875da7dbac98d68e9827
|
|
|
|
Patch2: qgis-fix-missing-qwt-inc.patch
|
|
|
|
# PATCH-FIX-UPSTREAM - https://github.com/qgis/QGIS/commit/581cb40603dd3daca2916b564a4cd2630d005556
|
|
|
|
Patch3: qgis-fix-missing-qwt-inc-part2.patch
|
2021-08-08 13:18:00 +02:00
|
|
|
Patch4: qgis-fix-cmake-findpdal.patch
|
2021-08-13 07:57:38 +02:00
|
|
|
# PATCH-FIX-UPSTREAM - gh#qgis/QGIS#44293
|
|
|
|
Patch5: fix-infinite-loop.patch
|
2013-06-11 15:18:26 +02:00
|
|
|
BuildRequires: FastCGI-devel
|
2021-08-08 13:18:00 +02:00
|
|
|
BuildRequires: PDAL-devel
|
|
|
|
# PDAL-devel depends on this (laszip_api.h)
|
|
|
|
BuildRequires: laszip-devel
|
2015-11-02 09:47:09 +01:00
|
|
|
BuildRequires: bison >= 2.4
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: cmake >= 3.0.0
|
2017-12-13 16:38:27 +01:00
|
|
|
BuildRequires: fdupes
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: filesystem
|
2015-11-02 09:47:09 +01:00
|
|
|
BuildRequires: flex >= 2.5.6
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: geos-devel >= 3.4
|
2019-03-03 22:39:47 +01:00
|
|
|
BuildRequires: libQt5Sql-private-headers-devel
|
|
|
|
BuildRequires: libQt5Sql5-mysql
|
|
|
|
BuildRequires: libQt5Sql5-postgresql
|
|
|
|
# Add the 3 main db we should access
|
|
|
|
# also have them in requires
|
|
|
|
BuildRequires: libQt5Sql5-sqlite
|
2020-02-07 16:43:37 +01:00
|
|
|
BuildRequires: libexiv2-devel
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: libqscintilla_qt5-devel
|
2017-12-13 16:38:27 +01:00
|
|
|
BuildRequires: libspatialindex-devel
|
2021-03-01 13:37:21 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2018-11-01 09:16:36 +01:00
|
|
|
BuildRequires: ocl-icd-devel
|
|
|
|
BuildRequires: opencl-cpp-headers
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: poppler-tools
|
2020-06-23 15:26:04 +02:00
|
|
|
BuildRequires: protobuf-devel
|
2019-11-12 09:59:51 +01:00
|
|
|
BuildRequires: python3-GDAL
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: python3-Jinja2
|
|
|
|
BuildRequires: python3-OWSLib
|
|
|
|
BuildRequires: python3-PyYAML
|
|
|
|
BuildRequires: python3-future
|
|
|
|
BuildRequires: python3-psycopg2
|
|
|
|
BuildRequires: python3-pygments
|
|
|
|
BuildRequires: python3-qscintilla-qt5
|
2020-11-21 15:07:08 +01:00
|
|
|
BuildRequires: python3-qscintilla-qt5-sip
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: python3-qt5-devel
|
2020-11-21 20:24:34 +01:00
|
|
|
# The package can build with sip v4 or sip v5 but needs to use the same module
|
|
|
|
# as PyQt5 (python-sip vs python-qt5-sip).The correct sip.so is pulled in by
|
|
|
|
# python-qt5, do not explicitly depend on it.
|
2021-08-03 10:26:42 +02:00
|
|
|
# qgis is not compatible with sip6 yet - https://github.com/qgis/QGIS/issues/38911
|
|
|
|
BuildRequires: python3-sip5-devel
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: python3-six
|
|
|
|
BuildRequires: python3-termcolor
|
2018-07-24 12:22:25 +02:00
|
|
|
BuildRequires: qwt6-devel
|
2021-07-06 13:56:08 +02:00
|
|
|
BuildRequires: sqlite-devel >= 3.12.0
|
2015-07-31 19:34:36 +02:00
|
|
|
BuildRequires: unzip
|
2013-06-11 15:18:26 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2021-07-06 13:56:08 +02:00
|
|
|
BuildRequires: cmake(Qt53DAnimation)
|
|
|
|
BuildRequires: cmake(Qt53DCore)
|
|
|
|
BuildRequires: cmake(Qt53DExtras)
|
|
|
|
BuildRequires: cmake(Qt53DInput)
|
|
|
|
BuildRequires: cmake(Qt53DLogic)
|
|
|
|
BuildRequires: cmake(Qt53DQuick)
|
|
|
|
BuildRequires: cmake(Qt53DQuickAnimation)
|
|
|
|
BuildRequires: cmake(Qt53DQuickExtras)
|
|
|
|
BuildRequires: cmake(Qt53DQuickInput)
|
|
|
|
BuildRequires: cmake(Qt53DQuickRender)
|
|
|
|
BuildRequires: cmake(Qt53DQuickScene2D)
|
|
|
|
BuildRequires: cmake(Qt53DRender)
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Keychain) >= 0.5
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Positioning)
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
|
|
BuildRequires: cmake(Qt5Script)
|
|
|
|
BuildRequires: cmake(Qt5SerialPort)
|
|
|
|
BuildRequires: cmake(Qt5Sql)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5UiTools)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: pkgconfig(expat) >= 1.95
|
2020-06-16 16:30:42 +02:00
|
|
|
# Requires at least gdal 3.1 for GeoTIFF and Proj >= 6 - https://github.com/qgis/QGIS/issues/36699#issuecomment-633539864
|
|
|
|
BuildRequires: pkgconfig(gdal) >= 3.1
|
2021-08-03 10:26:42 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Qwt6)
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: pkgconfig(gsl) >= 1.8
|
|
|
|
BuildRequires: pkgconfig(libpq) > 9.4
|
|
|
|
BuildRequires: pkgconfig(libzip)
|
2021-08-08 13:18:00 +02:00
|
|
|
BuildRequires: pkgconfig(pdal) >= 2.2.0
|
2020-03-11 16:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(proj) >= 6.3.1
|
2021-07-06 13:56:08 +02:00
|
|
|
BuildRequires: pkgconfig(python3) >= 3.7
|
2018-03-07 12:21:13 +01:00
|
|
|
BuildRequires: pkgconfig(qca2-qt5)
|
|
|
|
BuildRequires: pkgconfig(spatialite) >= 4.2.0
|
2020-06-25 11:18:18 +02:00
|
|
|
# Force requires of those 3 main component.
|
2019-03-03 22:39:47 +01:00
|
|
|
Requires: libQt5Sql5-mysql
|
|
|
|
Requires: libQt5Sql5-postgresql
|
2018-08-22 12:49:07 +02:00
|
|
|
Requires: libQt5Sql5-sqlite
|
2020-06-25 11:18:18 +02:00
|
|
|
# proj.db is required
|
|
|
|
Requires: proj
|
2021-08-08 13:18:00 +02:00
|
|
|
Requires: pdal
|
2019-11-12 09:59:51 +01:00
|
|
|
Requires: python3-GDAL
|
2018-03-07 12:21:13 +01:00
|
|
|
Requires: python3-Jinja2
|
|
|
|
Requires: python3-OWSLib
|
|
|
|
Requires: python3-PyYAML
|
|
|
|
Requires: python3-Pygments
|
|
|
|
Requires: python3-future
|
|
|
|
Requires: python3-psycopg2
|
|
|
|
# Those are not picked by obs
|
|
|
|
Requires: python3-qscintilla-qt5
|
|
|
|
Requires: python3-six
|
|
|
|
Requires: python3-termcolor
|
2017-12-13 16:38:27 +01:00
|
|
|
Recommends: %{name}-sample-data
|
2015-07-31 19:34:36 +02:00
|
|
|
Recommends: apache2-mod_fcgid
|
2017-12-13 16:38:27 +01:00
|
|
|
Recommends: gpsbabel
|
2021-03-01 13:37:21 +01:00
|
|
|
%if %is_ltr
|
|
|
|
Conflicts: qgis
|
|
|
|
%else
|
2019-09-23 08:07:17 +02:00
|
|
|
Conflicts: qgis-ltr
|
2021-03-01 13:37:21 +01:00
|
|
|
%endif
|
2019-09-23 08:07:17 +02:00
|
|
|
Conflicts: qgis-master
|
2021-07-29 08:02:48 +02:00
|
|
|
Obsoletes: qgis2 < %{version}
|
2020-02-07 16:43:37 +01:00
|
|
|
%if %{with grass}
|
|
|
|
BuildRequires: grass-devel >= 7.2
|
|
|
|
%endif
|
2020-07-14 07:20:14 +02:00
|
|
|
%ifarch ppc64le
|
2020-09-16 18:09:59 +02:00
|
|
|
BuildRequires: memory-constraints
|
2020-07-14 07:20:14 +02:00
|
|
|
%endif
|
2018-03-07 12:21:13 +01:00
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
%package devel
|
2019-07-07 11:22:06 +02:00
|
|
|
Summary: Development Libraries for QGIS
|
2013-06-11 15:18:26 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-03-01 13:37:21 +01:00
|
|
|
Requires: %{name} = %{version}
|
2018-03-07 12:21:13 +01:00
|
|
|
Requires: python3-qt5-devel
|
2019-07-06 22:35:38 +02:00
|
|
|
%if %{with grass}
|
2015-11-10 09:27:36 +01:00
|
|
|
%package plugin-grass
|
2016-11-30 14:07:23 +01:00
|
|
|
Summary: GRASS Support Libraries for QGIS
|
2013-06-11 15:18:26 +02:00
|
|
|
Group: Productivity/Graphics/Visualization/Other
|
2021-03-01 13:37:21 +01:00
|
|
|
Requires: %{name} = %{version}
|
2018-03-07 12:21:13 +01:00
|
|
|
Requires: grass > 7.0
|
2019-08-01 15:11:31 +02:00
|
|
|
Requires: grass-doc
|
2021-03-01 13:37:21 +01:00
|
|
|
Obsoletes: %{name}-plugin-grass < %{version}
|
2013-06-11 15:18:26 +02:00
|
|
|
|
2019-07-06 22:35:38 +02:00
|
|
|
%description plugin-grass
|
|
|
|
GRASS plugin for QGIS required to interface with GRASS system.
|
|
|
|
%endif
|
|
|
|
|
2015-07-31 19:34:36 +02:00
|
|
|
%package sample-data
|
|
|
|
%define sampledir sample-data
|
2017-12-13 16:38:27 +01:00
|
|
|
Summary: QGIS sample data
|
|
|
|
Group: Productivity/Graphics/Visualization/Other
|
2019-09-23 08:07:17 +02:00
|
|
|
BuildArch: noarch
|
2015-07-31 19:34:36 +02:00
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
%description
|
2019-07-07 11:22:06 +02:00
|
|
|
QGIS is a Geographic Information System (GIS). QGIS supports vector,
|
|
|
|
raster, OWS and database formats. QGIS can be used to browse and
|
|
|
|
create map data on the computer. It supports many common spatial data
|
|
|
|
formats (e.g. ESRI ShapeFile, geotiff). QGIS supports plugins to do
|
|
|
|
things like display tracks from a GPS.
|
2013-06-11 15:18:26 +02:00
|
|
|
|
|
|
|
%description devel
|
2019-07-07 11:22:06 +02:00
|
|
|
Development packages for QGIS, including the C header files.
|
2015-07-31 19:34:36 +02:00
|
|
|
|
|
|
|
%description sample-data
|
2019-07-07 11:22:06 +02:00
|
|
|
QGIS sample data with raster, vector, gps files and a GRASS location from the Alaska area.
|
2013-06-11 15:18:26 +02:00
|
|
|
|
|
|
|
%prep
|
2021-03-01 13:37:21 +01:00
|
|
|
%autosetup -p1 -n qgis-%{version}
|
2018-07-20 09:18:10 +02:00
|
|
|
# Remove bad env and python version in grass plugin
|
|
|
|
sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,g' src/plugins/grass/scripts/*.py
|
|
|
|
sed -i 's,^#!%{_bindir}/env python3$,#!%{_bindir}/python3,g' src/plugins/grass/scripts/*.py
|
2013-06-11 15:18:26 +02:00
|
|
|
|
|
|
|
%build
|
2019-07-10 11:23:13 +02:00
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
export CFLAGS="%{optflags}"
|
2017-12-13 16:38:27 +01:00
|
|
|
export QTDIR=%{_prefix}
|
2013-06-11 15:18:26 +02:00
|
|
|
export PATH=$PATH:$QTDIR/bin
|
|
|
|
|
2017-12-13 16:38:27 +01:00
|
|
|
%cmake \
|
2019-11-22 19:59:10 +01:00
|
|
|
-DQGIS_LIB_SUBDIR=%{_lib} \
|
2018-03-07 12:21:13 +01:00
|
|
|
-DWITH_3D=TRUE \
|
2017-12-13 16:38:27 +01:00
|
|
|
-DWITH_BINDINGS=TRUE \
|
2019-07-06 22:35:38 +02:00
|
|
|
%if %{with grass}
|
2018-03-07 12:21:13 +01:00
|
|
|
-DWITH_GRASS=TRUE \
|
|
|
|
-DWITH_GRASS7=TRUE \
|
2020-02-07 16:43:37 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2019-12-03 20:19:24 +01:00
|
|
|
-DGRASS_PREFIX7=`cat %{_sysconfdir}/GRASSDIR` \
|
2020-02-07 16:43:37 +01:00
|
|
|
%else
|
|
|
|
-DGRASS_PREFIX7=%{_libdir}/grass78 \
|
|
|
|
%endif
|
2019-07-06 22:35:38 +02:00
|
|
|
%endif
|
2017-12-13 16:38:27 +01:00
|
|
|
-DWITH_QSPATIALITE=TRUE \
|
|
|
|
-DWITH_SERVER=TRUE \
|
|
|
|
-DWITH_SERVER_PLUGINS=TRUE \
|
|
|
|
-DWITH_POSTGRESQL=TRUE \
|
2021-08-08 13:18:00 +02:00
|
|
|
-DWITH_PDAL=TRUE \
|
2021-07-06 13:56:08 +02:00
|
|
|
-DWITH_QTWEBKIT=FALSE \
|
2021-03-01 13:37:21 +01:00
|
|
|
-DFCGI_INCLUDE_DIR=%{_includedir}/fastcgi \
|
2017-12-13 16:38:27 +01:00
|
|
|
-DPOSTGRES_LIBRARY=%{_libdir}/libpq.so \
|
2019-04-10 09:55:42 +02:00
|
|
|
-DPOSTGRES_INCLUDE_DIR=%{_includedir}/pgsql \
|
2019-11-22 19:59:10 +01:00
|
|
|
-DQGIS_PLUGIN_SUBDIR=%{_lib}/qgis \
|
2017-12-13 16:38:27 +01:00
|
|
|
-DQGIS_MANUAL_SUBDIR=share/man \
|
2019-07-03 13:01:49 +02:00
|
|
|
-DQWT_INCLUDE_DIR=%{_includedir}/qt5/qwt6 \
|
2018-03-07 12:21:13 +01:00
|
|
|
-DQCA_INCLUDE_DIR=%{_includedir}/qt5/Qca-qt5/QtCrypto \
|
2017-12-13 16:38:27 +01:00
|
|
|
-DCMAKE_SKIP_RPATH=OFF \
|
2018-11-01 09:16:36 +01:00
|
|
|
-DOpenCL_INCLUDE_DIR=%{_includedir} \
|
2017-12-13 16:38:27 +01:00
|
|
|
-Wno-dev
|
2018-03-07 12:21:13 +01:00
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
export QTDIR=%{_prefix}
|
|
|
|
export PATH=$PATH:$QTDIR/bin
|
2020-07-14 07:20:14 +02:00
|
|
|
%ifarch ppc64le
|
|
|
|
# avoid OOM failure on power8-01 builder
|
2020-09-16 18:09:59 +02:00
|
|
|
%limit_build -m 1300
|
2020-07-14 07:20:14 +02:00
|
|
|
%endif
|
2019-11-14 10:21:27 +01:00
|
|
|
%make_jobs
|
2013-06-11 15:18:26 +02:00
|
|
|
|
|
|
|
%install
|
2017-12-13 16:38:27 +01:00
|
|
|
%cmake_install
|
2013-06-11 15:18:26 +02:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
2018-03-07 12:21:13 +01:00
|
|
|
ln -s ../qgis/images/icons/qgis-icon-512x512.png %{buildroot}/%{_datadir}/pixmaps/qgis.png
|
2013-06-11 15:18:26 +02:00
|
|
|
|
2018-11-01 09:16:36 +01:00
|
|
|
# Rename .desktop file
|
|
|
|
mv %{buildroot}%{_datadir}/applications/org.qgis.qgis.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
2015-07-31 19:34:36 +02:00
|
|
|
# Install sample data
|
|
|
|
pushd %{buildroot}%{_datadir}/qgis
|
|
|
|
unzip %{SOURCE3}
|
|
|
|
mv qgis_sample_data %{sampledir}
|
2019-07-07 11:22:06 +02:00
|
|
|
find %{sampledir} -depth \( -name .tmp -o -name .bash\* -o -name \*~ \) -exec rm -r {} +
|
2015-07-31 19:34:36 +02:00
|
|
|
popd
|
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
2020-09-15 15:36:52 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post plugin-grass -p /sbin/ldconfig
|
|
|
|
%postun plugin-grass -p /sbin/ldconfig
|
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
%files
|
|
|
|
%{_bindir}/*
|
2018-03-07 12:21:13 +01:00
|
|
|
%{_libdir}/libqgis*so*
|
|
|
|
%{_libdir}/qt5/plugins/sqldrivers/libqsqlspatialite.so
|
2013-06-11 15:18:26 +02:00
|
|
|
%{_mandir}/man1/*
|
2019-10-14 09:15:15 +02:00
|
|
|
%{_datadir}/qgis
|
2013-06-11 15:18:26 +02:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2015-07-31 19:34:36 +02:00
|
|
|
%{_datadir}/pixmaps/qgis.png
|
2019-10-14 09:15:15 +02:00
|
|
|
# Own directories for icon size not provided by hicolor-icon-theme
|
|
|
|
%dir %{_datadir}/icons/hicolor/42x42
|
|
|
|
%dir %{_datadir}/icons/hicolor/42x42/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/42x42/mimetypes
|
|
|
|
%dir %{_datadir}/icons/hicolor/80x80
|
|
|
|
%dir %{_datadir}/icons/hicolor/80x80/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/80x80/mimetypes
|
|
|
|
%dir %{_datadir}/icons/hicolor/8x8
|
|
|
|
%dir %{_datadir}/icons/hicolor/8x8/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/8x8/mimetypes
|
2018-11-01 09:16:36 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.svg
|
2018-07-20 09:18:10 +02:00
|
|
|
%{_datadir}/metainfo/org.qgis.qgis.appdata.xml
|
2018-03-07 12:21:13 +01:00
|
|
|
%dir %{_libdir}/qgis/
|
|
|
|
%{_libdir}/qgis/*
|
2019-07-06 22:35:38 +02:00
|
|
|
%if %{with grass}
|
2018-03-07 12:21:13 +01:00
|
|
|
%exclude %{_libdir}/libqgisgrass7.so
|
|
|
|
%exclude %{_libdir}/libqgisgrass7.so.*
|
2018-07-20 09:18:10 +02:00
|
|
|
%exclude %{_libdir}/qgis/libgrassplugin7.so
|
|
|
|
%exclude %{_libdir}/qgis/libgrassprovider7.so
|
|
|
|
%exclude %{_libdir}/qgis/libgrassrasterprovider7.so
|
2018-03-07 12:21:13 +01:00
|
|
|
%exclude %{_libdir}/qgis/grass
|
2019-07-06 22:35:38 +02:00
|
|
|
%endif
|
2019-09-04 11:28:28 +02:00
|
|
|
%exclude %{_datadir}/qgis/%{sampledir}
|
2018-07-20 09:18:10 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc BUGS README.md
|
2013-06-11 15:18:26 +02:00
|
|
|
|
|
|
|
%files devel
|
2019-07-07 11:22:06 +02:00
|
|
|
%{_includedir}/qgis/
|
2021-07-06 13:56:08 +02:00
|
|
|
%{_libdir}/liboauth2authmethod_static.a
|
2013-06-11 15:18:26 +02:00
|
|
|
|
2019-07-06 22:35:38 +02:00
|
|
|
%if %{with grass}
|
2015-11-10 09:27:36 +01:00
|
|
|
%files plugin-grass
|
2018-07-20 09:18:10 +02:00
|
|
|
%{_libdir}/qgis/libgrassplugin7.so
|
|
|
|
%{_libdir}/qgis/libgrassprovider7.so
|
|
|
|
%{_libdir}/qgis/libgrassrasterprovider7.so
|
2018-03-07 12:21:13 +01:00
|
|
|
%{_libdir}/libqgisgrass7.so
|
|
|
|
%{_libdir}/libqgisgrass7.so.*
|
2013-06-11 15:18:26 +02:00
|
|
|
%defattr(755,root,root)
|
2018-03-07 12:21:13 +01:00
|
|
|
%{_libdir}/qgis/grass
|
2019-07-06 22:35:38 +02:00
|
|
|
%endif
|
2013-06-11 15:18:26 +02:00
|
|
|
|
2015-07-31 19:34:36 +02:00
|
|
|
%files sample-data
|
2019-10-14 09:15:15 +02:00
|
|
|
%dir %{_datadir}/qgis
|
2015-07-31 19:34:36 +02:00
|
|
|
%{_datadir}/qgis/%{sampledir}
|
|
|
|
|
2013-06-11 15:18:26 +02:00
|
|
|
%changelog
|