SHA256
1
0
forked from pool/qgis
Dirk Stoecker 2024-08-20 16:15:01 +00:00 committed by Git OBS Bridge
commit e98e074cf6
17 changed files with 1396 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

35
_constraints Normal file
View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<constraints>
<hardware>
<disk>
<size unit="G">18</size>
</disk>
<memory>
<size unit="G">8</size>
</memory>
<memoryperjob>
<size unit="M">1300</size>
</memoryperjob>
</hardware>
<overwrite>
<conditions>
<arch>ppc64</arch>
<arch>ppc64le</arch>
</conditions>
<hardware>
<memoryperjob>
<size unit="M">0</size>
</memoryperjob>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>riscv64</arch>
</conditions>
<hardware>
<disk>
<size unit="G">21</size>
</disk>
</hardware>
</overwrite>
</constraints>

13
fix-fastcgi-include.patch Normal file
View File

@ -0,0 +1,13 @@
Index: qgis-3.22.0/src/server/qgis_map_serv.cpp
===================================================================
--- qgis-3.22.0.orig/src/server/qgis_map_serv.cpp
+++ qgis-3.22.0/src/server/qgis_map_serv.cpp
@@ -24,7 +24,7 @@
#include "qgsapplication.h"
#include "qgscommandlineutils.h"
-#include <fcgi_stdio.h>
+#include <fastcgi/fcgi_stdio.h>
#include <cstdlib>
#include <QFontDatabase>

3
qgis-3.36.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c886ab59094d7ea7fff5c299173b969509b88d896880d2c5d818c400cee69a4
size 172387275

View File

@ -0,0 +1 @@
8c886ab59094d7ea7fff5c299173b969509b88d896880d2c5d818c400cee69a4 qgis-3.36.2.tar.bz2

3
qgis-3.38.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9cf5ab241b9d6b3f5d40d4d7a6759a5f806148a7c9a11ba85670a03f2344be7
size 175129654

View File

@ -0,0 +1 @@
f9cf5ab241b9d6b3f5d40d4d7a6759a5f806148a7c9a11ba85670a03f2344be7 qgis-3.38.0.tar.bz2

3
qgis-3.38.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c670f90e3929e7f76abe4a19f0dbf8c1b1f24f1b54c15a91839a8d0cedd05137
size 175501597

View File

@ -0,0 +1 @@
c670f90e3929e7f76abe4a19f0dbf8c1b1f24f1b54c15a91839a8d0cedd05137 qgis-3.38.1.tar.bz2

3
qgis-3.38.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38abdf9c858e24190caac56171ad1bdea50b30f726144f224a0b7f32c96950d8
size 175928472

View File

@ -0,0 +1 @@
38abdf9c858e24190caac56171ad1bdea50b30f726144f224a0b7f32c96950d8 qgis-3.38.2.tar.bz2

View File

@ -0,0 +1,11 @@
--- a/cmake/FindPDAL.cmake 2021-08-05 12:51:21.255398497 +0000
+++ b/cmake/FindPDAL.cmake 2021-08-05 12:51:42.319428567 +0000
@@ -40,7 +40,7 @@ FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pda
)
FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pdal_util libpdal_util)
-FIND_PROGRAM(PDAL_BIN pdal
+FIND_PROGRAM(PDAL_BIN pdal-config
$ENV{LIB_DIR}/bin
/usr/local/bin/
/usr/bin/

947
qgis.changes Normal file
View File

@ -0,0 +1,947 @@
-------------------------------------------------------------------
Tue Aug 20 11:56:05 UTC 2024 - Enno Tensing <tenno+suse@suij.in>
- update to 3.38.2
See https://github.com/qgis/QGIS/compare/final-3_38_1%5E...final-3_38_2
for commits between 3.39.1 and 3.38.2
-------------------------------------------------------------------
Tue Jul 30 12:50:56 UTC 2024 - Enno Tensing <tenno+suse@suij.in>
- update to 3.38.1; Upstream does not provide a detailed changelog
See https://github.com/qgis/QGIS/compare/final-3_38_0%5E...final-3_38_1
for commits between 3.38.0 and 3.38.1
-------------------------------------------------------------------
Fri Jul 12 15:39:10 UTC 2024 - Enno Tensing <tenno+suse@suij.in>
- update to 3.38.0
https://changelog.qgis.org/en/qgis/version/3.38/
-------------------------------------------------------------------
Mon Apr 22 09:09:07 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
- update to 3.36.2 (bugfix release)
-------------------------------------------------------------------
Tue Apr 9 16:27:02 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
- Add separate translations package
-------------------------------------------------------------------
Tue Mar 12 18:48:11 UTC 2024 - Libor Pechacek <lpechacek@gmx.com>
- Update to 3.36.0:
https://changelog.qgis.org/en/qgis/version/3.36
-------------------------------------------------------------------
Mon Dec 25 20:35:46 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
- update to 3.34.1:
https://changelog.qgis.org/en/qgis/version/3.34/
Drop exiv2-0.28.patch (included upstream)
-------------------------------------------------------------------
Thu Oct 5 12:05:10 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
- update to bugfix release 3.32.3
-------------------------------------------------------------------
Tue Sep 12 04:48:06 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Remove unneeded {Build,}Requires on python3-future.
-------------------------------------------------------------------
Tue Jul 25 06:35:09 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.32.0:
https://changelog.qgis.org/en/qgis/version/3.32/
- Drop upstream patch:
* qgis-3.30.0_include_fix.patch
-------------------------------------------------------------------
Fri Jul 7 06:41:39 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add patch to build with exiv2 0.28+ - boo#1212936
* exiv2-0.28.patch
-------------------------------------------------------------------
Wed Jun 14 08:59:01 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.30.3 (monthly bugfix)
-------------------------------------------------------------------
Fri May 12 12:22:39 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.30.2 (monthly bugfix)
-------------------------------------------------------------------
Tue May 2 11:07:58 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Adjust BuildRequires for Qwt6 Qt5/Qt6 compatibility rename
(boo#1210976).
-------------------------------------------------------------------
Mon Apr 17 10:59:05 UTC 2023 - pgajdos@suse.com
- python-six is not required, see b15f6fa
https://trello.com/c/MO53MocR/143-remove-python3-six
-------------------------------------------------------------------
Wed Apr 5 06:20:21 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.30.1 (monthly bugfix)
- Refresh qgis-3.30.0_include_fix.patch as partially upstreamed
-------------------------------------------------------------------
Tue Apr 4 08:48:38 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
- add qgis-3.30.0_include_fix.patch to fix missing include files
-------------------------------------------------------------------
Thu Mar 9 11:17:45 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.30.0:
https://changelog.qgis.org/en/qgis/version/3.30/
-------------------------------------------------------------------
Fri Mar 3 12:18:11 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add support for grass 8.x
-------------------------------------------------------------------
Sat Jan 28 16:05:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.28.3:
* bugfix release
-------------------------------------------------------------------
Wed Jan 4 16:20:48 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
- Update to bugfix-release 3.28.2
-------------------------------------------------------------------
Sat Dec 10 12:15:32 UTC 2022 - Craig Burton <craig@burton.gg>
- Update to 3.28.1 (2nd release after 3.24.1, skipping 3.26)
https://changelog.qgis.org/en/qgis/version/3.28/
https://changelog.qgis.org/en/qgis/version/3.26/
-------------------------------------------------------------------
Mon Oct 3 11:28:43 UTC 2022 - Dirk Stoecker <opensuse@dstoecker.de>
- Add python numpy requirement (see BSC#1203696)
-------------------------------------------------------------------
Tue Jul 5 10:31:43 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Adjust constraints for riscv64
-------------------------------------------------------------------
Tue May 17 10:20:05 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Adjust constraints for riscv64
-------------------------------------------------------------------
Wed Apr 6 12:27:54 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.24.1 (monthly bugfix)
-------------------------------------------------------------------
Tue Mar 8 12:19:09 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.24.0
https://changelog.qgis.org/en/qgis/version/3.24/
-------------------------------------------------------------------
Tue Mar 8 09:04:02 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.22.4 (monthly bugfix)
* Drop upstream patch: qgis-pr45830-sip6-gil.patch
-------------------------------------------------------------------
Fri Nov 5 12:28:10 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 3.22.0
https://changelog.qgis.org/en/qgis/version/3.22/
- Drop upstreamed patches
* qgis-fix-missing-qwt-inc.patch
* qgis-fix-missing-qwt-inc-part2.patch
- Refresh fix-fastcgi-include.patch
- Add recommendation for mod_spatialite -- boo#1185415
- Suggest saga-gis -- boo#1190435
- Enable SIP6 and add qgis-pr45830-sip6-gil.patch -- boo#1192300
- Update qgis.rpmlintrc
-------------------------------------------------------------------
Fri Oct 22 08:17:30 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.20.3 (monthly bugfix)
-------------------------------------------------------------------
Tue Sep 7 09:13:17 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.20.2 (monthly bugfix)
- Drop upstream patch:
* fix-infinite-loop.patch
-------------------------------------------------------------------
Wed Aug 11 18:40:04 UTC 2021 - Jason Craig <os@jacraig.com>
- Add fix-infinite-loop.patch: fix startup of QGIS. This will be
integrated upstream in 3.20.2.
-------------------------------------------------------------------
Thu Aug 5 17:41:56 UTC 2021 - D. Berge <opensuse@navlost.eu>
- Enable PDAL (add qgis-fix-cmake-findpdal.patch)
-------------------------------------------------------------------
Tue Aug 3 08:40:57 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
- Update to 3.20.1 (monthly bugfix)
- Add patch to fix build with current Tumbleweed - boo#1188902
* qgis-fix-missing-qwt-inc.patch
* qgis-fix-missing-qwt-inc-part2.patch
-------------------------------------------------------------------
Wed Jun 30 11:24:50 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 3.20.0. Check the ChangeLog file for the complete
list of changes.
- Switch to cmake() style BuildRequires for Qt dependencies.
- Add missing Qt build dependencies. Remove obsolete ones.
- Disable the QtWebKit usage. The package will be removed from
openSUSE Factory soon.
-------------------------------------------------------------------
Wed May 26 11:52:30 UTC 2021 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.18.3 (monthly bugfix)
-------------------------------------------------------------------
Mon Apr 19 14:13:55 UTC 2021 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.18.2 (monthly bugfix)
-------------------------------------------------------------------
Wed Mar 24 16:41:22 UTC 2021 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.18.1 (monthly bugfix)
-------------------------------------------------------------------
Wed Feb 24 13:41:32 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.18.0:
* Changelog: https://www.qgis.org/en/site/forusers/visualchangelog318/index.html
- Drop upstreamed patch:
* qgis-fix-return.patch
- Fix fastcgi include:
* fix-fastcgi-include.patch
-------------------------------------------------------------------
Wed Feb 24 13:13:01 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.16.4
- Update spec file to ease future move from qgis to qgis-ltr
-------------------------------------------------------------------
Thu Jan 21 10:03:29 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.16.3
- Drop upstream patch:
* qgis-pr37842-sip5.patch
-------------------------------------------------------------------
Fri Dec 11 16:12:46 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Add BuildRequires: pkgconfig(Qt5WebKitWidgets) to explicitly
list the dependencies which fixes building in Leap 15.3
-------------------------------------------------------------------
Sat Nov 21 14:18:19 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- remove lower sip-devel limit for Leaps.
-------------------------------------------------------------------
Fri Sep 25 20:41:44 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- support SIP5 with qgis-pr37842-sip5.patch gh#qgis/QGIS#37842
-------------------------------------------------------------------
Wed Sep 16 15:37:24 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- for ppc64le put back limit_build to avoid OOM failure and
unset memoryperjob that did not solve the OOM failure.
-------------------------------------------------------------------
Tue Sep 15 12:12:24 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- update to 3.14.16, maintenance release, no release notes, full changelog
included in the package
- fixes build on Tumbleweed, boo#1176554
-------------------------------------------------------------------
Thu Aug 20 09:04:43 UTC 2020 - Martin Liška <mliska@suse.cz>
- Use memoryperjob constraint instead of %limit_build macro.
-------------------------------------------------------------------
Tue Jul 7 16:58:27 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- use limit_build for ppc64le to avoid OOM failure on power8-01
-------------------------------------------------------------------
Thu Jun 25 09:12:52 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- proj.db is required, so requires proj package
-------------------------------------------------------------------
Tue Jun 23 08:10:59 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.14.0, changes are documented at
https://changelog.qgis.org/en/qgis/version/3.14/
- Drop upstream patch:
* qgis-qt5.15.patch
-------------------------------------------------------------------
Fri Jun 12 06:34:58 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Requires at least gdal 3.1 for GeoTIFF and Proj >= 6
https://github.com/qgis/QGIS/issues/36699#issuecomment-633539864
-------------------------------------------------------------------
Mon Jun 8 15:39:20 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.12.3 (bugfix)
-------------------------------------------------------------------
Mon Jun 8 15:38:09 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Backport patch for qt 5.15:
* qgis-qt5.15.patch
-------------------------------------------------------------------
Mon Apr 27 17:52:35 UTC 2020 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.12.2 (monthly bugfix)
-------------------------------------------------------------------
Wed Apr 15 07:33:54 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.12.1 (bugfix)
- Use gdal 3 for all openSUSE versions since Leap 15.1 also have
gdal 3 now
-------------------------------------------------------------------
Thu Mar 12 13:47:26 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Use gdal 3 where possible because of bugs with gdal 2
https://github.com/qgis/QGIS/issues/34933
-------------------------------------------------------------------
Mon Mar 9 13:06:49 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.12.0, changes are documented at
https://changelog.qgis.org/en/qgis/version/3.12/
-------------------------------------------------------------------
Mon Feb 24 10:54:31 UTC 2020 - Andreas Schwab <schwab@suse.de>
- Bump disk constraints to 18Gb
-------------------------------------------------------------------
Fri Feb 7 10:14:37 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.10.2 (bugfix)
- Drop usptreamed patch:
* qgis-3.8.3-reproducible.patch
* a07d915d7bf9c7c54b2047f8819ba2aae6669f35.patch
* Fix-build-with-txt2tags-3.3.patch
- Fix build on Leap 15.1 (fix grass folder)
-------------------------------------------------------------------
Thu Jan 2 10:18:47 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Add upstream patch Fix-build-with-txt2tags-3.3.patch
-------------------------------------------------------------------
Mon Dec 2 17:21:33 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
- Autoconfigure grass directory
-------------------------------------------------------------------
Sun Dec 01 18:00:00 UTC 2019 - Angelos Tzotsos <tzotsos@opensuse.org>
- Use GRASS 7.8.x
- Remove OTB build requirement
-------------------------------------------------------------------
Sat Nov 16 08:27:59 UTC 2019 - Andreas Schwab <schwab@suse.de>
- Use %_lib
-------------------------------------------------------------------
Thu Nov 14 17:19:11 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
- drop obsolete patch fix_grass_qt511.patch
-------------------------------------------------------------------
Wed Nov 13 11:59:22 UTC 2019 - Libor Pechacek <lpechacek@gmx.com>
- Fix upstream issue 32764 preventing parallel build and remove the build time
workaround.
- Added patches:
a07d915d7bf9c7c54b2047f8819ba2aae6669f35.patch
-------------------------------------------------------------------
Thu Nov 7 18:35:16 UTC 2019 - Libor Pechacek <lpechacek@gmx.com>
- Update to 3.10.0, changes are documented at
http://changelog.qgis.org/en/qgis/version/3.10/
- Removed patches:
ef8f06330f57882f740cfe7f8f3659b54b1bb1fb.patch (merged upstream)
-------------------------------------------------------------------
Wed Oct 16 06:15:34 UTC 2019 - Antoine Belvire <antoine.belvire@opensuse.org>
- Remove gpsbabel from build requirements: It's only recommended
at runtime. This fixes build on ppc64(le) for which gpsbabel is
not available.
- Remove obsolete filters in qgis.rpmlintrc.
-------------------------------------------------------------------
Fri Oct 11 05:50:41 UTC 2019 - Antoine Belvire <antoine.belvire@opensuse.org>
- Add qgis-3.8.3-reproducible.patch: Sort desktop file content to
get a more reproducible build.
- Fix unowned directory issues.
- Stop disabling post-build-checks.
-------------------------------------------------------------------
Mon Sep 30 17:00:13 UTC 2019 - Nicolas Rochard <nrochard@gmail.com>
- Update to latest version 3.8.3 (monthly bugfix)
-------------------------------------------------------------------
Thu Sep 19 19:03:47 UTC 2019 - Antoine Belvire <antoine.belvire@opensuse.org>
- Conflict with qgis-ltr and qgis-master rather than obsolete them.
- Make sample-data subpackage noarch.
-------------------------------------------------------------------
Mon Sep 16 17:47:08 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
- Make build with otr configurable
-------------------------------------------------------------------
Wed Sep 4 09:28:44 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
- De-duplicate sample-data
-------------------------------------------------------------------
Wed Jul 24 08:08:44 UTC 2019 - Nicolas Rochard <nrochard@gmail.com>
- Update to latest version 3.8.1 (monthly bugfix)
-------------------------------------------------------------------
Tue Jul 9 15:14:16 UTC 2019 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Adapt GRASS_PREFIX7 to changes in grass.
- Remove unused clang dependency.
- Disable LTO for now because static library doesn't link.
-------------------------------------------------------------------
Sat Jul 6 20:47:20 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Ensure that descriptions are neutral and free of redundancies.
- Plugins do not need ldconfig, so remove those scriptlets.
-------------------------------------------------------------------
Wed Jul 3 12:01:31 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
- Update to 3.8.0
-------------------------------------------------------------------
Wed Jul 3 11:48:45 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
- add ef8f06330f57882f740cfe7f8f3659b54b1bb1fb.patch to build qith QT >5.13
-------------------------------------------------------------------
Sat Apr 6 20:00:18 UTC 2019 - Bruno Friedmann <bruno@ioda-net.ch>
- Update to bugfix 3.6.1 version
- Update URL to https
- Remove postgresql-server-devel build require, add
-DPOSTGRES_INCLUDE_DIR=%{_includedir}/pgsql to enable libpq
- Force proj6 usage (gdal 2.4.1 and grass 7.6.1 are proj6 ready)
+ Remove all proj5 dependencies
-------------------------------------------------------------------
Thu Apr 4 08:23:55 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Fix the build requirements for the Tumbleweed repo, pg_config
is now in postgresqlXX-server-devel (bsc#1131494)
-------------------------------------------------------------------
Fri Mar 22 08:01:47 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Force usage of proj5 as proj (version 6) is not supported yet
-------------------------------------------------------------------
Wed Feb 27 21:02:18 UTC 2019 - Bruno Friedmann <bruno@ioda-net.ch>
- Update to 3.6.0 version
- Cleanup of spec and history
- Added libexiv2-devel as new BuildRequires
- Fix python3-GDAL new name
-------------------------------------------------------------------
Mon Jan 21 07:38:53 UTC 2019 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.4.4
-------------------------------------------------------------------
Fri Dec 21 14:27:25 UTC 2018 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.4.3
-------------------------------------------------------------------
Wed Nov 28 17:01:27 UTC 2018 - Nicolas Rochard <nrochard@gmail.com>
- Update to 3.4.2
-------------------------------------------------------------------
Mon Nov 5 12:09:35 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.4.1
-------------------------------------------------------------------
Tue Oct 30 13:47:09 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Enable openCL
-------------------------------------------------------------------
Tue Oct 30 13:38:20 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update to 3.4.0
- Remove qgis.desktop source as it is provided by qgis sources now
-------------------------------------------------------------------
Fri Oct 19 14:46:55 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix version in qgis.desktop
-------------------------------------------------------------------
Mon Sep 17 16:10:56 UTC 2018 - Bruno Friedmann <bruno@ioda-net.ch>
- Update to version 3.2.3 (monthy bug fix release)
-------------------------------------------------------------------
Tue Aug 21 13:13:39 UTC 2018 - Bruno Friedmann <bruno@ioda-net.ch>
- Update to 3.2.2 (monthly bug fix release)
- Packaging
+ Add the 3 main database component to buildrequires and requires
So future version can open auth db and others without cryptic
debuging by end user. sqlite3, mysql, postgresql
+ Add new BuildRequires libQt5Sql-private-headers-devel
-------------------------------------------------------------------
Tue Jul 24 10:00:42 UTC 2018 - guillaume.gardet@opensuse.org
- Add missing qwt6-devel build dep
-------------------------------------------------------------------
Mon Jul 23 17:12:22 UTC 2018 - nrochard@gmail.com
- Update to 3.2.1 (monthly bug fix release)
-------------------------------------------------------------------
Tue Jul 17 07:11:33 UTC 2018 - bruno@ioda-net.ch
- Update to 3.2.0 release
- Packaging:
+ Remove merged upstream patch fix_3d_qt511.patch
+ Fix %file list
+ Reactivate sed env interpreter line
+ spec-cleaner minimal (date, licence)
-------------------------------------------------------------------
Mon Jun 11 14:24:54 UTC 2018 - bruno@ioda-net.ch
- Added patch fix_grass_qt511.patch fix_3d_qt511.patch
to fix build with QT5 > 5.11
-------------------------------------------------------------------
Fri Jun 8 11:49:08 UTC 2018 - ernst@pleiszenburg.de
- Update to 3.0.3
- Fixed name and version in desktop-file
-------------------------------------------------------------------
Tue Mar 27 17:05:33 UTC 2018 - wbauer@tmo.at
- Update to 3.0.1
- There's no point to recommend libqca2-plugin-*, those are for the
Qt4 version of QCA and cannot be used by qca-qt5
- Don't disable QtWebKit anymore, the Qt5 version is available and
maintained
- No need to BuildIgnore libopenssl-1_0_0-devel any more
-------------------------------------------------------------------
Fri Mar 9 07:43:51 UTC 2018 - guillaume@opensuse.org
- Add _constraints to get a worker able to build qgis
-------------------------------------------------------------------
Mon Feb 26 09:00:27 UTC 2018 - guillaume@opensuse.org
- Update to 3.0.0
-------------------------------------------------------------------
Thu Jan 25 09:10:07 UTC 2018 - guillaume@opensuse.org
- Update to 2.18.16
-------------------------------------------------------------------
Thu Jan 4 12:36:16 UTC 2018 - wbauer@tmo.at
- Build without QtWebKit on Tumbleweed and SLE/Leap 15,
libQtWebKit4 is about to be dropped soon
-------------------------------------------------------------------
Wed Jan 3 12:27:30 UTC 2018 - fabian@ritter-vogt.de
- Don't reference the removed Qt3-based qca
-------------------------------------------------------------------
Wed Dec 13 15:39:27 UTC 2017 - mpluskal@suse.com
- Use cmake macros
- Cleanup with spec-cleaner
-------------------------------------------------------------------
Tue Dec 12 19:43:32 UTC 2017 - nrochard@gmail.com
- Update to 2.18.15
-------------------------------------------------------------------
Mon Nov 13 20:11:24 UTC 2017 - bruno@ioda-net.ch
- Update to 2.8.14 (Qgis 2.8 will become the new ltr soon)
-------------------------------------------------------------------
Thu Oct 26 13:14:38 UTC 2017 - bruno@ioda-net.ch
- Remove obsolete BuildRequires qca-devel (qca 1.x has been removed
in Tumbleweed)
We've been already using libqca2-devel
Fix boo@1065257
-------------------------------------------------------------------
Wed Sep 20 11:28:25 UTC 2017 - dassau@gbd-consult.de
- Update to 2.18.13
-------------------------------------------------------------------
Thu Aug 24 16:10:15 UTC 2017 - nrochard@gmail.com
- Update to 2.18.12
-------------------------------------------------------------------
Fri Jul 28 09:43:11 UTC 2017 - nrochard@gmail.com
- Update to 2.18.11
-------------------------------------------------------------------
Tue Jun 27 06:49:30 UTC 2017 - nrochard@gmail.com
- Fix error package name python-Pygments and python-Jinja2
-------------------------------------------------------------------
Fri Jun 23 13:06:44 UTC 2017 - nrochard@gmail.com
- Update to 2.18.10
- Packaging
+ Add python2-Pygments and python2-Jinja2 need by MetaSearch
Catalogue Client plugin
-------------------------------------------------------------------
Mon Jun 19 14:19:20 UTC 2017 - bruno@ioda-net.ch
- Packaging
+ Remove non existent requires only python-qscintilla is needed,
the qt4 and qt5 variant will requires the right -sip subpackage
+ Move python-qt4-devel to -devel package
-------------------------------------------------------------------
Tue May 30 12:43:39 UTC 2017 - nrochard@gmail.com
- Update to 2.18.9
-------------------------------------------------------------------
Tue Apr 25 07:08:24 UTC 2017 - nrochard@gmail.com
- Update to 2.18.7
-------------------------------------------------------------------
Tue Apr 11 19:06:09 UTC 2017 - bruno@ioda-net.ch
- Update to 2.18.6
- Packaging:
+ remove merged upstream-85a0db2-additionnal-fix-sip.patch
+ Add full source url + md5
-------------------------------------------------------------------
Thu Mar 2 07:51:52 UTC 2017 - bruno@ioda-net.ch
- Packaging:
+ Add upstream-85a0db2-additionnal-fix-sip.patch for sip 4.19.1
exclusively applied for TW
-------------------------------------------------------------------
Mon Feb 27 12:52:57 UTC 2017 - nrochard@gmail.com
- Update to 2.18.4
-------------------------------------------------------------------
Wed Jan 18 10:32:58 UTC 2017 - nrochard@gmail.com
- Update to 2.18.3
- Packaging :
+ added upstream-2c43568-qt_bug.patch to fix build errors on Leap
-------------------------------------------------------------------
Thu Jan 5 09:12:22 UTC 2017 - guillaume@opensuse.org
- Fix build for non-x86 64-bit arch (aarch64 ppc64 ppc64le)
-------------------------------------------------------------------
Wed Dec 21 15:38:15 UTC 2016 - nrochard@gmail.com
- Update to 2.18.2
-------------------------------------------------------------------
Wed Dec 7 10:26:24 UTC 2016 - nrochard@gmail.com
- Update to 2.18.1
-------------------------------------------------------------------
Sun Oct 23 08:49:07 UTC 2016 - dassau@gbd-consult.de
- Update to 2.18.0
-------------------------------------------------------------------
Tue Sep 27 10:49:07 UTC 2016 - nrochard@gmail.com
- Update to 2.16.3
-------------------------------------------------------------------
Thu Sep 8 11:45:09 UTC 2016 - nrochard@gmail.com
- Update to 2.16.2
-------------------------------------------------------------------
Mon Aug 1 07:44:09 UTC 2016 - dassau@gbd-consult.de
- Update to 2.16.1
-------------------------------------------------------------------
Mon Jul 11 12:16:18 UTC 2016 - dassau@gbd-consult.de
- Update to 2.16.0
-------------------------------------------------------------------
Mon May 23 07:06:36 UTC 2016 - nrochard@gmail.com
- Update to 2.14.3
-------------------------------------------------------------------
Mon May 2 13:54:53 UTC 2016 - nrochard@gmail.com
- Update to 2.14.2
-------------------------------------------------------------------
Tue Mar 29 09:03:21 UTC 2016 - dassau@gbd-consult.de
- Update to 2.14.1
-------------------------------------------------------------------
Mon Mar 21 10:10:54 UTC 2016 - nrochard@gmail.com
- Fix Desktop shortcut to 2.14.0 "Essen"
-------------------------------------------------------------------
Wed Mar 16 15:27:38 UTC 2016 - dassau@gbd-consult.de
- Update to 2.14.0
-------------------------------------------------------------------
Fri Jan 15 13:51:27 UTC 2016 - nrochard@gmail.com
- Update to 2.12.3
-------------------------------------------------------------------
Mon Dec 28 14:46:39 UTC 2015 - nrochard@gmail.com
- Update to 2.12.2
-------------------------------------------------------------------
Sun Dec 27 13:43:00 UTC 2015 - tzotsos@opensuse.org
- Update to libspatialindex4
-------------------------------------------------------------------
Tue Dec 1 07:56:38 UTC 2015 - nrochard@gmail.com
- Update to 2.12.1
-------------------------------------------------------------------
Mon Nov 2 09:54:37 UTC 2015 - dassau@gbd-consult.de
- New QGIS release 2.12.0
-------------------------------------------------------------------
Sat Aug 01 14:07:00 UTC 2015 - tzotsos@opensuse.org
- back to using grass package
------------------------------------------------------------------
Fri Jul 27 13:10:55 UTC 2015 - dassau@gbd-consult.de
- New QGIS release 2.10.1
------------------------------------------------------------------
Fri Jun 26 13:10:55 UTC 2015 - dassau@gbd-consult.de
- New QGIS release 2.10.0
-------------------------------------------------------------------
Wed Jun 24 09:42:29 UTC 2015 - dassau@gbd-consult.de
- obsolete qgis2-plugin-grass
-------------------------------------------------------------------
Tue Jun 16 14:31:54 UTC 2015 - dassau@gbd-consult.de
- update to build with grass7 support instead of grass 6
-------------------------------------------------------------------
Thu Jun 11 14:26:33 UTC 2015 - dassau@gbd-consult.de
- change cmake parameters to build with qgis server again
-------------------------------------------------------------------
Thu Jun 11 13:48:08 UTC 2015 - dassau@gbd-consult.de
- change dependency order
-------------------------------------------------------------------
Tue May 19 07:45:39 UTC 2015 - dassau@gbd-consult.de
- small update desktop file
-------------------------------------------------------------------
Mon May 11 07:10:47 UTC 2015 - dassau@gbd-consult.de
- Minor QGIS release 2.8.2
-------------------------------------------------------------------
Thu Feb 26 20:00:00 UTC 2015 - tzotsos@opensuse.org
- Minor QGIS release 2.8.1
-------------------------------------------------------------------
Sun Feb 22 13:00:00 UTC 2015 - tzotsos@opensuse.org
- New QGIS release 2.8.0
-------------------------------------------------------------------
Wed Jan 14 03:06:00 UTC 2015 - tzotsos@opensuse.org
- Do not obsolete grass7 unless grass-plugin is used
- Removed requirements (OBS resolves requirements automatically)
-------------------------------------------------------------------
Sun Nov 30 01:45:00 UTC 2014 - tzotsos@opensuse.org
- New QGIS release 2.6.1
-------------------------------------------------------------------
Wed Nov 5 08:45:59 UTC 2014 - dassau@gbd-consult.de
- obsolet grass7 - use grass stable package instead
-------------------------------------------------------------------
Wed Nov 5 08:35:24 UTC 2014 - dassau@gbd-consult.de
- added python-wxWidgets as dependency
-------------------------------------------------------------------
Wed Nov 5 08:24:51 UTC 2014 - dassau@gbd-consult.de
- added libqscintilla dependencies
-------------------------------------------------------------------
Wed Nov 5 07:57:41 UTC 2014 - dassau@gbd-consult.de
- New QGIS release 2.6
-------------------------------------------------------------------
Tue Jul 1 07:51:00 UTC 2014 - dassau@gbd-consult.de
- New QGIS release 2.4
-------------------------------------------------------------------
Sat Feb 22 10:23:16 UTC 2014 - dassau@gbd-consult.de
- New QGIS release 2.2
-------------------------------------------------------------------
Thu Jan 9 11:00:22 UTC 2014 - nrochard@gmail.com
- fix spatialite support for python plugin
-------------------------------------------------------------------
Sat Nov 30 00:39:24 UTC 2013 - hpj@urpla.net
- add sample data as separate package
- more spec cleanup
-------------------------------------------------------------------
Thu Nov 28 01:11:39 UTC 2013 - hpj@urpla.net
- add missing private declarations for python sip bindings
- fix qgis.spec file: add missing %dirs, cleanup
-------------------------------------------------------------------
Tue Nov 5 08:25:46 UTC 2013 - tzotsos@opensuse.org
- Added python-psycopg2 as requirement
-------------------------------------------------------------------
Mon Nov 4 17:31:59 UTC 2013 - dassau@gbd-consult.de
- clean up
-------------------------------------------------------------------
Mon Nov 4 11:24:24 UTC 2013 - dassau@gbd-consult.de
- added python-qscintilla as requirement
-------------------------------------------------------------------
Wed Sep 25 15:34:20 UTC 2013 - dassau@gbd-consult.de
- added python-matplotlib as requirement
-------------------------------------------------------------------
Wed Sep 11 08:05:44 UTC 2013 - dassau@gbd-consult.de
- update to version 2.0.1, because of swisstopo acknowledgement for
the splash screen and small bug fixes
-------------------------------------------------------------------
Mon Sep 9 14:18:59 UTC 2013 - dassau@gbd-consult.de
- start building qgis packages for version 2.x

11
qgis.rpmlintrc Normal file
View File

@ -0,0 +1,11 @@
addFilter("devel-file-in-non-devel-package .*/usr/lib.*/libqgis*.*")
addFilter("arch-dependent-file-in-usr-share .*/usr/share/qgis/python/qgis/.*")
addFilter("zero-length .*sample-data.*gtopo30")
# QGIS Server Files in QGIS_CGIBIN_DIR
addFilter("script-without-shebang .*admin.sld")
addFilter("script-without-shebang .*wms_metadata.xml")
addFilter("non-executable-in-bin .*admin.sld")
addFilter("non-executable-in-bin .*wms_metadata.xml")
# intentional forced dependencies
addFilter("explicit-lib-dependency libQt5Sql5-.*sql.*")
addFilter("explicit-lib-dependency python.*-OWSLib")

336
qgis.spec Normal file
View File

@ -0,0 +1,336 @@
#
# spec file for package qgis
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define is_ltr 0
%bcond_without grass
%if %is_ltr
Name: qgis-ltr
%else
Name: qgis
%endif
Version: 3.38.2
Release: 0
Summary: A Geographic Information System (GIS)
License: GPL-2.0-only
Group: Productivity/Graphics/Visualization/Other
URL: https://qgis.org/
Source: https://qgis.org/downloads/qgis-%{version}.tar.bz2
Source1: https://qgis.org/downloads/qgis-%{version}.tar.bz2.sha256
Source2: %{name}.rpmlintrc
Source3: qgis_sample_data.zip
# PATCH-FIX-OPENSUSE - adapt include path of fastcgi
Patch1: fix-fastcgi-include.patch
# PATCH-FIX-UPSTREAM - scan for pdal-config instead of pdal in cmake
Patch2: qgis-fix-cmake-findpdal.patch
BuildRequires: FastCGI-devel
BuildRequires: PDAL-devel
BuildRequires: bison >= 2.4
BuildRequires: cmake >= 3.12.0
BuildRequires: fdupes
BuildRequires: filesystem
BuildRequires: flex >= 2.5.6
BuildRequires: geos-devel >= 3.9
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
BuildRequires: libexiv2-devel
BuildRequires: libqscintilla_qt5-devel
BuildRequires: libspatialindex-devel
BuildRequires: libzstd-devel
BuildRequires: ocl-icd-devel
BuildRequires: opencl-cpp-headers
BuildRequires: pkgconfig
BuildRequires: poppler-tools
BuildRequires: protobuf-devel
BuildRequires: python3-GDAL
BuildRequires: python3-Jinja2
BuildRequires: python3-OWSLib
BuildRequires: python3-PyYAML
BuildRequires: python3-psycopg2
BuildRequires: python3-pygments
BuildRequires: python3-pyqt-builder
BuildRequires: python3-qscintilla-qt5
BuildRequires: python3-qscintilla-qt5-sip
BuildRequires: python3-qt5-devel
BuildRequires: python3-sip-devel
BuildRequires: python3-termcolor
BuildRequires: sqlite-devel >= 3.12.0
BuildRequires: unzip
BuildRequires: update-desktop-files
BuildRequires: (qwt6-devel or qwt6-qt5-devel)
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)
BuildRequires: pkgconfig(draco)
BuildRequires: pkgconfig(expat) >= 1.95
# Requires at least gdal 3.1 for GeoTIFF and Proj >= 6 - https://github.com/qgis/QGIS/issues/36699#issuecomment-633539864
BuildRequires: pkgconfig(gdal) >= 3.2.0
BuildRequires: pkgconfig(Qt5Qwt6)
BuildRequires: pkgconfig(gsl) >= 1.8
BuildRequires: pkgconfig(libpq) > 9.4
BuildRequires: pkgconfig(libzip)
BuildRequires: pkgconfig(netcdf)
BuildRequires: pkgconfig(pdal) >= 2.2.0
BuildRequires: pkgconfig(proj) >= 7.2.0
BuildRequires: pkgconfig(python3) >= 3.7
BuildRequires: pkgconfig(qca2-qt5)
BuildRequires: pkgconfig(spatialite) >= 4.2.0
# Force requires of those 3 main component.
Requires: libQt5Sql5-mysql
Requires: libQt5Sql5-postgresql
Requires: libQt5Sql5-sqlite
# proj.db is required
Requires: proj
Requires: pdal
Requires: python3-GDAL
Requires: python3-Jinja2
Requires: python3-OWSLib
Requires: python3-PyYAML
Requires: python3-Pygments
Requires: python3-numpy
Requires: python3-psycopg2
# Those are not picked by obs
Requires: python3-qscintilla-qt5
Requires: python3-termcolor
Recommends: %{name}-sample-data
Recommends: apache2-mod_fcgid
Recommends: gpsbabel
Recommends: mod_spatialite
# It's in Application:Geo, but not in Factory
Suggests: saga-gis
%if %is_ltr
Conflicts: qgis
%else
Conflicts: qgis-ltr
%endif
Conflicts: qgis-master
Obsoletes: qgis2 < %{version}
%if %{with grass}
BuildRequires: grass-devel >= 7.2
%endif
%ifarch ppc64le
BuildRequires: memory-constraints
%endif
%package devel
Summary: Development Libraries for QGIS
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: python3-qt5-devel
%if %{with grass}
%package plugin-grass
Summary: GRASS Support Libraries for QGIS
Group: Productivity/Graphics/Visualization/Other
Requires: %{name} = %{version}
Requires: grass > 7.0
Requires: grass-doc
Obsoletes: %{name}-plugin-grass < %{version}
%description plugin-grass
GRASS plugin for QGIS required to interface with GRASS system.
%endif
%package sample-data
%define sampledir sample-data
Summary: QGIS sample data
Group: Productivity/Graphics/Visualization/Other
BuildArch: noarch
%description
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.
%description devel
Development packages for QGIS, including the C header files.
%description sample-data
QGIS sample data with raster, vector, gps files and a GRASS location from the Alaska area.
%lang_package
%prep
%autosetup -p1 -n qgis-%{version}
# 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
%build
%define _lto_cflags %{nil}
export CFLAGS="%{optflags}"
export QTDIR=%{_prefix}
export PATH=$PATH:$QTDIR/bin
%cmake \
-DQGIS_LIB_SUBDIR=%{_lib} \
-DWITH_3D=TRUE \
-DWITH_BINDINGS=TRUE \
%if %{with grass}
-DWITH_GRASS=TRUE \
-DWITH_GRASS7=TRUE \
-DWITH_GRASS8=TRUE \
%if 0%{?suse_version} > 1500
-DGRASS_PREFIX7=`cat %{_sysconfdir}/GRASSDIR` \
-DGRASS_PREFIX8=`cat %{_sysconfdir}/GRASSDIR` \
%else
-DGRASS_PREFIX7=%{_libdir}/grass78 \
-DGRASS_PREFIX8=%{_libdir}/grass82 \
%endif
%endif
-DWITH_QSPATIALITE=TRUE \
-DWITH_SERVER=TRUE \
-DWITH_SERVER_PLUGINS=TRUE \
-DWITH_POSTGRESQL=TRUE \
-DWITH_PDAL=TRUE \
-DWITH_QTWEBKIT=FALSE \
-DFCGI_INCLUDE_DIR=%{_includedir}/fastcgi \
-DPOSTGRES_LIBRARY=%{_libdir}/libpq.so \
-DPOSTGRES_INCLUDE_DIR=%{_includedir}/pgsql \
-DQGIS_PLUGIN_SUBDIR=%{_lib}/qgis \
-DQGIS_MANUAL_SUBDIR=share/man \
-DQWT_INCLUDE_DIR=%{_includedir}/qt5/qwt6 \
-DQCA_INCLUDE_DIR=%{_includedir}/qt5/Qca-qt5/QtCrypto \
-DCMAKE_SKIP_RPATH=OFF \
-DOpenCL_INCLUDE_DIR=%{_includedir} \
-Wno-dev
export QTDIR=%{_prefix}
export PATH=$PATH:$QTDIR/bin
%ifarch ppc64le
# avoid OOM failure on power8-01 builder
%limit_build -m 1300
%endif
%make_jobs
%install
%cmake_install
mkdir -p %{buildroot}%{_datadir}/pixmaps
ln -s ../qgis/images/icons/qgis-icon-512x512.png %{buildroot}/%{_datadir}/pixmaps/qgis.png
# Rename .desktop file
mv %{buildroot}%{_datadir}/applications/org.qgis.qgis.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
# Install sample data
pushd %{buildroot}%{_datadir}/qgis
unzip %{SOURCE3}
mv qgis_sample_data %{sampledir}
find %{sampledir} -depth \( -name .tmp -o -name .bash\* -o -name \*~ \) -exec rm -r {} +
popd
%find_lang %{name} --with-qt %{?no_lang_C}
%fdupes -s %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post plugin-grass -p /sbin/ldconfig
%postun plugin-grass -p /sbin/ldconfig
%files
%{_bindir}/*
%{_libdir}/libqgis*so*
%{_libdir}/qt5/plugins/sqldrivers/libqsqlspatialite.so
%{_mandir}/man1/*
%{_datadir}/qgis
%exclude %{_datadir}/qgis/i18n/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/qgis.png
# 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
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/icons/hicolor/*/mimetypes/*.png
%{_datadir}/icons/hicolor/*/mimetypes/*.svg
%{_datadir}/metainfo/org.qgis.qgis.appdata.xml
%dir %{_libdir}/qgis/
%{_libdir}/qgis/*
%if %{with grass}
%exclude %{_libdir}/libqgisgrass?.so
%exclude %{_libdir}/libqgisgrass?.so.*
%exclude %{_libdir}/qgis/libplugin_grass?.so
%exclude %{_libdir}/qgis/libprovider_grass?.so
%exclude %{_libdir}/qgis/libprovider_grassraster?.so
%exclude %{_libdir}/qgis/grass
%endif
%exclude %{_datadir}/qgis/%{sampledir}
%license COPYING
%doc BUGS README.md
%files devel
%{_includedir}/qgis/
%if %{with grass}
%files plugin-grass
%{_libdir}/qgis/libplugin_grass?.so
%{_libdir}/qgis/libprovider_grass?.so
%{_libdir}/qgis/libprovider_grassraster?.so
%{_libdir}/libqgisgrass?.so
%{_libdir}/libqgisgrass?.so.*
%defattr(755,root,root)
%{_libdir}/qgis/grass
%endif
%files sample-data
%dir %{_datadir}/qgis
%{_datadir}/qgis/%{sampledir}
%files lang -f %{name}.lang
%changelog

3
qgis_sample_data.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6654b9f6645b68289ffe87e0e32cfa37513dfb96fe9682062719a343a72d5312
size 22172276