summaryrefslogtreecommitdiff
path: root/gpsdrive.spec
blob: 2566ed56a45b58f7a5460f2f0ac5288ef4c64bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Summary:	gpsdrive - a GPS based navigation tool
Summary(pl.UTF-8):	gpsdrive - narzędzie do nawigacji oparte o GPS
Name:		gpsdrive
Version:	2.09
Release:	2
License:	GPL
Vendor:		Fritz Ganter <ganter@ganter.at>
Group:		Applications/Communications
Source0:	http://gpsdrive.kraftvoll.at/%{name}-%{version}.tar.gz
# Source0-md5:	eaa52cb220f3d10312a1046dd47126bb
Patch0:		%{name}-locale.patch
URL:		http://www.gpsdrive.cc/
BuildRequires:	gdk-pixbuf-devel
BuildRequires:	gtk+2-devel >= 1:2.0.6
BuildRequires:	libstdc++-devel
BuildRequires:	pkgconfig
BuildRequires:	python-pygtk-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Gpsdrive is a map-based navigation system. It displays your position
on a zoomable map provided from a NMEA-capable GPS receiver. The maps
are autoselected for the best resolution, depending of your position,
and the displayed image can be zoomed. Maps can be downloaded from the
Internet with one mouse click. The program provides information about
speed, direction, bearing, arrival time, actual position, and target
position. Speech output is also available. MySQL is supported. See
http://gpsdrive.kraftvoll.at for new releases.

%description -l pl.UTF-8
Gpsdrive jest bazującym na mapie systemem nawigacyjnym. Wyświetla
pozycje podawaną przez odbiornik GPS z obsługą NMEA na skalowalnej
mapie. Mapy są automatycznie dobierane dla uzyskania najlepszej
rozdzielczości w zależności od pozycji, a wyświetlany obraz można
zbliżać. Pobieranie map z Internetu odbywa się jednym kliknięciem
myszy. Program informuje o prędkości, kierunku, azymucie, czasie
przybycia, aktualnej pozycji i pozycji punktu docelowego. Dostępna
jest także informacja głosowa. Obsługiwany jest MySQL.
Sprawdź na http://gpsdrive.kraftvoll.at czy jest nowsza wersja.

%prep
%setup -q
%patch0 -p1

mv -f po/{gr,el}.po

%build
cp -f /usr/share/automake/config.sub .
%configure

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post	-p /sbin/ldconfig
%postun	-p /sbin/ldconfig

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc GPS-receivers AUTHORS TODO README README.gpspoint2gspdrive FAQ.gpsdrive README.SQL create.sql NMEA.txt wp2sql README.kismet README.nasamaps
%lang(es) %doc LEEME
%lang(fr) %doc LISEZMOI LISEZMOI.kismet LISEZMOI.SQL FAQ.gpsdrive.fr

%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%dir %{_datadir}/gpsdrive
%{_datadir}/gpsdrive/*.png
%{_datadir}/gpsdrive/*.gif
%{_datadir}/gpsdrive/*.jpg
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png

%{_mandir}/man1/gpsdrive.1*
%lang(de) %{_mandir}/de/man1/gpsdrive.1*
%lang(es) %{_mandir}/es/man1/gpsdrive.1*