1 Summary: GPS data editor and analyzer
6 Group: X11/Applications
7 Source0: http://downloads.sourceforge.net/viking/%{name}-%{version}.tar.bz2
8 # Source0-md5: c322d303b7d1cf3b7a4210466edbf77e
9 URL: http://viking.sourceforge.net/
10 BuildRequires: curl-devel
11 BuildRequires: docbook-dtd412-xml
12 BuildRequires: expat-devel
13 BuildRequires: gnome-doc-utils
14 BuildRequires: gpsd-devel
15 BuildRequires: gtk+2-devel >= 2.2.0
16 BuildRequires: libxml2-progs
17 BuildRequires: libxslt-progs
18 BuildRequires: perl-XML-Parser
19 BuildRequires: pkgconfig
20 BuildRequires: rpm-pythonprov
21 Requires(post,postun): gtk-update-icon-cache
22 Requires(post,postun): hicolor-icon-theme
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Viking is a free/open source program to manage GPS data. You can
27 import and plot tracks and waypoints, show Terraserver maps under it,
28 add coordinate lines, make new tracks and waypoints, hide different
29 things, etc. It is written in C with the GTK+ 2.
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} DESTDIR=$RPM_BUILD_ROOT install iconsdir=%{_pixmapsdir}
42 %find_lang %{name} --with-gnome --with-omf
48 %update_desktop_database_post
49 %update_icon_cache hicolor
52 %update_desktop_database_postun
53 %update_icon_cache hicolor
56 rm -rf $RPM_BUILD_ROOT
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog COPYING NEWS README TODO
61 %attr(755,root,root) %{_bindir}/viking
62 %{_desktopdir}/viking.desktop
63 %{_pixmapsdir}/viking.png