Accepting request 577113 from home:tumic:GPXSee

Version 5.1

OBS-URL: https://build.opensuse.org/request/show/577113
OBS-URL: https://build.opensuse.org/package/show/graphics/gpxsee?expand=0&rev=60
This commit is contained in:
Martin Tůma 2018-02-15 22:25:14 +00:00 committed by Git OBS Bridge
parent 3b4ccbfc39
commit d100341517
10 changed files with 92 additions and 65 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f0718a59772e1bddd3b33214ecf0b9a64f46f68f4de56481c7606dea87c4002
size 864810

3
GPXSee-5.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1899975b7f2a99c1345c9dcb4315f860061f13bb278d5cca1c4a121fac61c098
size 926296

40
PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
pkgname=gpxsee
pkgver=5.1
pkgrel=1
pkgdesc='GPX viewer and analyzer'
arch=('i686' 'x86_64')
url="http://www.gpxsee.org/"
license=('GPL3')
depends=('qt5-base' 'qt5-imageformats')
makedepends=('qt5-tools')
provides=("${pkgname}=${pkgver}")
source=("GPXSee-${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd GPXSee-${pkgver}
lrelease gpxsee.pro
qmake gpxsee.pro
make
}
package() {
cd GPXSee-${pkgver}
install -d 755 ${pkgdir}/usr/bin
install -d 755 ${pkgdir}/usr/share/applications
install -d 755 ${pkgdir}/usr/share/pixmaps
install -d 755 ${pkgdir}/usr/share/mime/packages
install -d 755 ${pkgdir}/usr/share/${pkgname}
install -d 755 ${pkgdir}/usr/share/${pkgname}/maps
install -d 755 ${pkgdir}/usr/share/${pkgname}/csv
install -d 755 ${pkgdir}/usr/share/${pkgname}/translations
install -m 755 GPXSee ${pkgdir}/usr/bin/${pkgname}
install -m 644 pkg/maps/* ${pkgdir}/usr/share/${pkgname}/maps
install -m 644 pkg/csv/* ${pkgdir}/usr/share/${pkgname}/csv
install -m 644 lang/*.qm ${pkgdir}/usr/share/${pkgname}/translations
install -m 644 icons/gpxsee.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
install -m 644 pkg/gpxsee.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
install -m 644 pkg/gpxsee.xml ${pkgdir}/usr/share/mime/packages/${pkgname}.xml
}

View File

@ -1,3 +1,19 @@
gpxsee (5.1) stable; urgency=high
* Fixed crash during static data initialization.
* Added coordinates format setting.
* Added nautical units setting.
-- Martin Tuma <tumic@cbox.cz> Mon, 12 Feb 2018 08:39:17 +0100
gpxsee (5.0) stable; urgency=low
* Added support for GeoTIFF images.
* Online map sources are now defined using XML files.
* Added Finnish, French and Russian localization.
-- Martin Tuma <tumic@cbox.cz> Sat, 10 Feb 2018 21:06:13 +0100
gpxsee (4.19) stable; urgency=high
* Fixed missing cached content cleanup causing huge draw areas

View File

@ -43,13 +43,14 @@ install: build
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/pixmaps
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/mime/packages
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee/translations
cp GPXSee /usr/src/packages/BUILD/debian/gpxsee/usr/bin/gpxsee
cp pkg/maps.txt /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
cp pkg/ellipsoids.csv /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
cp pkg/datums.csv /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
cp -r pkg/maps /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
cp -r pkg/csv /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
cp lang/*.qm /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee/translations
cp icons/gpxsee.png /usr/src/packages/BUILD/debian/gpxsee/usr/share/pixmaps
cp ../SOURCES/gpxsee.desktop /usr/src/packages/BUILD/debian/gpxsee/usr/share/applications
cp ../SOURCES/gpxsee.xml /usr/src/packages/BUILD/debian/gpxsee/usr/share/mime/packages
cp pkg/gpxsee.desktop /usr/src/packages/BUILD/debian/gpxsee/usr/share/applications
cp pkg/gpxsee.xml /usr/src/packages/BUILD/debian/gpxsee/usr/share/mime/packages
# --- end custom part for installing
# Build architecture-independent files here.

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Feb 12 08:35:13 CET 2018 - tumic@cbox.cz
- Update to version 5.1
* Fixed crash during static data initialization.
* Added coordinates format setting.
* Added nautical units setting.
-------------------------------------------------------------------
Sat Feb 10 20:58:20 CET 2018 - tumic@cbox.cz
- Update to version 5.0
* Added support for GeoTIFF images.
* Online map sources are now defined using XML files.
* Added Finnish, French and Russian localization.
-------------------------------------------------------------------
Mon Jan 8 02:35:38 CET 2018 - tumic@cbox.cz

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Name=GPXSee
Exec=gpxsee %F
Icon=gpxsee
Terminal=false
Type=Application
Categories=Graphics;Viewer;
MimeType=application/gpx+xml;application/tcx+xml;application/vnd.ant.fit;application/vnd.google-earth.kml+xml;application/vnd.fai.igc;application/vnd.nmea.nmea;

View File

@ -1,9 +1,9 @@
Format: 1.0
Source: gpxsee
Version: 4.19
Version: 5.1
Binary: gpxsee
Maintainer: Martin Tuma <tumic@cbox.cz>
Architecture: any
Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools, libqt5opengl5-dev
Files:
00000000000000000000000000000000 0 GPXSee-4.19.tar.gz
00000000000000000000000000000000 0 GPXSee-5.1.tar.gz

View File

@ -19,15 +19,13 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: gpxsee
Version: 4.19
Version: 5.1
Release: 1
Summary: GPS log files visualizing and analyzing tool
License: GPL-3.0
Group: Productivity/Graphics/Visualization
Url: http://www.gpxsee.org
Source0: GPXSee-%{version}.tar.gz
Source1: gpxsee.desktop
Source2: gpxsee.xml
BuildRequires: gcc-c++
BuildRequires: make
@ -83,13 +81,16 @@ install -d 755 %{buildroot}/%{_datadir}/applications
install -d 755 %{buildroot}/%{_datadir}/pixmaps
install -d 755 %{buildroot}/%{_datadir}/mime/packages
install -d 755 %{buildroot}/%{_datadir}/%{name}
install -d 755 %{buildroot}/%{_datadir}/%{name}/maps
install -d 755 %{buildroot}/%{_datadir}/%{name}/csv
install -d 755 %{buildroot}/%{_datadir}/%{name}/translations
install -m 755 GPXSee %{buildroot}/%{_bindir}/%{name}
install -m 644 pkg/maps.txt %{buildroot}/%{_datadir}/%{name}
install -m 644 pkg/ellipsoids.csv %{buildroot}/%{_datadir}/%{name}
install -m 644 pkg/datums.csv %{buildroot}/%{_datadir}/%{name}
install -m 644 pkg/maps/* %{buildroot}/%{_datadir}/%{name}/maps
install -m 644 pkg/csv/* %{buildroot}/%{_datadir}/%{name}/csv
install -m 644 lang/*.qm %{buildroot}/%{_datadir}/%{name}/translations
install -m 644 icons/gpxsee.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/mime/packages/%{name}.xml
install -m 644 pkg/gpxsee.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -m 644 pkg/gpxsee.xml %{buildroot}/%{_datadir}/mime/packages/%{name}.xml
%post
if [ -x /usr/bin/update-mime-database ]; then

View File

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/gpx+xml">
<comment>GPS Exchange Format</comment>
<sub-class-of type="application/xml"/>
<generic-icon name="application-xml"/>
<glob pattern="*.gpx"/>
</mime-type>
<mime-type type="application/tcx+xml">
<comment>Training Center XML</comment>
<sub-class-of type="application/xml"/>
<generic-icon name="application-xml"/>
<glob pattern="*.tcx"/>
</mime-type>
<mime-type type="application/vnd.ant.fit">
<comment>Flexible and Interoperable Data Transfer</comment>
<sub-class-of type="application/octet-stream"/>
<generic-icon name="application-octet-stream"/>
<glob pattern="*.fit"/>
</mime-type>
<mime-type type="application/vnd.fai.igc">
<comment>Flight Recorder Data Format</comment>
<sub-class-of type="text/plain"/>
<generic-icon name="text-plain"/>
<glob pattern="*.igc"/>
</mime-type>
<mime-type type="application/vnd.nmea.nmea">
<comment>NMEA 0183 data</comment>
<sub-class-of type="text/plain"/>
<generic-icon name="text-plain"/>
<glob pattern="*.nmea"/>
</mime-type>
</mime-info>