File viking.spec of Package viking
#
# spec file for package viking
#
# Copyright (c) 2019-2021 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 https://bugs.opensuse.org/
#
Name: viking
Version: 1.10
Release: 0
Summary: GPS data editor and analyzer
License: GPL-2.0-only
Group: Productivity/Other
URL: https://sourceforge.net/projects/viking/
Source0: https://sourceforge.net/projects/viking/files/%{name}-%{version}.tar.bz2
BuildRequires: curl-devel
BuildRequires: file-devel
BuildRequires: gettext
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: itstool
BuildRequires: libxml2-tools
BuildRequires: libxslt
BuildRequires: perl-XML-Parser
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qgpsmm)
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(gexiv2)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(hogweed)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libgeoclue-2.0)
BuildRequires: pkgconfig(libgps)
BuildRequires: pkgconfig(libzip) >= 0.11
BuildRequires: pkgconfig(nettle)
BuildRequires: pkgconfig(oauth)
BuildRequires: pkgconfig(sqlite3)
Requires: gpsbabel
%description
Viking is a free/open source program to manage GPS data. You can
import, plot and create tracks and waypoints, show OSM, Terraserver and
other maps, see real-time GPS position, get geocaches, control items,
etc. It is written in C & the GTK+2 toolkit.
%prep
%autosetup
%build
%configure --disable-mapnik
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%{_bindir}/viking
%{_datadir}/applications/viking.desktop
%{_datadir}/icons/hicolor/48x48/apps/viking.png
%{_mandir}/man1/viking.1%{?ext_man}
%{_datadir}/viking
%changelog