Replacing QGIS 1.x package with 2.x latest stable
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=167
This commit is contained in:
parent
dee13407b3
commit
b9130e4a02
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:700be4f81c4a6b6335a0217a6c476328c0ea02543d579a06dc1aaf60201303ab
|
|
||||||
size 29997204
|
|
3
qgis-2.10.1.tar.bz2
Normal file
3
qgis-2.10.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2d880b6bc28333ebbdce94a5762e069b799bd8804e61b171c9b1de772ff699f4
|
||||||
|
size 67544669
|
283
qgis.changes
283
qgis.changes
@ -1,272 +1,139 @@
|
|||||||
-------------------------------------------------------------------
|
------------------------------------------------------------------
|
||||||
Sun Aug 5 12:59:40 UTC 2012 - bruno@ioda-net.ch
|
Fri Jul 27 13:10:55 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- cleaning spec : fix licence, Groups
|
- New QGIS release 2.10.1
|
||||||
- add multi-core building make -j but let %jobs as parameter
|
|
||||||
this divide by almost a factor 2 the build on obs (2200ms versus 4200ms)
|
------------------------------------------------------------------
|
||||||
|
Fri Jun 26 13:10:55 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- New QGIS release 2.10.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 24 10:23:50 UTC 2012 - Angelos Tzotsos <tzotsos@opensuse.org>
|
Wed Jun 24 09:42:29 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- fixed some build issues for 1.8.0
|
- obsolete qgis2-plugin-grass
|
||||||
- changed to external CMake build
|
|
||||||
- enabled rpath linking
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 19 12:32:28 UTC 2012 - dassau@gbd-consult.de
|
Tue Jun 16 14:31:54 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- update to new version
|
- update to build with grass7 support instead of grass 6
|
||||||
- add libspatialindex dependency
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 29 08:40:03 UTC 2012 - dassau@gbd-consult.de
|
Thu Jun 11 14:26:33 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- add python-sip-devel to build SLE 11 SP1 packages
|
- change cmake parameters to build with qgis server again
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 21 07:51:11 UTC 2012 - dassau@gbd-consult.de
|
Thu Jun 11 13:48:08 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- Update to version 1.7.4
|
- change dependency order
|
||||||
|
|
||||||
This is bugfix release over version 1.7.3. There are no new features
|
|
||||||
in the release, only bugfixes.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 6 11:17:07 UTC 2012 - otto.dassau@gmx.de
|
Tue May 19 07:45:39 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- fixed path to qwt header files
|
- small update desktop file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 12:15:02 UTC 2011 - otto.dassau@gmx.de
|
Mon May 11 07:10:47 UTC 2015 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- Update to version 1.7.3
|
- Minor QGIS release 2.8.2
|
||||||
|
|
||||||
This is bugfix release over version 1.7.2. There are no new features
|
|
||||||
in the release, only bugfixes.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 16 11:56:32 UTC 2011 - otto.dassau@gmx.de
|
Thu Feb 26 20:00:00 UTC 2015 - tzotsos@opensuse.org
|
||||||
|
|
||||||
- Update to version 1.7.2
|
- Minor QGIS release 2.8.1
|
||||||
|
|
||||||
This is a bugfix release over version 1.7.1. There are no new features
|
|
||||||
in the release, only bugfixes.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 30 00:00:00 CEST 2011 - Angelos Tzotsos <tzotsos@opensuse.org>
|
Sun Feb 22 13:00:00 UTC 2015 - tzotsos@opensuse.org
|
||||||
|
|
||||||
- Update to version 1.7.1.
|
- New QGIS release 2.8.0
|
||||||
This is a bugfix release over version 1.7.0. The following changes were made:
|
|
||||||
Raster performance improvements backported to 1.7.1
|
|
||||||
Update version on cmakelists and splash to 1.7.1
|
|
||||||
Move setting projection to after we have features
|
|
||||||
symbology-ng: sort the category items when classifying them #4206
|
|
||||||
Fix feature_count consideration in wms feature info
|
|
||||||
Check topological editing yes/no when opening snapping dialog
|
|
||||||
Updated required version for bison and cmake
|
|
||||||
Small efficiency improvement for rendering
|
|
||||||
make sure gdaltools input vector layers are ogr vectors
|
|
||||||
Fix #4266 - georeferencer and spatial query crashing on exit
|
|
||||||
translation update: nl by Richard for 1.7.x branch
|
|
||||||
translation update: cz by Jan for 1.7.x release
|
|
||||||
Don't check for plugin errors at startup
|
|
||||||
Fix QTreeWidget.resizeColumnToContents() issue observed in PyQt4.8.3 @ Debian
|
|
||||||
translation update: hu update for 1.7.x by Zoltan
|
|
||||||
german translation update
|
|
||||||
UPDATE TRANSLATIONS: for new bugfix Release in 1.7.x
|
|
||||||
Show only provider fields as join target candidates (ticket #4136)
|
|
||||||
Shortcuts dialog now remembers window state between uses
|
|
||||||
Center small marker symbols in composer legend
|
|
||||||
Backport of 6e889aa40e
|
|
||||||
BUGFIX Backport of #4113 and #2805
|
|
||||||
[BACKPORT] increase maximum points count in Random Points tool
|
|
||||||
[BACKPORT] set default contrast enchacement algorithm to NoStretch because this is more appropriate value
|
|
||||||
[BACKPORT]fix RandomPoints crash when there are NULL values in
|
|
||||||
Patch from Michal Klatecki - see ticket #3325
|
|
||||||
Fix #3866 for measure angle tool
|
|
||||||
Backported ui fix for wms select
|
|
||||||
Better block for signals when creating composer legend widget
|
|
||||||
Fix for considering layer title length in composer legend
|
|
||||||
apply #3793: libfcgi cannot change mapserv's environment variables on windows
|
|
||||||
german translation update
|
|
||||||
fix 55a1778 with patched qt on osgeo4w
|
|
||||||
add support for mixed case geometry types of PostGIS 2.0
|
|
||||||
Reduce top and side margins for attribute table dialog
|
|
||||||
Remove the (hopefully) last SVN reference
|
|
||||||
More svn version removal
|
|
||||||
Added missing colour accessor/mutator/member from composerlegenditem header
|
|
||||||
Get rid of svn version stuff from release branch.
|
|
||||||
Other workaround for Qt#5114 (fixes #3250, #3028, #2598)
|
|
||||||
Try to make the histogram smoother
|
|
||||||
More legend cleanup
|
|
||||||
Better layout for composer legend
|
|
||||||
Better consideration of large point symbols in composer legend
|
|
||||||
Fix for composer legend issues, e.g. ticket #3346
|
|
||||||
Merge branch 'release-1_7_0' of github.com:qgis/Quantum-GIS into release-1_7_0
|
|
||||||
Fix labeling-ng with utf-8 layers (ticket #3854)
|
|
||||||
Tweak for layer cache
|
|
||||||
[backport] Fix bug where histogram can be assigned negative frequency for a pixel range. Also fix potential memory leak as new histogram vector was assigned to band stats without clearing the old.
|
|
||||||
Added section on using QtCreator
|
|
||||||
Fix bugs causing a crash when histogram is gathered due to uninitilised histogram vector
|
|
||||||
Added missing QUrl include
|
|
||||||
A neater fix for missing map parameter as suggested by Juergen
|
|
||||||
Fixed a bug where map= was not being published in onlineresource url when project files are not in the same dir as cgi
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 21 11:07:18 UTC 2011 - idonmez@suse.com
|
Wed Jan 14 03:06:00 UTC 2015 - tzotsos@opensuse.org
|
||||||
|
|
||||||
- Fix build on SLE_11
|
- Do not obsolete grass7 unless grass-plugin is used
|
||||||
- Don't package INSTALL file
|
- Removed requirements (OBS resolves requirements automatically)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 18 14:52:41 UTC 2011 - idonmez@novell.com
|
Sun Nov 30 01:45:00 UTC 2014 - tzotsos@opensuse.org
|
||||||
|
|
||||||
- Remove wrong libproj-devel-static dependency
|
- New QGIS release 2.6.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 18 11:21:03 UTC 2011 - otto.dassau@gmx.de
|
Wed Nov 5 08:45:59 UTC 2014 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- added BuildRequires libproj-devel-static
|
- obsolet grass7 - use grass stable package instead
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 06 12:00:00 CEST 2011 - Otto Dassau dassau@gbd-consult.de
|
Wed Nov 5 08:35:24 UTC 2014 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- added python-wxWidgets as dependency
|
||||||
|
|
||||||
- new 1.7 release
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 20 12:00:00 CEST 2011 Otto Dassau 1.6
|
Wed Nov 5 08:24:51 UTC 2014 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- added libqscintilla dependencies
|
||||||
|
|
||||||
- added txt2tags
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 13 12:00:00 CEST 2011 Otto Dassau 1.6
|
Wed Nov 5 07:57:41 UTC 2014 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- New QGIS release 2.6
|
||||||
|
|
||||||
- added QGIS Mapserver
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 15 12:00:00 CEST 2011 Otto Dassau 1.6
|
Tue Jul 1 07:51:00 UTC 2014 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- New QGIS release 2.4
|
||||||
|
|
||||||
- added pyqt 4.8.2 support for 1.6 release (fixed in 1.7)
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 12 12:00:00 CEST 2010 Otto Dassau 1.6
|
Sat Feb 22 10:23:16 UTC 2014 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- New QGIS release 2.2
|
||||||
|
|
||||||
- added FastCGI for new 1.6 release
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 08 12:00:00 CEST 2010 Otto Dassau 1.5
|
Thu Jan 9 11:00:22 UTC 2014 - nrochard@gmail.com
|
||||||
|
|
||||||
|
- fix spatialite support for python plugin
|
||||||
|
|
||||||
added qgis15_pyqt4.patch to support pyqt4 >= 4.7.5
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 09 12:00:00 CEST 2010 Otto Dassau 1.5
|
Sat Nov 30 00:39:24 UTC 2013 - hpj@urpla.net
|
||||||
|
|
||||||
|
- add sample data as separate package
|
||||||
|
- more spec cleanup
|
||||||
|
|
||||||
- added qwt to support GPS tracker module
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 18 12:00:00 CEST 2010 Otto Dassau 1.5
|
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
|
||||||
|
|
||||||
- changes and updates for new qgis development version
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 26 12:00:00 CEST 2010 Otto Dassau 1.4
|
Tue Nov 5 08:25:46 UTC 2013 - tzotsos@opensuse.org
|
||||||
|
|
||||||
|
- Added python-psycopg2 as requirement
|
||||||
|
|
||||||
- added CMAKE_SKIP_RPATH and fixed path error for libgdal.so
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 30 12:00:00 CEST 2009 Otto Dassau 1.4
|
Mon Nov 4 17:31:59 UTC 2013 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- clean up
|
||||||
|
|
||||||
- added libQtWebKit as new dependency
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 30 12:00:00 CEST 2009 Otto Dassau 1.3
|
Mon Nov 4 11:24:24 UTC 2013 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- added python-qscintilla as requirement
|
||||||
|
|
||||||
- added patch for sip >= 4.9 support
|
|
||||||
- added python-qt4-devel requirement for opensuse 11.2 and factory
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 13 12:00:00 CEST 2009 Otto Dassau 1.3
|
Wed Sep 25 15:34:20 UTC 2013 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- added python-matplotlib as requirement
|
||||||
|
|
||||||
- changes and updates for new qgis development version
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 23 12:00:00 CEST 2009 Otto Dassau 1.2
|
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
|
||||||
|
|
||||||
- changes and updates for new qgis development version
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 27 12:00:00 CEST 2009 Otto Dassau 1.1
|
Mon Sep 9 14:18:59 UTC 2013 - dassau@gbd-consult.de
|
||||||
|
|
||||||
- changes and updates for new qgis development version
|
- start building qgis packages for version 2.x
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Mar 15 12:00:00 CEST 2009 Otto Dassau 1.0.1-2
|
|
||||||
|
|
||||||
- update for new release
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Feb 22 12:00:00 CEST 2009 Otto Dassau 1.0.1
|
|
||||||
|
|
||||||
- update for new release
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Dec 28 12:00:00 CEST 2008 Otto Dassau 1.0.0
|
|
||||||
|
|
||||||
- update for new version
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Aug 29 12:00:00 CEST 2008 Otto Dassau 0.11.0
|
|
||||||
|
|
||||||
- update to build also on SLE_10 and 10.2
|
|
||||||
- use internal sqlite3 to support older suse versions
|
|
||||||
- added python-xml
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 14 12:00:00 CEST 2008 Otto Dassau 0.11.0
|
|
||||||
|
|
||||||
- update for new version, shorter description part
|
|
||||||
- added rpmlintrc file
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Apr 18 12:00:00 CEST 2008 Otto Dassau 0.10.0
|
|
||||||
|
|
||||||
- update for new version
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Dec 20 12:00:00 CEST 2007 Otto Dassau 0.9.1
|
|
||||||
|
|
||||||
- added python-qt4 and python-sip for python support
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Nov 23 12:00:00 CEST 2007 Dirk Stöcker 0.9.0
|
|
||||||
|
|
||||||
- copied 64 bit fixes from Fedora
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Sep 27 12:00:00 CEST 2007 Dirk Stöcker 0.9.0
|
|
||||||
|
|
||||||
- update to final release
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 14 12:00:00 CEST 2007 Dirk Stöcker 0.9.0pre1
|
|
||||||
|
|
||||||
- adapted to openSUSE build service
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 30 12:00:00 CEST 2007 Otto Dassau 0.9.0pre1
|
|
||||||
|
|
||||||
- changed to cmake
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 12 12:00:00 CEST 2007 Otto Dassau 0.8.1
|
|
||||||
|
|
||||||
- update for GRASS 6.2.2 bugfix release
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 12 12:00:00 CEST 2007 Otto Dassau 0.8.1
|
|
||||||
|
|
||||||
- first build
|
|
||||||
- splitting into files, files devel and files grass-plugin
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Dec 30 12:00:00 CEST 2006 Otto Dassau 0.8.0
|
|
||||||
|
|
||||||
- added define grassversion
|
|
||||||
- first built of stable 0.8.0
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Dec 19 12:00:00 CEST 2006 Otto Dassau 0.8.pre2
|
|
||||||
|
|
||||||
- adaptions to SuSE 10.2
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 24 12:00:00 CEST 2005 Otto Dassau 0.7.4
|
|
||||||
|
|
||||||
- adaptions to SuSE 10.0
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 24 12:00:00 CEST 2005 Otto Dassau 0.7.3
|
|
||||||
|
|
||||||
- adaptions to GRASS 6.0.1
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 25 12:00:00 CEST 2005 Stephan Holl 0.7.3pre2
|
|
||||||
|
|
||||||
- creation of a pre-release
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 20 12:00:00 CEST 2005 Otto Dassau 0.7.0
|
|
||||||
|
|
||||||
- adaptions to SuSE 9.3
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 18 12:00:00 CEST 2004 Jens Oberender
|
|
||||||
|
|
||||||
- the first spec for CVS
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=QGIS 1.8
|
Name=QGIS 2.10.1 (Pisa)
|
||||||
GenericName=Geographic Information System
|
GenericName=Geographic Information System
|
||||||
Comment=
|
Comment=
|
||||||
Exec=qgis
|
Exec=qgis
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
addFilter("devel-file-in-non-devel-package .*/usr/lib/libqgis*.*")
|
addFilter("devel-file-in-non-devel-package .*/usr/lib/libqgis*.*")
|
||||||
addFilter("devel-file-in-non-devel-package .*/usr/lib64/libqgis*.*")
|
addFilter("devel-file-in-non-devel-package .*/usr/lib64/libqgis*.*")
|
||||||
|
addFilter("devel-file-in-non-devel-package .*/usr/share/qgis/python/markupsafe/_speedups.c")
|
||||||
addFilter("arch-dependent-file-in-usr-share .*/usr/share/qgis/python/qgis/.*")
|
addFilter("arch-dependent-file-in-usr-share .*/usr/share/qgis/python/qgis/.*")
|
||||||
|
addFilter("arch-dependent-file-in-usr-share .*/usr/share/qgis/python/markupsafe/_speedups.so")
|
||||||
|
addFilter("arch-dependent-file-in-usr-share .*/usr/share/qgis/python/pyspatialite/_spatialite.so")
|
||||||
|
|
||||||
|
|
||||||
|
169
qgis.spec
169
qgis.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package qgis
|
# spec file for package qgis
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,85 +17,107 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: qgis
|
Name: qgis
|
||||||
Version: 1.8.0
|
Version: 2.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS)
|
Summary: QGIS is a Geographic Information System (GIS)
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Productivity/Graphics/Visualization/Other
|
Group: Productivity/Graphics/Visualization/Other
|
||||||
Url: http://www.qgis.org/
|
Url: http://www.qgis.org/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
Source2: %{name}.rpmlintrc
|
Source2: %{name}.rpmlintrc
|
||||||
Requires: gdal
|
Source3: qgis_sample_data.zip
|
||||||
Requires: libgdal1 >= 1.6.0
|
|
||||||
Requires: libgeos >= 2
|
|
||||||
%if 0%{?suse_version} > 1030
|
|
||||||
BuildRequires: sqlite-devel >= 3.5
|
BuildRequires: sqlite-devel >= 3.5
|
||||||
Requires: sqlite >= 3.5
|
|
||||||
%endif
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: python-wxWidgets
|
||||||
BuildRequires: libspatialindex-devel
|
|
||||||
BuildRequires: libspatialindex0
|
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: qwt-devel >= 5
|
|
||||||
Requires: python-gdal
|
|
||||||
Requires: python-qt4
|
|
||||||
Requires: python-sip
|
|
||||||
Requires: python-xml
|
|
||||||
%if 0%{?suse_version} <= 1030 || 0%{?sles_version} == 11 || 0%{?suse_version} >= 1120
|
|
||||||
BuildRequires: python-qt4-devel
|
|
||||||
BuildRequires: python-sip-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: python-qt4
|
|
||||||
BuildRequires: python-sip
|
|
||||||
%endif
|
|
||||||
BuildRequires: -post-build-checks
|
BuildRequires: -post-build-checks
|
||||||
BuildRequires: FastCGI-devel
|
BuildRequires: FastCGI-devel
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cmake >= 2.4
|
BuildRequires: cmake >= 2.4
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gdal
|
BuildRequires: gdal
|
||||||
BuildRequires: grass
|
BuildRequires: grass7
|
||||||
BuildRequires: grass-devel
|
BuildRequires: grass7-devel
|
||||||
BuildRequires: gsl >= 1.6
|
BuildRequires: gsl >= 1.6
|
||||||
BuildRequires: gsl-devel
|
BuildRequires: gsl-devel
|
||||||
BuildRequires: libQtWebKit-devel >= 4.3
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libspatialindex-devel
|
||||||
|
BuildRequires: libspatialite-devel
|
||||||
|
BuildRequires: libspatialindex0
|
||||||
|
BuildRequires: libqscintilla-devel
|
||||||
|
BuildRequires: libspatialite-devel
|
||||||
|
BuildRequires: libwx_gtk2u_qa-2_8-0-stl
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-qt4-devel
|
||||||
|
BuildRequires: python-sip-devel
|
||||||
|
BuildRequires: libQtWebKit-devel
|
||||||
BuildRequires: libgdal-devel >= 1.6.0
|
BuildRequires: libgdal-devel >= 1.6.0
|
||||||
BuildRequires: libgeos-devel >= 2
|
BuildRequires: libgeos-devel >= 2
|
||||||
BuildRequires: libproj-devel
|
BuildRequires: libproj-devel
|
||||||
|
%if 0%{?suse_version} == 1310
|
||||||
|
BuildRequires: libhdf4
|
||||||
|
%endif
|
||||||
BuildRequires: libqt4-devel >= 4.3
|
BuildRequires: libqt4-devel >= 4.3
|
||||||
BuildRequires: libqt4-qt3support >= 4.3
|
BuildRequires: libqt4-qt3support >= 4.3
|
||||||
BuildRequires: postgresql-devel >= 8
|
BuildRequires: postgresql-devel >= 8
|
||||||
|
BuildRequires: qwt-devel >= 5
|
||||||
BuildRequires: txt2tags
|
BuildRequires: txt2tags
|
||||||
|
BuildRequires: unzip
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
Obsoletes: qgis10 qgis2 qgis-master
|
Requires: python-matplotlib
|
||||||
|
Requires: python-qscintilla
|
||||||
|
Requires: python-qscintilla-sip
|
||||||
|
Requires: python-psycopg2
|
||||||
|
Requires: python-gdal
|
||||||
|
Requires: python-qt4
|
||||||
|
Requires: python-qt4-utils
|
||||||
|
Requires: python-qt4-devel
|
||||||
|
Requires: python-sip
|
||||||
|
Requires: python-xml
|
||||||
|
Requires: python-wxWidgets
|
||||||
|
Requires: grass7-docs
|
||||||
|
Recommends: apache2-mod_fcgid
|
||||||
|
Recommends: gpsbabel
|
||||||
|
Suggests: %{name}-sample-data
|
||||||
|
Provides: qgis
|
||||||
|
Obsoletes: qgis-master
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development Libraries for the QGIS development branch 1
|
Summary: Development Libraries for the QGIS 2.8
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: qgis = %{version}
|
Requires: qgis = %{version}
|
||||||
|
|
||||||
%package plugin-grass
|
%package plugin-grass7
|
||||||
Summary: GRASS Support Libraries for QGIS development branch 1
|
Summary: GRASS Support Libraries for QGIS 2.8
|
||||||
Group: Productivity/Graphics/Visualization/Other
|
Group: Productivity/Graphics/Visualization/Other
|
||||||
Requires: grass
|
Requires: grass7
|
||||||
|
Obsoletes: qgis-plugin-grass
|
||||||
Requires: qgis = %{version}
|
Requires: qgis = %{version}
|
||||||
|
|
||||||
|
%package sample-data
|
||||||
|
Summary: QGIS sample data
|
||||||
|
Group: Productivity/Graphics/Visualization/Other
|
||||||
|
|
||||||
|
%define builddir build
|
||||||
|
%define sampledir sample-data
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QGIS is a user friendly Open Source Geographic Information System (GIS)
|
QGIS is a user friendly Open Source Geographic Information System (GIS)
|
||||||
that runs on Linux, Unix, Mac OSX, and Windows. QGIS supports vector, raster,
|
that runs on Linux, Unix, Mac OSX, and Windows. QGIS supports vector,
|
||||||
and database formats. QGIS is licensed under the GNU General Public License.
|
raster, OWS and database formats. QGIS is licensed under the GNU
|
||||||
QGIS lets you browse and create map data on your computer. It supports many
|
General Public License. QGIS lets you browse and create map data on your
|
||||||
common spatial data formats (e.g. ESRI ShapeFile, geotiff). QGIS supports
|
computer. It supports many common spatial data formats (e.g. ESRI ShapeFile,
|
||||||
plugins to do things like display tracks from your GPS.
|
geotiff). QGIS supports plugins to do things like display tracks from your GPS.
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development packages for QGIS development branch 1.x including the C header files.
|
Development packages for QGIS 2.8 including the C header files.
|
||||||
|
|
||||||
%description plugin-grass
|
%description plugin-grass7
|
||||||
GRASS plugin for QGIS development branch 1.x required to interface with GRASS system.
|
GRASS 7 plugin for QGIS 2.8 required to interface with GRASS system.
|
||||||
|
|
||||||
|
%description sample-data
|
||||||
|
QGIS sample data with free raster, vector, gps files and a GRASS location from Alaska area.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -114,28 +136,23 @@ export PATH=$PATH:$QTDIR/bin
|
|||||||
cd ..
|
cd ..
|
||||||
mkdir temp
|
mkdir temp
|
||||||
cd temp
|
cd temp
|
||||||
# could we strip now the build for <1030?
|
|
||||||
cmake -Wno-dev %{intsq} \
|
cmake -Wno-dev %{intsq} \
|
||||||
-D CMAKE_INSTALL_PREFIX=%{_prefix} \
|
-D CMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
-D CMAKE_BUILD_TYPE="Release" \
|
-D CMAKE_BUILD_TYPE="Release" \
|
||||||
-D GRASS_PREFIX=/opt/grass\
|
-D GRASS_PREFIX=/opt/grass\
|
||||||
-D QGIS_LIB_SUBDIR=%{lib} \
|
-D QGIS_LIB_SUBDIR=%{lib} \
|
||||||
-D WITH_BINDINGS=TRUE \
|
-D WITH_BINDINGS=TRUE \
|
||||||
-D WITH_SPATIALITE=TRUE \
|
-D WITH_QSPATIALITE=TRUE \
|
||||||
-D WITH_MAPSERVER=ON \
|
-D WITH_PYSPATIALITE=TRUE \
|
||||||
|
-D WITH_SERVER=TRUE \
|
||||||
|
-D WITH_SERVER_PLUGINS=TRUE \
|
||||||
-D POSTGRES_LIBRARY=%{_libdir}/libpq.so \
|
-D POSTGRES_LIBRARY=%{_libdir}/libpq.so \
|
||||||
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
|
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
|
||||||
-D QGIS_MANUAL_SUBDIR=share/man \
|
-D QGIS_MANUAL_SUBDIR=share/man \
|
||||||
-D QWT_INCLUDE_DIR=/usr/include/qwt5 \
|
-D QWT_INCLUDE_DIR=/usr/include/qwt5 \
|
||||||
-D CMAKE_SKIP_RPATH=OFF \
|
-D CMAKE_SKIP_RPATH=OFF \
|
||||||
%if 0%{?suse_version} <= 1030
|
../%{name}-%{version}/
|
||||||
-D WITH_INTERNAL_SQLITE3=TRUE \
|
|
||||||
-D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \
|
|
||||||
%endif
|
|
||||||
../%{name}-%{version}/
|
|
||||||
|
|
||||||
# add path to find libgdal.so
|
|
||||||
#find ./ -iname build.make -exec sed -i 's#/libgdal.so#/usr/%%{lib}/libgdal.so#' {} \;
|
|
||||||
|
|
||||||
#echo "for 'make' run first:"
|
#echo "for 'make' run first:"
|
||||||
export QTDIR=%{_prefix}
|
export QTDIR=%{_prefix}
|
||||||
@ -151,12 +168,18 @@ cd ../temp
|
|||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
cp %{SOURCE1} %{buildroot}%{_datadir}/applications
|
cp %{SOURCE1} %{buildroot}%{_datadir}/applications
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
ln -s ../%{name}/images/icons/qgis-icon.png \
|
ln -s ../qgis/images/icons/qgis-icon.png %{buildroot}/%{_datadir}/pixmaps/qgis.png
|
||||||
%{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
|
||||||
|
|
||||||
# Do not update .desktop files
|
# Do not update .desktop files
|
||||||
%suse_update_desktop_file -n %{name}
|
%suse_update_desktop_file -n %{name}
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -165,39 +188,43 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/lib%{name}python.s*
|
%{_libdir}/libqgispython.s*
|
||||||
%{_libdir}/lib%{name}_*s*
|
#%{_libdir}/libqgis_*s*
|
||||||
%{_libdir}/lib%{name}*s*
|
%{_libdir}/libqgis*s*
|
||||||
%{_libdir}/%{name}/
|
%{_libdir}/qgis/
|
||||||
|
%{_libdir}/qt4/plugins/sqldrivers/libqsqlspatialite.so
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/%{name}/*
|
%{_datadir}/qgis/*
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
%{_datadir}/pixmaps/qgis.png
|
||||||
%{_prefix}/lib/qgis/qgis_help
|
%{_prefix}/lib/qgis/qgis_help
|
||||||
%{_prefix}/lib/qgis/crssync
|
%{_prefix}/lib/qgis/crssync
|
||||||
|
%exclude %{_prefix}/lib/debug/
|
||||||
%exclude %{_libdir}/libqgisgrass.so
|
%exclude %{_libdir}/libqgisgrass.so
|
||||||
%exclude %{_libdir}/libqgisgrass.so.%{version}
|
%exclude %{_libdir}/libqgisgrass.so.*
|
||||||
%exclude %{_libdir}/qgis/libgrass*
|
%exclude %{_libdir}/qgis/libgrass*
|
||||||
%doc BUGS COPYING README
|
#%doc BUGS COPYING README
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/qgis/*
|
%{_prefix}/include/qgis/*
|
||||||
##%%exclude %%{_prefix}/lib/debug/*
|
|
||||||
##%%exclude %%{_prefix}/lib/debug/.build-id/*
|
|
||||||
|
|
||||||
%files plugin-grass
|
%files plugin-grass7
|
||||||
%defattr(644,root,root)
|
%defattr(644,root,root)
|
||||||
%{_libdir}/qgis/libgrass*
|
%{_libdir}/qgis/libgrass*
|
||||||
%{_libdir}/libqgisgrass.so
|
#%{_libdir}/libqgisgrass.so
|
||||||
%{_libdir}/libqgisgrass.so.%{version}
|
#%{_libdir}/libqgisgrass.so.*
|
||||||
%defattr(755,root,root)
|
%defattr(755,root,root)
|
||||||
%{_prefix}/lib/qgis/grass/bin/qgis.g.browser
|
#%{_prefix}/lib/qgis/grass/bin/qgis.g.browser
|
||||||
%{_prefix}/lib/qgis/grass/modules/qgis.*
|
%{_prefix}/lib/qgis/grass/modules/qgis.*
|
||||||
|
|
||||||
%post plugin-grass -p /sbin/ldconfig
|
%files sample-data
|
||||||
|
%defattr(644,root,root)
|
||||||
|
%{_datadir}/qgis/%{sampledir}
|
||||||
|
|
||||||
%postun plugin-grass -p /sbin/ldconfig
|
%post plugin-grass7 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun plugin-grass7 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
3
qgis_sample_data.zip
Normal file
3
qgis_sample_data.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6654b9f6645b68289ffe87e0e32cfa37513dfb96fe9682062719a343a72d5312
|
||||||
|
size 22172276
|
Loading…
Reference in New Issue
Block a user