# # # %define realversion 2.10pre3 Summary: gpsdrive is a GPS based navigation tool Name: gpsdrive Version: 2.10 Release: 0mg.pre3%{?dist} License: GPL Group: Tools Source: %{name}-%{realversion}-cvs-version.tar.gz BuildRoot: %{_tmppath}/%{name}-root BuildRequires: gtk2-devel, libart_lgpl-devel, glib2-devel, pcre-devel %define _prefix /usr %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://www.gpsdrive.cc for new releases. %prep %setup -n %{name}-%{realversion} %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install-strip mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/ cp -p $RPM_BUILD_ROOT%{_prefix}/share/gpsdrive/pixmaps/gpsicon.png $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/ # yuck. rm -rf $RPM_BUILD_ROOT%{_prefix}/share/gpsdrive/Documentation/ \ $RPM_BUILD_ROOT%{_prefix}/share/gpsdrive/depcomp \ $RPM_BUILD_ROOT%{_prefix}/share/gpsdrive/icons.txt %clean if [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ]; then rm -rf $RPM_BUILD_ROOT fi rm -rf %{_builddir}/%{name}-%{version} %files %defattr (-,root,root) %doc Documentation/GPS-receivers INSTALL AUTHORS COPYING Documentation/TODO README Documentation/README.gpspoint2gspdrive Documentation/FAQ.gpsdrive Documentation/README.SQL scripts/create.sql Documentation/NMEA.txt scripts/wp2sql Documentation/README.kismet %doc %{_mandir}/de/man1/gpsdrive.1.gz %doc %{_mandir}/es/man1/gpsdrive.1.gz %doc %{_mandir}/man1/gpsdrive.1.gz %{_libdir}/* %{_bindir}/* %{_prefix}/share/gpsdrive/ %{_prefix}/share/locale/*/LC_MESSAGES/* %{_datadir}/applications/gpsdrive.desktop %{_prefix}/share/pixmaps/gpsicon.png %changelog * Fri Apr 14 2006 Jima 2.10-0mg.pre3 - Added dist tag - Cleaned up RPM. A LOT. * Mon Jun 14 2004 Jima 2.09-2mg - Rebuilt SRPM to enable signatures - Created changelog section