]> git.pld-linux.org Git - packages/viking.git/blob - viking.spec
556e8878d87e40a1478e2ad6c6a339eba527a70a
[packages/viking.git] / viking.spec
1 Summary:        GPS data editor and analyzer
2 Name:           viking
3 Version:        1.5
4 Release:        1
5 License:        GPL v2
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)
24
25 %description
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.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} DESTDIR=$RPM_BUILD_ROOT install iconsdir=%{_pixmapsdir}
41
42 %find_lang %{name} --with-gnome --with-omf
43
44 %check
45 make test
46
47 %post
48 %update_desktop_database_post
49 %update_icon_cache hicolor
50
51 %postun
52 %update_desktop_database_postun
53 %update_icon_cache hicolor
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
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
64 %{_datadir}/viking
This page took 0.051714 seconds and 2 git commands to generate.