Accepting request 1224822 from home:tumic:GPXSee
Version 13.29 OBS-URL: https://build.opensuse.org/request/show/1224822 OBS-URL: https://build.opensuse.org/package/show/graphics/gpxsee?expand=0&rev=274
This commit is contained in:
commit
6824115ca3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
GPXSee-13.22.tar.gz
Normal file
3
GPXSee-13.22.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34eccacac18b8a3c5145eff9f256f76fafcc3d9d5070191a673b27ea5a0aadda
|
||||
size 5634011
|
3
GPXSee-13.23.tar.gz
Normal file
3
GPXSee-13.23.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:676f8423b3ee56f37134ea52909b78e3cd1b05e73e287dc9e1863275d842fe17
|
||||
size 5635256
|
3
GPXSee-13.24.tar.gz
Normal file
3
GPXSee-13.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f15d503d0c5efcf42f6d4e6d4c924de9ad672722365adc6573ff1f9d755a71c2
|
||||
size 5638074
|
3
GPXSee-13.25.tar.gz
Normal file
3
GPXSee-13.25.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa79e3068393cc0f52b76d4899922a3b3df868061eaca1292b98099a4785dd31
|
||||
size 5638258
|
3
GPXSee-13.26.tar.gz
Normal file
3
GPXSee-13.26.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:452743ab585f9f61fccf4e1344ab8eaddd689f3ad3463018626820884ea70027
|
||||
size 5638599
|
3
GPXSee-13.27.tar.gz
Normal file
3
GPXSee-13.27.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b58e77381a55c7a9a39eda87f527ffd897bc7d2c669b0c8a87d6ff577fdc6ea5
|
||||
size 5639124
|
3
GPXSee-13.29.tar.gz
Normal file
3
GPXSee-13.29.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6aea435617f92be50201c4b4fa9c46cbe75d177601e7f46f4a8a803322ec78f
|
||||
size 5544756
|
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
||||
pkgname=gpxsee
|
||||
pkgver=13.29
|
||||
pkgrel=1
|
||||
pkgdesc='GPS log files visualizing and analyzing tool'
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gpxsee.org/"
|
||||
license=('GPL3')
|
||||
depends=('qt6-imageformats' 'qt6-positioning' 'qt6-svg'
|
||||
'qt6-serialport' 'hicolor-icon-theme')
|
||||
makedepends=('qt6-tools')
|
||||
optdepends=('qtpbfimageplugin-qt6: Mapbox vector tiles (MVT) files support')
|
||||
provides=("${pkgname}=${pkgver}")
|
||||
source=("GPXSee-${pkgver}.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd GPXSee-${pkgver}
|
||||
/usr/lib/qt6/lrelease-pro gpxsee.pro
|
||||
qmake6 PREFIX=/usr gpxsee.pro
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd GPXSee-${pkgver}
|
||||
make INSTALL_ROOT="$pkgdir" install
|
||||
}
|
1475
debian.changelog
Normal file
1475
debian.changelog
Normal file
File diff suppressed because it is too large
Load Diff
1
debian.compat
Normal file
1
debian.compat
Normal file
@ -0,0 +1 @@
|
||||
10
|
14
debian.control
Normal file
14
debian.control
Normal file
@ -0,0 +1,14 @@
|
||||
Source: gpxsee
|
||||
Section: Graphics
|
||||
Priority: optional
|
||||
Maintainer: Martin Tuma <tumic@cbox.cz>
|
||||
Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-private-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools, libqt5opengl5-dev, qtpositioning5-dev
|
||||
Homepage: http://www.gpxsee.org
|
||||
|
||||
Package: gpxsee
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Recommends: libqt5sql5-sqlite, qt5-image-formats-plugins, libqt5svg5, libqt5serialport5
|
||||
Description: GPS log files visualizing and analyzing tool
|
||||
GPXSee is a Qt based tool for visualizing and analyzing GPX, TCX, FIT, KML, IGC, NMEA,
|
||||
SLF, LOC, OziExplorer (PLT, RTE, WPT), CUP, Garmin CSV and geotagged JPEG files.
|
22
debian.postinst
Normal file
22
debian.postinst
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
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
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
27
debian.postrm
Normal file
27
debian.postrm
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
;;
|
||||
|
||||
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
|
||||
;;
|
||||
|
||||
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
95
debian.rules
Normal file
95
debian.rules
Normal file
@ -0,0 +1,95 @@
|
||||
#!/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 PREFIX=/usr 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/metainfo
|
||||
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/icons/hicolor
|
||||
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
|
||||
mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee/symbols
|
||||
cp gpxsee /usr/src/packages/BUILD/debian/gpxsee/usr/bin/gpxsee
|
||||
cp -r data/maps /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
|
||||
cp -r data/CRS /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee
|
||||
cp lang/*.qm /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee/translations
|
||||
cp icons/symbols/*.png /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee/symbols
|
||||
cp -r icons/app/hicolor/* /usr/src/packages/BUILD/debian/gpxsee/usr/share/icons/hicolor
|
||||
cp pkg/linux/gpxsee.desktop /usr/src/packages/BUILD/debian/gpxsee/usr/share/applications
|
||||
cp pkg/linux/gpxsee.xml /usr/src/packages/BUILD/debian/gpxsee/usr/share/mime/packages
|
||||
cp pkg/linux/gpxsee.appdata.xml /usr/src/packages/BUILD/debian/gpxsee/usr/share/metainfo
|
||||
# --- 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
|
1486
gpxsee.changes
Normal file
1486
gpxsee.changes
Normal file
File diff suppressed because it is too large
Load Diff
9
gpxsee.dsc
Normal file
9
gpxsee.dsc
Normal file
@ -0,0 +1,9 @@
|
||||
Format: 1.0
|
||||
Source: gpxsee
|
||||
Version: 13.29-1
|
||||
Binary: gpxsee
|
||||
Maintainer: Martin Tuma <tumic@cbox.cz>
|
||||
Architecture: any
|
||||
Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-private-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools, libqt5opengl5-dev, qtpositioning5-dev, libqt5svg5-dev, libqt5serialport5-dev
|
||||
Files:
|
||||
00000000000000000000000000000000 0 GPXSee-13.29.tar.gz
|
147
gpxsee.spec
Normal file
147
gpxsee.spec
Normal file
@ -0,0 +1,147 @@
|
||||
#
|
||||
# spec file for package gpxsee
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX 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: 13.29
|
||||
Release: 1
|
||||
Summary: GPS log file visualization and analysis tool
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Graphics/Viewers
|
||||
Url: http://www.gpxsee.org
|
||||
Source0: https://github.com/tumic0/GPXSee/archive/%{version}/GPXSee-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: qt6-qtbase
|
||||
BuildRequires: qt6-qtbase-gui
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
BuildRequires: qt6-qtbase-private-devel
|
||||
BuildRequires: qt6-qtpositioning-devel
|
||||
BuildRequires: qt6-qtsvg-devel
|
||||
BuildRequires: qt6-qtserialport-devel
|
||||
BuildRequires: qt6-linguist
|
||||
Recommends: qt6-qtimageformats
|
||||
Recommends: qt6-qtpbfimageformat
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: qt6-core-devel
|
||||
BuildRequires: qt6-concurrent-devel
|
||||
BuildRequires: qt6-gui-devel
|
||||
BuildRequires: qt6-gui-private-devel
|
||||
BuildRequires: qt6-widgets-devel
|
||||
BuildRequires: qt6-network-devel
|
||||
BuildRequires: qt6-printsupport-devel
|
||||
BuildRequires: qt6-openglwidgets-devel
|
||||
BuildRequires: qt6-sql-devel
|
||||
BuildRequires: qt6-svg-devel
|
||||
BuildRequires: qt6-serialport-devel
|
||||
BuildRequires: qt6-positioning-devel
|
||||
BuildRequires: qt6-tools-linguist
|
||||
Recommends: qt6-sql-sqlite
|
||||
Recommends: qt6-imageformats
|
||||
Recommends: qt6-qtpbfimageformat
|
||||
%else
|
||||
# Mageia
|
||||
BuildRequires: libqt6core-devel
|
||||
BuildRequires: libqt6gui-devel
|
||||
BuildRequires: libqt6concurrent-devel
|
||||
BuildRequires: libqt6widgets-devel
|
||||
BuildRequires: libqt6network-devel
|
||||
BuildRequires: libqt6printsupport-devel
|
||||
BuildRequires: libqt6openglwidgets-devel
|
||||
BuildRequires: libqt6sql-devel
|
||||
BuildRequires: libqt6svg-devel
|
||||
BuildRequires: libqt6positioning-devel
|
||||
BuildRequires: libqt6serialport-devel
|
||||
BuildRequires: qttools6
|
||||
Recommends: qtimageformats6
|
||||
Recommends: libqt6-database-plugin-sqlite
|
||||
Recommends: libqt6-qtpbfimageformat
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
GPXSee is a Qt-based tool for visualizing and analyzing GPX, TCX, FIT, KML,
|
||||
IGC, CUP, NMEA, SLF, SML, LOC, OziExplorer (PLT, RTE, WPT), Garmin GPI&CSV,
|
||||
TomTom OV2&ITN, ONmove OMD/GHP and geotagged JPEG files.
|
||||
|
||||
%prep
|
||||
%setup -q -n GPXSee-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version}
|
||||
lrelease6 gpxsee.pro
|
||||
%{qmake6} gpxsee.pro
|
||||
%else
|
||||
lrelease-qt6 gpxsee.pro
|
||||
%{qmake_qt6} gpxsee.pro
|
||||
%endif
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
install -d 755 %{buildroot}/%{_bindir}
|
||||
install -d 755 %{buildroot}/%{_datadir}/applications
|
||||
install -d 755 %{buildroot}/%{_datadir}/icons/hicolor
|
||||
install -d 755 %{buildroot}/%{_datadir}/mime/packages
|
||||
install -d 755 %{buildroot}/%{_datadir}/metainfo
|
||||
install -d 755 %{buildroot}/%{_datadir}/%{name}
|
||||
install -d 755 %{buildroot}/%{_datadir}/%{name}/maps
|
||||
install -d 755 %{buildroot}/%{_datadir}/%{name}/CRS
|
||||
install -d 755 %{buildroot}/%{_datadir}/%{name}/translations
|
||||
install -d 755 %{buildroot}/%{_datadir}/%{name}/symbols
|
||||
install -m 755 gpxsee %{buildroot}/%{_bindir}/%{name}
|
||||
install -m 644 data/maps/* %{buildroot}/%{_datadir}/%{name}/maps
|
||||
install -m 644 data/CRS/* %{buildroot}/%{_datadir}/%{name}/CRS
|
||||
install -m 644 lang/*.qm %{buildroot}/%{_datadir}/%{name}/translations
|
||||
install -m 644 icons/symbols/*.png %{buildroot}/%{_datadir}/%{name}/symbols
|
||||
cp -r icons/app/hicolor/* %{buildroot}/%{_datadir}/icons/hicolor
|
||||
install -m 644 pkg/linux/gpxsee.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
install -m 644 pkg/linux/gpxsee.xml %{buildroot}/%{_datadir}/mime/packages/%{name}.xml
|
||||
install -m 644 pkg/linux/gpxsee.appdata.xml %{buildroot}/%{_datadir}/metainfo/%{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
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/gpxsee
|
||||
%{_bindir}/*
|
||||
%{_datadir}/%{name}/*
|
||||
%{_datadir}/applications/*
|
||||
%{_datadir}/metainfo/*
|
||||
%{_datadir}/icons/hicolor
|
||||
%{_datadir}/icons/hicolor/*
|
||||
%{_datadir}/mime/packages/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user