SHA256
1
0
forked from pool/qgis
Dirk Stoecker 2013-03-30 21:56:11 +00:00 committed by Git OBS Bridge
parent 6c373810ea
commit 2ccbd5bdca

View File

@ -1,32 +1,44 @@
#
# spec file for package qgis
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# use "osc vc" for *.changes file
#
Name: qgis
Version: 1.8.0
Release: 1
License: GPL-2.0
Release: 0
Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS)
Url: http://www.qgis.org/
License: GPL-2.0
Group: Productivity/Graphics/Visualization/Other
Url: http://www.qgis.org/
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.rpmlintrc
Requires: libgdal1 >= 1.6.0
Requires: gdal
Requires: libgdal1 >= 1.6.0
Requires: libgeos >= 2
%if 0%{?suse_version} > 1030
BuildRequires: sqlite-devel >= 3.5
Requires: sqlite >= 3.5
%endif
BuildRequires: libexpat-devel fdupes python-devel libspatialindex-devel libspatialindex0
BuildRequires: fdupes
BuildRequires: libexpat-devel
BuildRequires: libspatialindex-devel
BuildRequires: libspatialindex0
BuildRequires: python-devel
BuildRequires: qwt-devel >= 5
#Requires: libqwt5
#Requires: gpsbabel
#Requires: gsl >= 1.6
#Requires: libqt4 >= 4.3
#Requires: postgresql >= 8
#Requires: postgresql-libs >= 8
Requires: python-gdal
Requires: python-qt4
Requires: python-sip
@ -41,20 +53,21 @@ BuildRequires: python-sip
BuildRequires: -post-build-checks
BuildRequires: FastCGI-devel
BuildRequires: bison
BuildRequires: cmake >= 2.4
BuildRequires: flex
BuildRequires: gdal
BuildRequires: grass
BuildRequires: grass-devel
BuildRequires: gsl-devel
BuildRequires: libproj-devel
BuildRequires: txt2tags
BuildRequires: cmake >= 2.4
BuildRequires: gsl >= 1.6
BuildRequires: gsl-devel
BuildRequires: libQtWebKit-devel >= 4.3
BuildRequires: libgdal-devel >= 1.6.0
BuildRequires: libgeos-devel >= 2
BuildRequires: libproj-devel
BuildRequires: libqt4-devel >= 4.3
BuildRequires: libqt4-qt3support >= 4.3
BuildRequires: postgresql-devel >= 8
BuildRequires: txt2tags
BuildRequires: update-desktop-files
Obsoletes: qgis10
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -110,6 +123,7 @@ cmake -Wno-dev %{intsq} \
-D WITH_BINDINGS=TRUE \
-D WITH_SPATIALITE=TRUE \
-D WITH_MAPSERVER=ON \
-D POSTGRES_LIBRARY=%{_libdir}/libpq.so \
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
-D QGIS_MANUAL_SUBDIR=share/man \
-D QWT_INCLUDE_DIR=/usr/include/qwt5 \
@ -164,7 +178,7 @@ rm -rf %{buildroot}
%exclude %{_libdir}/libqgisgrass.so
%exclude %{_libdir}/libqgisgrass.so.%{version}
%exclude %{_libdir}/qgis/libgrass*
%doc BUGS COPYING README TODO
%doc BUGS COPYING README
%files devel
%defattr(-,root,root)