Accepting request 398529 from home:tumic:GPXSee

Could GPXSee - a Qt based GPX viewer - added to the project?

OBS-URL: https://build.opensuse.org/request/show/398529
OBS-URL: https://build.opensuse.org/package/show/graphics/gpxsee?expand=0&rev=1
This commit is contained in:
OBS User mrdocs 2016-06-01 21:48:17 +00:00 committed by Git OBS Bridge
commit 9650dab029
13 changed files with 423 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

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

73
debian.changelog Normal file
View File

@ -0,0 +1,73 @@
gpxsee (2.14) stable; urgency=low
* Added print support.
* Many fixes & improvements in PDF export (e.g. map support).
-- Martin Tuma <tumic@cbox.cz> Sat, 28 May 2016 10:06:06 +0200
gpxsee (2.13) stable; urgency=low
* Fixed broken opening of non-ASCII named files as program arguments.
* File info in window title.
* Persistent program settings.
-- Martin Tuma <tumic@cbox.cz> Tue, 3 May 2016 20:09:06 +0200
gpxsee (2.12) stable; urgency=low
* Added fullscreen mode.
* Polished GUI.
-- Martin Tuma <tumic@cbox.cz> Thu, 14 Apr 2016 07:54:37 +0200
gpxsee (2.11) stable; urgency=low
* Added "clear tile cache" option.
* Lots of minor bug fixes and enhancements.
-- Martin Tuma <tumic@cbox.cz> Sat, 2 Apr 2016 17:52:12 +0200
gpxsee (2.10) stable; urgency=low
* Added heart rate graphs.
* Polished GUI.
* Redesigned map/POI data sources handling.
* Lots of minor bug fixes and enhancements.
-- Martin Tuma <tumic@cbox.cz> Fri, 25 Mar 2016 13:32:27 +0100
gpxsee (2.9) stable; urgency=low
* Added support for displaying waypoints.
* Minor bug fixes and enhancements.
-- Martin Tuma <tumic@cbox.cz> Sun, 20 Mar 2016 21:14:33 +0100
gpxsee (2.8) stable; urgency=low
* Improved POI files control.
* Minor bug fixes and enhancements.
-- Martin Tuma <tumic@cbox.cz> Sun, 6 Mar 2016 17:29:07 +0100
gpxsee (2.7) stable; urgency=low
* Added default map sources (OSM, Thunderforest).
* Added support for POIs in GPX format.
* Added support for GPX files with multiple tracks.
-- Martin Tuma <tumic@cbox.cz> Sat, 13 Feb 2016 12:39:16 +0100
gpxsee (2.6) stable; urgency=low
* Added map scale info.
* Improved PDF export.
-- Martin Tuma <tumic@cbox.cz> Wed, 3 Feb 2016 16:05:17 +0100
gpxsee (2.5) stable; urgency=low
* Added support for imperial units.
* Fixed track view resizing issues.
-- Martin Tuma <tumic@cbox.cz> Sun, 20 Dec 2015 16:42:00 +0100

1
debian.compat Normal file
View File

@ -0,0 +1 @@
9

11
debian.control Normal file
View File

@ -0,0 +1,11 @@
Source: gpxsee
Section: Graphics
Priority: optional
Maintainer: Martin Tuma <tumic@cbox.cz>
Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools
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.

19
debian.postinst Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
case "$1" in
configure)
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

24
debian.postrm Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
case "$1" in
purge)
;;
remove)
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

86
debian.rules Normal file
View File

@ -0,0 +1,86 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
export QT_SELECT := qt5
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
lrelease gpxsee.pro
qmake gpxsee.pro
make
# --- end custom part for compiling
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
make clean || true
# --- end custom part for cleaning up
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package
# The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/<nameOfPackage>
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/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
# --- end custom part for installing
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
# dh_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
dh_installcron
dh_installman
dh_installinfo
# dh_undocumented
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

73
gpxsee.changes Normal file
View File

@ -0,0 +1,73 @@
-------------------------------------------------------------------
Sat May 28 10:06:25 CEST 2016 - tumic@cbox.cz
- Update to version 2.14
* Added print support.
* Many fixes & improvements in PDF export (e.g. map support).
-------------------------------------------------------------------
Tue May 3 20:09:06 CEST 2016 - tumic@cbox.cz
- Update to version 2.13
* Fixed broken opening of non-ASCII named files as program arguments.
* File info in window title.
* Persistent program settings.
-------------------------------------------------------------------
Thu Apr 14 07:54:37 CEST 2016 - tumic@cbox.cz
- Update to version 2.12
* Added fullscreen mode.
* Polished GUI.
-------------------------------------------------------------------
Sat Apr 2 17:52:12 CEST 2016 - tumic@cbox.cz
- Update to version 2.11
* Added "clear tile cache" option.
* Lots of minor bug fixes and enhancements.
-------------------------------------------------------------------
Fri Mar 25 13:32:27 CET 2016 - tumic@cbox.cz
- Update to version 2.10
* Added heart rate graphs.
* Polished GUI.
* Redesigned map/POI data sources handling.
* Lots of minor bug fixes and enhancements.
-------------------------------------------------------------------
Sun Mar 20 21:14:33 CET 2016 - tumic@cbox.cz
- Update to version 2.9
* Added support for displaying waypoints.
* Minor bug fixes and enhancements.
-------------------------------------------------------------------
Sun Mar 6 17:29:07 CET 2016 - tumic@cbox.cz
- Update to version 2.8
* Improved POI files control.
* Minor bug fixes and enhancements.
-------------------------------------------------------------------
Sat Feb 13 12:39:16 CET 2016 - tumic@cbox.cz
- Update to version 2.7
* Added default map sources (OSM, Thunderforest).
* Added support for POIs in GPX format.
* Added support for GPX files with multiple tracks.
-------------------------------------------------------------------
Wed Feb 3 16:05:17 CET 2016 - tumic@cbox.cz
- Update to version 2.6
* Added map scale info.
* Improved PDF export.
-------------------------------------------------------------------
Sun Dec 20 17:42:00 CET 2015 - tumic@cbox.cz
- Update to version 2.5
* Added support for imperial units.
* Fixed track view resizing issues.

9
gpxsee.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=GPXSee
Exec=gpxsee
Icon=gpxsee
Terminal=0
Type=Application
Categories=qt;Graphics;Viewer
MimeType=application/gpx+xml

9
gpxsee.dsc Normal file
View File

@ -0,0 +1,9 @@
Format: 1.0
Source: gpxsee
Version: 2.14
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.14.tar.gz

91
gpxsee.spec Normal file
View File

@ -0,0 +1,91 @@
#
# spec file for package gpxsee
#
# 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: gpxsee
Version: 2.14
Release: 1
Summary: GPX visualizing and analyzing tool
License: GPL-3.0
Group: Productivity/Graphics/Visualization
Url: http://tumic.wz.cz/gpxsee
Source0: GPXSee-%{version}.tar.gz
Source1: gpxsee.desktop
BuildRequires: gcc-c++
BuildRequires: make
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: libqt4-devel
%else
BuildRequires: libQt5Core-devel
BuildRequires: libQt5Gui-devel
BuildRequires: libQt5Widgets-devel
BuildRequires: libQt5Network-devel
BuildRequires: libQt5PrintSupport-devel
BuildRequires: libqt5-linguist
%endif
%description
GPXSee is a Qt based tool for visualizing and analyzing GPX files.
%prep
%setup -q -n GPXSee-%{version}
%build
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
lrelease-qt4 gpxsee.pro
qmake-qt4 gpxsee.pro
%else
lrelease-qt5 gpxsee.pro
qmake-qt5 gpxsee.pro
%endif
make %{?_smp_mflags}
make clean
%install
install -d 755 %{buildroot}/%{_bindir}
install -d 755 %{buildroot}/%{_datadir}/applications
install -d 755 %{buildroot}/%{_datadir}/pixmaps
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
%post
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null || :
fi
%postun
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null || :
fi
%files
%defattr(-,root,root)
%dir %{_datadir}/gpxsee
%{_bindir}/*
%{_datadir}/%{name}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%changelog