SHA256
1
0
forked from pool/qgis
Otto Dassau 2008-08-30 07:07:12 +00:00 committed by Git OBS Bridge
parent 88df76018a
commit 798375486e

View File

@ -11,13 +11,13 @@ Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS)
Packager: Otto Dassau <otto.dassau@gmx.de> Packager: Otto Dassau <otto.dassau@gmx.de>
Requires: libgeos >= 2 Requires: libgeos >= 2
Requires: libgdal >= 1.5.0 Requires: libgdal >= 1.5.0
Requires: sqlite >= 3 Requires: sqlite >= 3.5
Requires: libqt4 >= 4.2 Requires: libqt4 >= 4.2
Requires: gsl >= 1.6 Requires: gsl >= 1.6
Requires: postgresql >= 8 postgresql-libs >= 8 Requires: postgresql >= 8 postgresql-libs >= 8
%if 0%{?application_geo_qt} > 43 %if 0%{?application_geo_qt} > 43
Requires: python-qt4 python-xml Requires: python-qt4 python-xml sqlite >= 3.5
BuildRequires: python-devel python-qt4 python-sip BuildRequires: python-devel python-qt4 python-sip sqlite-devel >= 3.5
%endif %endif
%if 0%{?suse_version} >=1030 %if 0%{?suse_version} >=1030
Requires: python-qt4 python-xml Requires: python-qt4 python-xml
@ -25,11 +25,11 @@ BuildRequires: python-devel python-qt4 python-sip
%endif %endif
BuildRequires: libgdal-devel >= 1.5.0 BuildRequires: libgdal-devel >= 1.5.0
BuildRequires: libgeos-devel >= 2 BuildRequires: libgeos-devel >= 2
BuildRequires: sqlite-devel >= 3.5
BuildRequires: libproj-devel BuildRequires: libproj-devel
BuildRequires: postgresql-devel >= 8 BuildRequires: postgresql-devel >= 8
BuildRequires: grass >= 6.2.3 grass-devel BuildRequires: grass >= 6.2.3 grass-devel
BuildRequires: libgdal-grass >= 1.4.1 BuildRequires: libgdal-grass >= 1.4.1
BuildRequires: sqlite-devel >= 3
BuildRequires: libqt4-devel >= 4.2 libqt4-qt3support >= 4.2 BuildRequires: libqt4-devel >= 4.2 libqt4-qt3support >= 4.2
BuildRequires: gsl >= 1.6 gsl-devel BuildRequires: gsl >= 1.6 gsl-devel
BuildRequires: cmake >= 2.4 BuildRequires: cmake >= 2.4
@ -77,13 +77,13 @@ export PATH=$PATH:$QTDIR/bin
%define lib lib %define lib lib
%endif %endif
cmake -D CMAKE_INSTALL_PREFIX=%{_prefix} \ cmake -Wno-dev \
-D CMAKE_INSTALL_PREFIX=%{_prefix} \
-D GRASS_PREFIX=/opt/grass\ -D GRASS_PREFIX=/opt/grass\
-D QGIS_LIB_SUBDIR=%{lib} \ -D QGIS_LIB_SUBDIR=%{lib} \
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \ -D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
-D QGIS_MANUAL_SUBDIR=share/man \ -D QGIS_MANUAL_SUBDIR=share/man \
-D WITH_INTERNAL_SQLITE3 . .
#echo "for 'make' run first:" #echo "for 'make' run first:"
export QTDIR=%{_prefix} export QTDIR=%{_prefix}
#echo "export PATH=$PATH:$QTDIR/bin" #echo "export PATH=$PATH:$QTDIR/bin"
@ -138,7 +138,6 @@ rm -rf %{buildroot}
%changelog -n qgis %changelog -n qgis
* Fri Aug 29 2008 Otto Dassau <otto.dassau@gmx.de> 0.11.0 * Fri Aug 29 2008 Otto Dassau <otto.dassau@gmx.de> 0.11.0
- update to build also on SLE_10 and 10.2 - update to build also on SLE_10 and 10.2
- added -D WITH_INTERNAL_SQLITE3 to support SUSE with older sqlite3
- added python-xml - added python-xml
* Mon Jul 14 2008 Otto Dassau <otto.dassau@gmx.de> 0.11.0 * Mon Jul 14 2008 Otto Dassau <otto.dassau@gmx.de> 0.11.0
- update for new version, shorter description part - update for new version, shorter description part