diff --git a/qgis.spec b/qgis.spec index 36c293e..d4ac9bc 100644 --- a/qgis.spec +++ b/qgis.spec @@ -11,13 +11,14 @@ 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 +#Internal sqlite is used to support older suse versions +#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 sqlite >= 3.5 -BuildRequires: python-devel python-qt4 python-sip sqlite-devel >= 3.5 +Requires: python-qt4 python-xml +BuildRequires: python-devel python-qt4 python-sip %endif %if 0%{?suse_version} >=1030 Requires: python-qt4 python-xml @@ -25,7 +26,8 @@ BuildRequires: python-devel python-qt4 python-sip %endif BuildRequires: libgdal-devel >= 1.5.0 BuildRequires: libgeos-devel >= 2 -BuildRequires: sqlite-devel >= 3.5 +#Internal sqlite is used to support older suse versions +#BuildRequires: sqlite-devel >= 3.5 BuildRequires: libproj-devel BuildRequires: postgresql-devel >= 8 BuildRequires: grass >= 6.2.3 grass-devel @@ -83,7 +85,9 @@ cmake -Wno-dev \ -D QGIS_LIB_SUBDIR=%{lib} \ -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \ -D QGIS_MANUAL_SUBDIR=share/man \ + -D WITH_INTERNAL_SQLITE3=TRUE \ . + #echo "for 'make' run first:" export QTDIR=%{_prefix} #echo "export PATH=$PATH:$QTDIR/bin" @@ -138,6 +142,7 @@ 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 +- use internal sqlite3 to support older suse versions - added python-xml * Mon Jul 14 2008 Otto Dassau 0.11.0 - update for new version, shorter description part