hopefully fixed 64 bit
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=11
This commit is contained in:
parent
e1e9209ffe
commit
15211f9067
13
qgis.spec
13
qgis.spec
@ -11,12 +11,12 @@ Url: http://www.qgis.org/
|
||||
Summary: Quantum GIS (QGIS) is designed to be a Geographic Information System (GIS) built for Linux/Unix.
|
||||
Packager: Dirk Stöcker <opensuse@dstoecker.de>
|
||||
Requires: libgeos >= 2
|
||||
Requires: grass >= 6.2.1
|
||||
Requires: libgdal >= 1.4.1
|
||||
Requires: sqlite >= 3
|
||||
Requires: libqt4 >= 4.2
|
||||
Requires: gsl >= 1.6
|
||||
Requires: postgresql >= 8 postgresql-libs >= 8
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: libgdal-devel >= 1.4.1
|
||||
BuildRequires: libgeos-devel >= 2
|
||||
BuildRequires: libproj-devel
|
||||
@ -38,7 +38,8 @@ Requires: qgis = %{version}
|
||||
%package plugin-grass
|
||||
Summary: GRASS Support Libraries for Quantum GIS
|
||||
Group: Libraries
|
||||
Requires: qgis = %{version}, grass
|
||||
Requires: qgis = %{version}
|
||||
Requires: grass >= 6.2.1
|
||||
|
||||
%description
|
||||
Quantum GIS (QGIS) is a user friendly Open Source Geographic Information
|
||||
@ -90,8 +91,14 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export QTDIR=/usr
|
||||
export PATH=$PATH:$QTDIR/bin
|
||||
|
||||
%ifarch x86_64
|
||||
%define libsuffix -DLIB_SUFFIX=64
|
||||
%else
|
||||
%define libsuffix ""
|
||||
%endif
|
||||
|
||||
cmake -D CMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-D GRASS_PREFIX=/opt/grass \
|
||||
-D GRASS_PREFIX=/opt/grass %{libsuffix}\
|
||||
.
|
||||
|
||||
#echo "for 'make' run first:"
|
||||
|
Loading…
Reference in New Issue
Block a user