SHA256
1
0
forked from pool/qgis

Accepting request 1069671 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/1069671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qgis?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2023-03-06 17:56:51 +00:00 committed by Git OBS Bridge
commit 84deca622b
2 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@ -214,10 +214,13 @@ export PATH=$PATH:$QTDIR/bin
%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 \
@ -295,11 +298,11 @@ popd
%dir %{_libdir}/qgis/
%{_libdir}/qgis/*
%if %{with grass}
%exclude %{_libdir}/libqgisgrass7.so
%exclude %{_libdir}/libqgisgrass7.so.*
%exclude %{_libdir}/qgis/libplugin_grass7.so
%exclude %{_libdir}/qgis/libprovider_grass7.so
%exclude %{_libdir}/qgis/libprovider_grassraster7.so
%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}
@ -311,11 +314,11 @@ popd
%if %{with grass}
%files plugin-grass
%{_libdir}/qgis/libplugin_grass7.so
%{_libdir}/qgis/libprovider_grass7.so
%{_libdir}/qgis/libprovider_grassraster7.so
%{_libdir}/libqgisgrass7.so
%{_libdir}/libqgisgrass7.so.*
%{_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