]> git.pld-linux.org Git - packages/viking.git/blob - viking.spec
59f208e0e683dbdf3920fe6ae91c3ec46b3faa6d
[packages/viking.git] / viking.spec
1 Summary:        GPS data editor and analyzer
2 Name:           viking
3 Version:        1.6
4 Release:        2
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        http://downloads.sourceforge.net/viking/%{name}-%{version}.tar.bz2
8 # Source0-md5:  ffbebeb67d83d78ba8650f4bf8b6fc4f
9 URL:            http://viking.sourceforge.net/
10 BuildRequires:  curl-devel
11 BuildRequires:  docbook-dtd412-xml
12 BuildRequires:  expat-devel
13 BuildRequires:  gexiv2-devel
14 BuildRequires:  gnome-doc-utils
15 BuildRequires:  gpsd-devel
16 BuildRequires:  gtk+2-devel >= 2.2.0
17 BuildRequires:  libxml2-progs
18 BuildRequires:  libxslt-progs
19 BuildRequires:  mapnik-devel
20 BuildRequires:  perl-XML-Parser
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpm-pythonprov
23 Requires(post,postun):  gtk-update-icon-cache
24 Requires(post,postun):  hicolor-icon-theme
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         filterout       -flto
28
29 %description
30 Viking is a free/open source program to manage GPS data. You can
31 import and plot tracks and waypoints, show Terraserver maps under it,
32 add coordinate lines, make new tracks and waypoints, hide different
33 things, etc. It is written in C with the GTK+ 2.
34
35 %prep
36 %setup -q
37
38 %build
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 %{__make} DESTDIR=$RPM_BUILD_ROOT install iconsdir=%{_pixmapsdir}
45
46 %find_lang %{name} --with-gnome --with-omf
47
48 %check
49 make test
50
51 %post
52 %update_desktop_database_post
53 %update_icon_cache hicolor
54
55 %postun
56 %update_desktop_database_postun
57 %update_icon_cache hicolor
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog COPYING NEWS README TODO 
65 %attr(755,root,root) %{_bindir}/viking
66 %{_desktopdir}/viking.desktop
67 %{_pixmapsdir}/viking.png
68 %{_datadir}/viking
This page took 0.033964 seconds and 2 git commands to generate.