1 |
%define name viking |
2 |
%define version 1.5 |
3 |
%define release %mkrel 2 |
4 |
|
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
Summary: Global positioning system (GPS) and mapping manager |
9 |
URL: http://viking.sourceforge.net |
10 |
Group: Geography |
11 |
License: GPLv2+ |
12 |
|
13 |
Source: http://prdownloads.sourceforge.net/viking/%{name}-%{version}.tar.bz2 |
14 |
|
15 |
BuildRequires: expat-devel curl-devel gpsd-devel |
16 |
BuildRequires: pkgconfig(libexif) |
17 |
BuildRequires: intltool imagemagick |
18 |
BuildRequires: pkgconfig(gio-2.0) >= 2.12 |
19 |
BuildRequires: pkgconfig(glib-2.0) >= 2.12 |
20 |
BuildRequires: pkgconfig(gthread-2.0) >= 2.2 |
21 |
BuildRequires: pkgconfig(gtk+-2.0) >= 2.12 |
22 |
BuildRequires: gnome-doc-utils >= 0.3.2 |
23 |
BuildRequires: magic-devel |
24 |
BuildRequires: curl-devel |
25 |
Requires: gpsbabel |
26 |
|
27 |
%description |
28 |
Viking is a free/open source program to manage GPS data. You can import and |
29 |
plot tracks and way-points, show Terraserver maps under it, add coordinate |
30 |
lines, make new tracks and way-points, hide different things, etc. |
31 |
|
32 |
%prep |
33 |
%setup -q |
34 |
|
35 |
%build |
36 |
%configure2_5x |
37 |
%make |
38 |
|
39 |
%install |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
%makeinstall_std |
42 |
perl -i -lp -e ' if (/^Categories/) { s{\bMaps\b}{X-Maps} ; s{;\s*$}{;Education;} ; }' $RPM_BUILD_ROOT/%{_datadir}/applications/*.desktop |
43 |
%find_lang %{name} |
44 |
|
45 |
%files -f %{name}.lang |
46 |
%doc AUTHORS README COPYING TODO NEWS ChangeLog |
47 |
%{_bindir}/%{name} |
48 |
%{_datadir}/applications/* |
49 |
%{_datadir}/icons/* |
50 |
%{_datadir}/gnome/help/viking/C/* |
51 |
%{_datadir}/omf/viking/viking-C.omf |
52 |
%{_datadir}/viking/*.xml |
53 |
|