Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jirislaby:kotatko
prunegps
gpsprune.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpsprune.spec of Package prunegps
# # spec file for package gpsprune # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: gpsprune Summary: Viewing, editing and converting coordinate data from GPS systems License: GPL-2.0-only Group: Productivity/Other Version: 23.2 Release: 0 URL: http://activityworkshop.net/software/gpsprune/ Requires: java >= 9 BuildRequires: ant BuildRequires: ant-nodeps BuildRequires: java-3d BuildRequires: java-devel >= 9 BuildRequires: jpackage-utils BuildRequires: unzip BuildRequires: update-alternatives BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://activityworkshop.net/software/gpsprune/gpsprune_%{version}_source.tar.bz2 Source1: %{name}.desktop Source2: %{name}.png Source100: build.properties Source101: build.xml Source102: version.properties BuildArch: noarch %description Prune is an application for viewing, editing and converting coordinate data from GPS systems. Basically it's a tool to let you play with your GPS data after you get home from your trip. It can load data from arbitrary text-based formats (for example, any tab-separated or comma-separated file) or Xml, or directly from a GPS receiver. It can display the data (as map view using openstreetmap images and as altitude profile), edit this data (for example delete points and ranges, sort waypoints, compress tracks), and save the data (in various text-based formats). It can also export data as a Gpx file, or as Kml/Kmz for import into Google Earth, or send it to a GPS receiver. Author ------------ ActivityWorkshop %prep %setup -q -n %{name}_%{version} %build # Start building - set java3D lib path export CLASSPATH="$(build-classpath-directory /usr/share/java/java-3d/):." # run build script sh -x build.sh %install export NO_BRP_CHECK_BYTECODE_VERSION=true # install jar %__install -d -m 755 %{buildroot}%{_datadir}/java %__install -m 755 dist/*.jar %{buildroot}%{_datadir}/java/%{name}_%{version}.jar # startscript cat > %{name} <<'EOF' #!/bin/sh CLASSPATH=`%{_bindir}/build-classpath %{name}_%{version} java-3d 2>/dev/null` java --add-opens java.desktop/sun.awt=ALL-UNNAMED -cp "$CLASSPATH" tim.prune.GpsPrune $@ EOF %__install -d -m 755 %{buildroot}%{_bindir} %__install -m 755 %{name} %{buildroot}%{_bindir}/ # Icon %__install -d -m 755 %{buildroot}%{_datadir}/pixmaps/ %__install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/ # Desktop menu entry %__install -d -m 755 %{buildroot}%{_datadir}/applications/ %__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/ %suse_update_desktop_file %{name} %files %license tim/prune/license.txt %doc tim/prune/readme.txt %{_bindir}/%{name} %{_datadir}/java/%{name}_%{version}.jar %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor