viking/viking.spec

116 lines
3.7 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-3)
Name: viking
Version: 1.10
Release: 2mamba
Summary: A GTK2-based GPS data editor and viewer
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/viking/
Source: http://downloads.sourceforge.net/project/viking/viking-%{version}.tar.bz2
Source1: https://raw.githubusercontent.com/viking-gps/viking/viking-%{version}/org.viking.Viking.appdata.xml
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcurl-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgeoclue-devel
BuildRequires: libgexiv2-devel
BuildRequires: libglib-devel
BuildRequires: libgps-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libjson-glib-devel
BuildRequires: libmagic-devel
BuildRequires: libmapnik-devel
BuildRequires: libnettle-devel
BuildRequires: liboauth-devel
BuildRequires: libpango-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: libzip-devel
## AUTOBUILDREQ-END
BuildRequires: libgps-devel >= 0:3.25-1mamba
Requires: gpsbabel
%description
Viking is a GTK2-based GPS data editor and viewer. It can download and show OpenStreetMaps, Terraserver, and other maps, import and draw tracks and waypoints over them, add coordinate lines, make new tracks and waypoints, hide different things, and more. It uses a hierarchical layering system to organize GPS data, maps, and other layer types with spatial data (such as coordinate lines).
%debug_package
%prep
%setup -q
%build
export CXXFLAGS="%{optflags} -I%{_includedir}/mapnik"
%configure \
--disable-scrollkeeper
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} --with-gnome
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/viking.appdata.xml
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/viking
%{_datadir}/applications/viking.desktop
%{_datadir}/metainfo/viking.appdata.xml
%dir %{_datadir}/viking
%{_datadir}/viking/*
%{_datadir}/icons/hicolor/48x48/apps/viking.png
%{_mandir}/man1/viking.1*
%doc AUTHORS COPYING
%changelog
* Wed Feb 08 2023 Sdk Build System <sdk@mambasoft.it> 1.10-2mamba
- rebuilt by autoport with build requirements: libgps-devel>=0:3.25-1mamba
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
- automatic version update by autodist
* Mon Jun 02 2014 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
- automatic update by autodist
* Sun Feb 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
- update to 1.5
* Fri Aug 09 2013 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic update by autodist
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-2mamba
- gpsd 3.9 mass rebuild
* Wed Apr 10 2013 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 1.3.2.1-1mamba
- update to 1.3.2.1
* Thu May 03 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3-2mamba
- added requirement for gpsbabel
* Thu May 03 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3-1mamba
- package created by autospec