Accepting request 439160 from home:tumic:GPXSee

Version 3.0

OBS-URL: https://build.opensuse.org/request/show/439160
OBS-URL: https://build.opensuse.org/package/show/graphics/gpxsee?expand=0&rev=8
This commit is contained in:
Martin Tůma 2016-11-08 09:46:33 +00:00 committed by Git OBS Bridge
parent 513669e73f
commit 60b44356c4
12 changed files with 73 additions and 9 deletions

View File

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

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

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

View File

@ -1,3 +1,14 @@
gpxsee (3.0) stable; urgency=low
- Update to version 3.0
* Added support for TCX, KML and FIT files.
* Added cadence and power graphs.
* Improved outlier detection (now also applies to track points).
* GUI polishing.
* Improved print output.
-- Martin Tuma <tumic@cbox.cz> Mon, 07 Nov 2016 00:09:28 +0100
gpxsee (2.20) stable; urgency=low
* Added support for drag&drop.

View File

@ -8,4 +8,4 @@ Package: gpxsee
Architecture: any
Depends: ${shlibs:Depends}
Description: GPX visualizing and analyzing tool
GPXSee is a Qt based tool for visualizing and analyzing GPX files.
GPXSee is a Qt based tool for visualizing and analyzing GPX, TCX, FIT, KML and Garmin CSV files.

View File

@ -2,6 +2,9 @@
case "$1" in
configure)
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database /usr/share/mime > /dev/null
fi
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null
fi

View File

@ -5,6 +5,9 @@ case "$1" in
;;
remove)
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database /usr/share/mime > /dev/null
fi
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null
fi

View File

@ -41,11 +41,13 @@ install: build
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/bin
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/applications
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
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 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
# --- end custom part for installing
# Build architecture-independent files here.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Nov 7 09:28:00 CET 2016 - tumic@cbox.cz
- Update to version 3.0
* Added support for TCX, KML and FIT files.
* Added cadence and power graphs.
* Improved outlier detection (now also applies to track points).
* GUI polishing.
* Improved print output.
-------------------------------------------------------------------
Sat Oct 16 00:08:59 CEST 2016 - tumic@cbox.cz

View File

@ -5,4 +5,4 @@ Icon=gpxsee
Terminal=false
Type=Application
Categories=Graphics;Viewer;
MimeType=application/gpx+xml;
MimeType=application/gpx+xml;application/tcx+xml;application/vnd.ant.fit;application/vnd.google-earth.kml+xml;

View File

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

View File

@ -19,7 +19,7 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: gpxsee
Version: 2.20
Version: 3.0
Release: 1
Summary: GPX visualizing and analyzing tool
License: GPL-3.0
@ -27,6 +27,7 @@ Group: Productivity/Graphics/Visualization
Url: http://tumic.wz.cz/gpxsee
Source0: GPXSee-%{version}.tar.gz
Source1: gpxsee.desktop
Source2: gpxsee.xml
BuildRequires: gcc-c++
BuildRequires: make
@ -54,7 +55,7 @@ BuildRequires: libqt4-devel
%description
GPXSee is a Qt based tool for visualizing and analyzing GPX files.
GPXSee is a Qt based tool for visualizing and analyzing GPX, TCX, FIT, KML and Garmin CSV files.
%prep
%setup -q -n GPXSee-%{version}
@ -75,18 +76,26 @@ make clean
install -d 755 %{buildroot}/%{_bindir}
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 -m 755 GPXSee %{buildroot}/%{_bindir}/%{name}
install -m 644 pkg/maps.txt %{buildroot}/%{_datadir}/%{name}
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
%post
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null || :
fi
%postun
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null || :
fi
@ -98,5 +107,6 @@ fi
%{_datadir}/%{name}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/mime/packages/*
%changelog

25
gpxsee.xml Normal file
View File

@ -0,0 +1,25 @@
<?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-info>