From d010cbe513fbd8baff0c01bb9d1c492146fbedb1f8d6086b6d01cd7dde20ec9d Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Sun, 9 Dec 2007 12:23:19 +0000 Subject: [PATCH] updated OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=15 --- qgis-0.9.1pre.tbz2 | 3 +++ qgis.spec | 15 +++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 qgis-0.9.1pre.tbz2 diff --git a/qgis-0.9.1pre.tbz2 b/qgis-0.9.1pre.tbz2 new file mode 100644 index 0000000..c690bfe --- /dev/null +++ b/qgis-0.9.1pre.tbz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:055c669d0eca79acb7cdae2746af20c03af713d43fb0185c3f7282f88fc54e52 +size 16425419 diff --git a/qgis.spec b/qgis.spec index 894797a..3e99907 100644 --- a/qgis.spec +++ b/qgis.spec @@ -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 @@ -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:"