]>
Commit | Line | Data |
---|---|---|
0962f6ba JK |
1 | Summary: GPS data editor and analyzer |
2 | Name: viking | |
030020f6 JR |
3 | Version: 1.6.1 |
4 | Release: 1 | |
b445de45 | 5 | License: GPL v2 |
0962f6ba | 6 | Group: X11/Applications |
c74b0ab7 | 7 | Source0: http://downloads.sourceforge.net/viking/%{name}-%{version}.tar.bz2 |
030020f6 | 8 | # Source0-md5: e79d8a092ef12a01975d4b92d30d9eb1 |
b445de45 | 9 | URL: http://viking.sourceforge.net/ |
0962f6ba | 10 | BuildRequires: curl-devel |
99349b33 | 11 | BuildRequires: docbook-dtd412-xml |
0962f6ba | 12 | BuildRequires: expat-devel |
b917bb5a | 13 | BuildRequires: gexiv2-devel |
99349b33 | 14 | BuildRequires: gnome-doc-utils |
3c1851b0 | 15 | BuildRequires: gpsd-devel |
0962f6ba | 16 | BuildRequires: gtk+2-devel >= 2.2.0 |
99349b33 | 17 | BuildRequires: libxml2-progs |
387348eb | 18 | BuildRequires: libxslt-progs |
b917bb5a | 19 | BuildRequires: mapnik-devel |
b445de45 | 20 | BuildRequires: perl-XML-Parser |
0962f6ba | 21 | BuildRequires: pkgconfig |
b445de45 | 22 | BuildRequires: rpm-pythonprov |
ff519c6f AF |
23 | Requires(post,postun): gtk-update-icon-cache |
24 | Requires(post,postun): hicolor-icon-theme | |
0962f6ba JK |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
b917bb5a BS |
27 | %define filterout -flto |
28 | ||
0962f6ba JK |
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 | |
d0f3e4bd | 37 | |
0962f6ba | 38 | %build |
3c1851b0 | 39 | %configure |
0962f6ba JK |
40 | %{__make} |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
387348eb JK |
44 | %{__make} DESTDIR=$RPM_BUILD_ROOT install iconsdir=%{_pixmapsdir} |
45 | ||
99349b33 | 46 | %find_lang %{name} --with-gnome --with-omf |
0962f6ba JK |
47 | |
48 | %check | |
49 | make test | |
50 | ||
387348eb | 51 | %post |
49ffe2d7 | 52 | %update_desktop_database_post |
e34a4c95 | 53 | %update_icon_cache hicolor |
387348eb JK |
54 | |
55 | %postun | |
49ffe2d7 | 56 | %update_desktop_database_postun |
e34a4c95 | 57 | %update_icon_cache hicolor |
387348eb | 58 | |
0962f6ba JK |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files -f %{name}.lang | |
63 | %defattr(644,root,root,755) | |
c74b0ab7 | 64 | %doc AUTHORS ChangeLog COPYING NEWS README TODO |
0962f6ba | 65 | %attr(755,root,root) %{_bindir}/viking |
387348eb | 66 | %{_desktopdir}/viking.desktop |
49ffe2d7 | 67 | %{_pixmapsdir}/viking.png |
c74b0ab7 | 68 | %{_datadir}/viking |