This commit is contained in:
parent
d2853814a0
commit
23edb36373
10
qgis.spec
10
qgis.spec
@ -12,8 +12,7 @@ Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS)
|
||||
Packager: Otto Dassau <otto.dassau@gmx.de>
|
||||
Requires: libgeos >= 2
|
||||
Requires: libgdal >= 1.5.0
|
||||
#Internal sqlite is used to support older suse versions
|
||||
#Requires: sqlite >= 3.5
|
||||
Requires: sqlite >= 3.5
|
||||
Requires: libqt4 >= 4.2
|
||||
Requires: gsl >= 1.6
|
||||
Requires: postgresql >= 8 postgresql-libs >= 8
|
||||
@ -27,8 +26,7 @@ BuildRequires: python-devel python-qt4 python-sip
|
||||
%endif
|
||||
BuildRequires: libgdal-devel >= 1.5.0
|
||||
BuildRequires: libgeos-devel >= 2
|
||||
#Internal sqlite is used to support older suse versions
|
||||
#BuildRequires: sqlite-devel >= 3.5
|
||||
BuildRequires: sqlite-devel >= 3.5
|
||||
BuildRequires: libproj-devel
|
||||
BuildRequires: postgresql-devel >= 8
|
||||
BuildRequires: grass >= 6.2.3 grass-devel
|
||||
@ -86,9 +84,11 @@ cmake -Wno-dev \
|
||||
-D GRASS_PREFIX=/opt/grass\
|
||||
-D QGIS_LIB_SUBDIR=%{lib} \
|
||||
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
|
||||
-D QGIS_MANUAL_SUBDIR=share/man \
|
||||
%if 0%{?suse_version} < 1030 || 0%{?sles_version} == 10
|
||||
-D WITH_INTERNAL_SQLITE3=TRUE \
|
||||
-D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \
|
||||
%endif
|
||||
-D QGIS_MANUAL_SUBDIR=share/man \
|
||||
.
|
||||
|
||||
#echo "for 'make' run first:"
|
||||
|
Loading…
Reference in New Issue
Block a user