updated, added 64bit fixes
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=10
This commit is contained in:
parent
5c775d9970
commit
e1e9209ffe
64
qgis.spec
64
qgis.spec
@ -1,11 +1,14 @@
|
||||
Name: qgis
|
||||
Name: qgis
|
||||
Version: 0.9.0
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Applications/Engineering
|
||||
Source: %{name}-%{version}.tbz2
|
||||
URL: http://www.qgis.org/
|
||||
Summary: Quantum GIS (QGIS) is designed to be a Geographic Information System (GIS) built for Linux/Unix.
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Applications/Engineering
|
||||
Source: %{name}-%{version}.tbz2
|
||||
Source1: %{name}.desktop
|
||||
Patch0: man-install-share-0.9.0.patch
|
||||
Patch1: lib64-suffix-0.9.0.patch
|
||||
Url: http://www.qgis.org/
|
||||
Summary: Quantum GIS (QGIS) is designed to be a Geographic Information System (GIS) built for Linux/Unix.
|
||||
Packager: Dirk Stöcker <opensuse@dstoecker.de>
|
||||
Requires: libgeos >= 2
|
||||
Requires: grass >= 6.2.1
|
||||
@ -38,9 +41,12 @@ Group: Libraries
|
||||
Requires: qgis = %{version}, grass
|
||||
|
||||
%description
|
||||
Quantum GIS (QGIS) is designed to be a Geographic Information System (GIS)
|
||||
built for Linux/Unix. QGIS will offer support for vector and raster formats.
|
||||
Currently QGIS supports shapefiles and PostgreSQL/PostGIS layers.
|
||||
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.
|
||||
|
||||
Planned features include:
|
||||
|
||||
@ -72,27 +78,18 @@ Development packages for Quantum GIS
|
||||
%description plugin-grass
|
||||
Development packages for Quantum GIS
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export QTDIR=/usr
|
||||
export PATH=$PATH:$QTDIR/bin
|
||||
|
||||
CFLAGS="-O2" CPPFLAGS="-O2" LDFLAGS="-s" \
|
||||
#./configure --enable-debug \
|
||||
# --prefix=%{prefix} \
|
||||
# --enable-spit \
|
||||
# --with-qtdir=$QTDIR \
|
||||
# --with-gdal=%{bindir}/gdal-config \
|
||||
# --with-geos=%{bindir}/geos-config \
|
||||
# --with-grass=/opt/grass \
|
||||
# --with-wfs \
|
||||
# --with-python \
|
||||
# --with-gsl \
|
||||
# --with-sqlite3
|
||||
|
||||
cmake -D CMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-D GRASS_PREFIX=/opt/grass \
|
||||
.
|
||||
@ -106,21 +103,28 @@ make
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
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
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/bin/*
|
||||
%{_libdir}/libqgis_*s*
|
||||
%{_libdir}/qgis/*
|
||||
%{_prefix}/man/*
|
||||
%{_prefix}/share/qgis/*
|
||||
%{_bindir}/*
|
||||
%{_libdir}/lib%{name}_*s*
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/*
|
||||
%{_mandir}/*
|
||||
%{_datadir}/%{name}/*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%exclude %{_libdir}/libqgisgrass.so
|
||||
%exclude %{_libdir}/qgis/libgrass*
|
||||
%doc AUTHORS BUGS COPYING ChangeLog INSTALL README TODO
|
||||
#%doc NEWS
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -138,6 +142,8 @@ rm -rf %{buildroot}
|
||||
/sbin/ldconfig
|
||||
|
||||
%changelog -n qgis
|
||||
* Fri Nov 23 2007 Dirk Stöcker 0.9.0
|
||||
- copied 64 bit fixes from Fedora
|
||||
* Thu Sep 27 2007 Dirk Stöcker 0.9.0
|
||||
- update to final release
|
||||
* Mon Aug 14 2007 Dirk Stöcker 0.9.0pre1
|
||||
|
Loading…
Reference in New Issue
Block a user