SHA256
1
0
forked from pool/qgis
Dirk Stoecker 2007-12-09 12:23:19 +00:00 committed by Git OBS Bridge
parent 41b630eadf
commit d010cbe513
2 changed files with 10 additions and 8 deletions

3
qgis-0.9.1pre.tbz2 Normal file
View File

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

View File

@ -1,12 +1,10 @@
Name: qgis
Version: 0.9.0
Version: 0.9.1pre
Release: 1
License: GPL
Group: Applications/Engineering
Source: %{name}-%{version}.tbz2
Source1: %{name}.desktop
Patch0: man-install-share-0.9.0.patch
Patch1: lib64-suffix-0.9.0.patch
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>
@ -83,8 +81,6 @@ Development packages for Quantum GIS
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@ -92,13 +88,16 @@ export QTDIR=/usr
export PATH=$PATH:$QTDIR/bin
%ifarch x86_64
%define libsuffix -DLIB_SUFFIX=64
%define lib lib64
%else
%define libsuffix ""
%define lib lib
%endif
cmake -D CMAKE_INSTALL_PREFIX=%{_prefix} \
-D GRASS_PREFIX=/opt/grass %{libsuffix}\
-D GRASS_PREFIX=/opt/grass\
-D QGIS_LIB_SUBDIR=%{lib} \
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
-D QGIS_MANUAL_SUBDIR=share/man \
.
#echo "for 'make' run first:"