fix wrong files
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=164
This commit is contained in:
parent
e9e02f5348
commit
cb69026338
3
qgis-1.8.0.tar.bz2
Normal file
3
qgis-1.8.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:700be4f81c4a6b6335a0217a6c476328c0ea02543d579a06dc1aaf60201303ab
|
||||||
|
size 29997204
|
272
qgis.changes
Normal file
272
qgis.changes
Normal file
@ -0,0 +1,272 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 5 12:59:40 UTC 2012 - bruno@ioda-net.ch
|
||||||
|
|
||||||
|
- cleaning spec : fix licence, Groups
|
||||||
|
- add multi-core building make -j but let %jobs as parameter
|
||||||
|
this divide by almost a factor 2 the build on obs (2200ms versus 4200ms)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 24 10:23:50 UTC 2012 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||||
|
|
||||||
|
- fixed some build issues for 1.8.0
|
||||||
|
- changed to external CMake build
|
||||||
|
- enabled rpath linking
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 19 12:32:28 UTC 2012 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- update to new version
|
||||||
|
- add libspatialindex dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 29 08:40:03 UTC 2012 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- add python-sip-devel to build SLE 11 SP1 packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 21 07:51:11 UTC 2012 - dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- Update to version 1.7.4
|
||||||
|
|
||||||
|
This is bugfix release over version 1.7.3. There are no new features
|
||||||
|
in the release, only bugfixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 6 11:17:07 UTC 2012 - otto.dassau@gmx.de
|
||||||
|
|
||||||
|
- fixed path to qwt header files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 12 12:15:02 UTC 2011 - otto.dassau@gmx.de
|
||||||
|
|
||||||
|
- Update to version 1.7.3
|
||||||
|
|
||||||
|
This is bugfix release over version 1.7.2. There are no new features
|
||||||
|
in the release, only bugfixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 16 11:56:32 UTC 2011 - otto.dassau@gmx.de
|
||||||
|
|
||||||
|
- Update to version 1.7.2
|
||||||
|
|
||||||
|
This is a bugfix release over version 1.7.1. There are no new features
|
||||||
|
in the release, only bugfixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 30 00:00:00 CEST 2011 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 1.7.1.
|
||||||
|
This is a bugfix release over version 1.7.0. The following changes were made:
|
||||||
|
Raster performance improvements backported to 1.7.1
|
||||||
|
Update version on cmakelists and splash to 1.7.1
|
||||||
|
Move setting projection to after we have features
|
||||||
|
symbology-ng: sort the category items when classifying them #4206
|
||||||
|
Fix feature_count consideration in wms feature info
|
||||||
|
Check topological editing yes/no when opening snapping dialog
|
||||||
|
Updated required version for bison and cmake
|
||||||
|
Small efficiency improvement for rendering
|
||||||
|
make sure gdaltools input vector layers are ogr vectors
|
||||||
|
Fix #4266 - georeferencer and spatial query crashing on exit
|
||||||
|
translation update: nl by Richard for 1.7.x branch
|
||||||
|
translation update: cz by Jan for 1.7.x release
|
||||||
|
Don't check for plugin errors at startup
|
||||||
|
Fix QTreeWidget.resizeColumnToContents() issue observed in PyQt4.8.3 @ Debian
|
||||||
|
translation update: hu update for 1.7.x by Zoltan
|
||||||
|
german translation update
|
||||||
|
UPDATE TRANSLATIONS: for new bugfix Release in 1.7.x
|
||||||
|
Show only provider fields as join target candidates (ticket #4136)
|
||||||
|
Shortcuts dialog now remembers window state between uses
|
||||||
|
Center small marker symbols in composer legend
|
||||||
|
Backport of 6e889aa40e
|
||||||
|
BUGFIX Backport of #4113 and #2805
|
||||||
|
[BACKPORT] increase maximum points count in Random Points tool
|
||||||
|
[BACKPORT] set default contrast enchacement algorithm to NoStretch because this is more appropriate value
|
||||||
|
[BACKPORT]fix RandomPoints crash when there are NULL values in
|
||||||
|
Patch from Michal Klatecki - see ticket #3325
|
||||||
|
Fix #3866 for measure angle tool
|
||||||
|
Backported ui fix for wms select
|
||||||
|
Better block for signals when creating composer legend widget
|
||||||
|
Fix for considering layer title length in composer legend
|
||||||
|
apply #3793: libfcgi cannot change mapserv's environment variables on windows
|
||||||
|
german translation update
|
||||||
|
fix 55a1778 with patched qt on osgeo4w
|
||||||
|
add support for mixed case geometry types of PostGIS 2.0
|
||||||
|
Reduce top and side margins for attribute table dialog
|
||||||
|
Remove the (hopefully) last SVN reference
|
||||||
|
More svn version removal
|
||||||
|
Added missing colour accessor/mutator/member from composerlegenditem header
|
||||||
|
Get rid of svn version stuff from release branch.
|
||||||
|
Other workaround for Qt#5114 (fixes #3250, #3028, #2598)
|
||||||
|
Try to make the histogram smoother
|
||||||
|
More legend cleanup
|
||||||
|
Better layout for composer legend
|
||||||
|
Better consideration of large point symbols in composer legend
|
||||||
|
Fix for composer legend issues, e.g. ticket #3346
|
||||||
|
Merge branch 'release-1_7_0' of github.com:qgis/Quantum-GIS into release-1_7_0
|
||||||
|
Fix labeling-ng with utf-8 layers (ticket #3854)
|
||||||
|
Tweak for layer cache
|
||||||
|
[backport] Fix bug where histogram can be assigned negative frequency for a pixel range. Also fix potential memory leak as new histogram vector was assigned to band stats without clearing the old.
|
||||||
|
Added section on using QtCreator
|
||||||
|
Fix bugs causing a crash when histogram is gathered due to uninitilised histogram vector
|
||||||
|
Added missing QUrl include
|
||||||
|
A neater fix for missing map parameter as suggested by Juergen
|
||||||
|
Fixed a bug where map= was not being published in onlineresource url when project files are not in the same dir as cgi
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 11:07:18 UTC 2011 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Fix build on SLE_11
|
||||||
|
- Don't package INSTALL file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 18 14:52:41 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
- Remove wrong libproj-devel-static dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 18 11:21:03 UTC 2011 - otto.dassau@gmx.de
|
||||||
|
|
||||||
|
- added BuildRequires libproj-devel-static
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 06 12:00:00 CEST 2011 - Otto Dassau dassau@gbd-consult.de
|
||||||
|
|
||||||
|
- new 1.7 release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 20 12:00:00 CEST 2011 Otto Dassau 1.6
|
||||||
|
|
||||||
|
- added txt2tags
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 13 12:00:00 CEST 2011 Otto Dassau 1.6
|
||||||
|
|
||||||
|
- added QGIS Mapserver
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 15 12:00:00 CEST 2011 Otto Dassau 1.6
|
||||||
|
|
||||||
|
- added pyqt 4.8.2 support for 1.6 release (fixed in 1.7)
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 12 12:00:00 CEST 2010 Otto Dassau 1.6
|
||||||
|
|
||||||
|
- added FastCGI for new 1.6 release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 08 12:00:00 CEST 2010 Otto Dassau 1.5
|
||||||
|
|
||||||
|
added qgis15_pyqt4.patch to support pyqt4 >= 4.7.5
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 09 12:00:00 CEST 2010 Otto Dassau 1.5
|
||||||
|
|
||||||
|
- added qwt to support GPS tracker module
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 18 12:00:00 CEST 2010 Otto Dassau 1.5
|
||||||
|
|
||||||
|
- changes and updates for new qgis development version
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 26 12:00:00 CEST 2010 Otto Dassau 1.4
|
||||||
|
|
||||||
|
- added CMAKE_SKIP_RPATH and fixed path error for libgdal.so
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 30 12:00:00 CEST 2009 Otto Dassau 1.4
|
||||||
|
|
||||||
|
- added libQtWebKit as new dependency
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 30 12:00:00 CEST 2009 Otto Dassau 1.3
|
||||||
|
|
||||||
|
- added patch for sip >= 4.9 support
|
||||||
|
- added python-qt4-devel requirement for opensuse 11.2 and factory
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 13 12:00:00 CEST 2009 Otto Dassau 1.3
|
||||||
|
|
||||||
|
- changes and updates for new qgis development version
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 23 12:00:00 CEST 2009 Otto Dassau 1.2
|
||||||
|
|
||||||
|
- changes and updates for new qgis development version
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 27 12:00:00 CEST 2009 Otto Dassau 1.1
|
||||||
|
|
||||||
|
- changes and updates for new qgis development version
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 15 12:00:00 CEST 2009 Otto Dassau 1.0.1-2
|
||||||
|
|
||||||
|
- update for new release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 22 12:00:00 CEST 2009 Otto Dassau 1.0.1
|
||||||
|
|
||||||
|
- update for new release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 28 12:00:00 CEST 2008 Otto Dassau 1.0.0
|
||||||
|
|
||||||
|
- update for new version
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 29 12:00:00 CEST 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 12:00:00 CEST 2008 Otto Dassau 0.11.0
|
||||||
|
|
||||||
|
- update for new version, shorter description part
|
||||||
|
- added rpmlintrc file
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 18 12:00:00 CEST 2008 Otto Dassau 0.10.0
|
||||||
|
|
||||||
|
- update for new version
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 20 12:00:00 CEST 2007 Otto Dassau 0.9.1
|
||||||
|
|
||||||
|
- added python-qt4 and python-sip for python support
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 23 12:00:00 CEST 2007 Dirk Stöcker 0.9.0
|
||||||
|
|
||||||
|
- copied 64 bit fixes from Fedora
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 27 12:00:00 CEST 2007 Dirk Stöcker 0.9.0
|
||||||
|
|
||||||
|
- update to final release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 14 12:00:00 CEST 2007 Dirk Stöcker 0.9.0pre1
|
||||||
|
|
||||||
|
- adapted to openSUSE build service
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 30 12:00:00 CEST 2007 Otto Dassau 0.9.0pre1
|
||||||
|
|
||||||
|
- changed to cmake
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 12 12:00:00 CEST 2007 Otto Dassau 0.8.1
|
||||||
|
|
||||||
|
- update for GRASS 6.2.2 bugfix release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 12 12:00:00 CEST 2007 Otto Dassau 0.8.1
|
||||||
|
|
||||||
|
- first build
|
||||||
|
- splitting into files, files devel and files grass-plugin
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 30 12:00:00 CEST 2006 Otto Dassau 0.8.0
|
||||||
|
|
||||||
|
- added define grassversion
|
||||||
|
- first built of stable 0.8.0
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 19 12:00:00 CEST 2006 Otto Dassau 0.8.pre2
|
||||||
|
|
||||||
|
- adaptions to SuSE 10.2
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 24 12:00:00 CEST 2005 Otto Dassau 0.7.4
|
||||||
|
|
||||||
|
- adaptions to SuSE 10.0
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 24 12:00:00 CEST 2005 Otto Dassau 0.7.3
|
||||||
|
|
||||||
|
- adaptions to GRASS 6.0.1
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 25 12:00:00 CEST 2005 Stephan Holl 0.7.3pre2
|
||||||
|
|
||||||
|
- creation of a pre-release
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 20 12:00:00 CEST 2005 Otto Dassau 0.7.0
|
||||||
|
|
||||||
|
- adaptions to SuSE 9.3
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 18 12:00:00 CEST 2004 Jens Oberender
|
||||||
|
|
||||||
|
- the first spec for CVS
|
206
qgis.spec
Normal file
206
qgis.spec
Normal file
@ -0,0 +1,206 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: qgis
|
||||||
|
Version: 1.8.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Quantum GIS (QGIS) is a Geographic Information System (GIS)
|
||||||
|
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: 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: fdupes
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libspatialindex-devel
|
||||||
|
BuildRequires: libspatialindex0
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: qwt-devel >= 5
|
||||||
|
Requires: python-gdal
|
||||||
|
Requires: python-qt4
|
||||||
|
Requires: python-sip
|
||||||
|
Requires: python-xml
|
||||||
|
%if 0%{?suse_version} <= 1030 || 0%{?sles_version} == 11 || 0%{?suse_version} >= 1120
|
||||||
|
BuildRequires: python-qt4-devel
|
||||||
|
BuildRequires: python-sip-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: python-qt4
|
||||||
|
BuildRequires: python-sip
|
||||||
|
%endif
|
||||||
|
BuildRequires: -post-build-checks
|
||||||
|
BuildRequires: FastCGI-devel
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: cmake >= 2.4
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: gdal
|
||||||
|
BuildRequires: grass
|
||||||
|
BuildRequires: grass-devel
|
||||||
|
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
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development Libraries for the Quantum GIS development branch 1
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: qgis = %{version}
|
||||||
|
|
||||||
|
%package plugin-grass
|
||||||
|
Summary: GRASS Support Libraries for Quantum GIS development branch 1
|
||||||
|
Group: Productivity/Graphics/Visualization/Other
|
||||||
|
Requires: grass
|
||||||
|
Requires: qgis = %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Quantum GIS (QGIS) is a user friendly Open Source Geographic Information
|
||||||
|
System (GIS) that runs on Linux, Unix, Mac OSX, and Windows. QGIS supports
|
||||||
|
vector, raster, and database formats. QGIS is licensed under the GNU
|
||||||
|
General Public License. QGIS lets you browse and create map data on your
|
||||||
|
computer. It supports many common spatial data formats (e.g. ESRI ShapeFile,
|
||||||
|
geotiff). QGIS supports plugins to do things like display tracks from your GPS.
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development packages for Quantum GIS development branch 1.x including the C header files.
|
||||||
|
|
||||||
|
%description plugin-grass
|
||||||
|
GRASS plugin for Quantum GIS development branch 1.x required to interface with GRASS system.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
export QTDIR=/usr
|
||||||
|
export PATH=$PATH:$QTDIR/bin
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
%define lib lib64
|
||||||
|
%else
|
||||||
|
%define lib lib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
mkdir temp
|
||||||
|
cd temp
|
||||||
|
# could we strip now the build for <1030?
|
||||||
|
cmake -Wno-dev %{intsq} \
|
||||||
|
-D CMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
|
-D CMAKE_BUILD_TYPE="Release" \
|
||||||
|
-D GRASS_PREFIX=/opt/grass\
|
||||||
|
-D QGIS_LIB_SUBDIR=%{lib} \
|
||||||
|
-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 \
|
||||||
|
-D CMAKE_SKIP_RPATH=OFF \
|
||||||
|
%if 0%{?suse_version} <= 1030
|
||||||
|
-D WITH_INTERNAL_SQLITE3=TRUE \
|
||||||
|
-D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \
|
||||||
|
%endif
|
||||||
|
../%{name}-%{version}/
|
||||||
|
|
||||||
|
# add path to find libgdal.so
|
||||||
|
#find ./ -iname build.make -exec sed -i 's#/libgdal.so#/usr/%%{lib}/libgdal.so#' {} \;
|
||||||
|
|
||||||
|
#echo "for 'make' run first:"
|
||||||
|
export QTDIR=%{_prefix}
|
||||||
|
#echo "export PATH=$PATH:$QTDIR/bin"
|
||||||
|
export PATH=$PATH:$QTDIR/bin
|
||||||
|
#use multi-core & let that optionnal if jobs is specified as meta
|
||||||
|
make %{?jobs:-j%{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
cd ../temp
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
|
cp %{SOURCE1} %{buildroot}%{_datadir}/applications
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
|
ln -s ../%{name}/images/icons/qgis-icon.png \
|
||||||
|
%{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
# Do not update .desktop files
|
||||||
|
%suse_update_desktop_file -n %{name}
|
||||||
|
|
||||||
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/lib%{name}python.s*
|
||||||
|
%{_libdir}/lib%{name}_*s*
|
||||||
|
%{_libdir}/lib%{name}*s*
|
||||||
|
%{_libdir}/%{name}/
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_datadir}/%{name}/*
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
|
%{_prefix}/lib/qgis/qgis_help
|
||||||
|
%{_prefix}/lib/qgis/crssync
|
||||||
|
%exclude %{_libdir}/libqgisgrass.so
|
||||||
|
%exclude %{_libdir}/libqgisgrass.so.%{version}
|
||||||
|
%exclude %{_libdir}/qgis/libgrass*
|
||||||
|
%doc BUGS COPYING README
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/qgis/*
|
||||||
|
##%%exclude %%{_prefix}/lib/debug/*
|
||||||
|
##%%exclude %%{_prefix}/lib/debug/.build-id/*
|
||||||
|
|
||||||
|
%files plugin-grass
|
||||||
|
%defattr(644,root,root)
|
||||||
|
%{_libdir}/qgis/libgrass*
|
||||||
|
%{_libdir}/libqgisgrass.so
|
||||||
|
%{_libdir}/libqgisgrass.so.%{version}
|
||||||
|
%defattr(755,root,root)
|
||||||
|
%{_prefix}/lib/qgis/grass/bin/qgis.g.browser
|
||||||
|
%{_prefix}/lib/qgis/grass/modules/qgis.*
|
||||||
|
|
||||||
|
%post plugin-grass -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun plugin-grass -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user