From 798375486e59c62f6b03c4ca19ca5a22d3705f2d2a8e7de3cd4f02353bf90e60 Mon Sep 17 00:00:00 2001 From: Otto Dassau Date: Sat, 30 Aug 2008 07:07:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=45 --- qgis.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/qgis.spec b/qgis.spec index 427cc28..36c293e 100644 --- a/qgis.spec +++ b/qgis.spec @@ -11,25 +11,25 @@ Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS) Packager: Otto Dassau Requires: libgeos >= 2 Requires: libgdal >= 1.5.0 -Requires: sqlite >= 3 +Requires: sqlite >= 3.5 Requires: libqt4 >= 4.2 Requires: gsl >= 1.6 Requires: postgresql >= 8 postgresql-libs >= 8 %if 0%{?application_geo_qt} > 43 -Requires: python-qt4 python-xml -BuildRequires: python-devel python-qt4 python-sip +Requires: python-qt4 python-xml sqlite >= 3.5 +BuildRequires: python-devel python-qt4 python-sip sqlite-devel >= 3.5 %endif %if 0%{?suse_version} >=1030 -Requires: python-qt4 python-xml +Requires: python-qt4 python-xml BuildRequires: python-devel python-qt4 python-sip %endif BuildRequires: libgdal-devel >= 1.5.0 BuildRequires: libgeos-devel >= 2 +BuildRequires: sqlite-devel >= 3.5 BuildRequires: libproj-devel BuildRequires: postgresql-devel >= 8 BuildRequires: grass >= 6.2.3 grass-devel BuildRequires: libgdal-grass >= 1.4.1 -BuildRequires: sqlite-devel >= 3 BuildRequires: libqt4-devel >= 4.2 libqt4-qt3support >= 4.2 BuildRequires: gsl >= 1.6 gsl-devel BuildRequires: cmake >= 2.4 @@ -77,13 +77,13 @@ export PATH=$PATH:$QTDIR/bin %define lib lib %endif -cmake -D CMAKE_INSTALL_PREFIX=%{_prefix} \ +cmake -Wno-dev \ + -D CMAKE_INSTALL_PREFIX=%{_prefix} \ -D GRASS_PREFIX=/opt/grass\ -D QGIS_LIB_SUBDIR=%{lib} \ -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \ -D QGIS_MANUAL_SUBDIR=share/man \ - -D WITH_INTERNAL_SQLITE3 . - + . #echo "for 'make' run first:" export QTDIR=%{_prefix} #echo "export PATH=$PATH:$QTDIR/bin" @@ -138,7 +138,6 @@ rm -rf %{buildroot} %changelog -n qgis * Fri Aug 29 2008 Otto Dassau 0.11.0 - update to build also on SLE_10 and 10.2 -- added -D WITH_INTERNAL_SQLITE3 to support SUSE with older sqlite3 - added python-xml * Mon Jul 14 2008 Otto Dassau 0.11.0 - update for new version, shorter description part