From 504eed6c85a0b9766be7aea41d3a6b9326f4a778f7f2def5af73cf7e988a37c9 Mon Sep 17 00:00:00 2001 From: Otto Dassau Date: Wed, 3 Sep 2008 17:08:00 +0000 Subject: [PATCH] =?UTF-8?q?wieder=20rueckg=C3=A4ngig,=20da=20unsinn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=52 --- qgis.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qgis.spec b/qgis.spec index 803c153..67e2c68 100644 --- a/qgis.spec +++ b/qgis.spec @@ -12,7 +12,10 @@ Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS) Packager: Otto Dassau Requires: libgeos >= 2 Requires: libgdal >= 1.5.0 -#Requires: sqlite >= 3.5 +%if 0%{?suse_version} >= 1030 +Requires: sqlite >= 3.5 +BuildRequires: sqlite-devel >= 3.5 +%endif Requires: libqt4 >= 4.2 Requires: gsl >= 1.6 Requires: postgresql >= 8 postgresql-libs >= 8 @@ -26,7 +29,6 @@ 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 @@ -85,10 +87,10 @@ cmake -Wno-dev \ -D QGIS_LIB_SUBDIR=%{lib} \ -D WITH_BINDINGS=TRUE \ -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \ -#%if 0%{?suse_version} < 1030 || 0%{?sles_version} == 10 +%if 0%{?suse_version} <= 1030 || 0%{?sles_version} == 10 -D WITH_INTERNAL_SQLITE3=TRUE \ -D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \ -#%endif +%endif -D QGIS_MANUAL_SUBDIR=share/man \ .