%define majver %(echo %version | cut -d. -f1-3) Name: viking Version: 1.4.1 Release: 2mamba Summary: A GTK2-based GPS data editor and viewer Group: Graphical Desktop/Applications/Scientific Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto URL: http://sourceforge.net/apps/mediawiki/viking/index.php?title=Source_code Source: http://downloads.sourceforge.net/project/viking/viking/%{majver}/viking-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libcurl-devel BuildRequires: libexif-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgps-devel BuildRequires: libgtk2-devel BuildRequires: libpango-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libscrollkeeper-devel Requires: gpsbabel BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 %configure \ --disable-scrollkeeper %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/viking %{_datadir}/applications/viking.desktop %{_datadir}/gnome/help/viking/C/figures/*.png %{_datadir}/gnome/help/viking/C/figures/*.jpg %{_datadir}/gnome/help/viking/C/*.xml %{_datadir}/icons/hicolor/48x48/apps/viking.png %{_datadir}/omf/viking/viking-C.omf %dir %{_datadir}/viking %{_datadir}/viking/external_tools.xml %{_datadir}/viking/goto_tools.xml %{_datadir}/viking/maps.xml %changelog * Sun Jun 02 2013 Silvan Calarco 1.4.1-2mamba - gpsd 3.9 mass rebuild * Wed Apr 10 2013 Automatic Build System 1.4.1-1mamba - automatic version update by autodist * Mon Feb 25 2013 Automatic Build System 1.4-1mamba - automatic version update by autodist * Fri Dec 07 2012 Automatic Build System 1.3.2.1-1mamba - update to 1.3.2.1 * Thu May 03 2012 Ercole 'ercolinux' Carpanetto 1.3-2mamba - added requirement for gpsbabel * Thu May 03 2012 Ercole 'ercolinux' Carpanetto 1.3-1mamba - package created by autospec