Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 11eb26aa3f99accef0050076f0da9c1e > files > 2

gpsutil-0.10-2mdk.src.rpm

%define name	gpsutil
%define version	0.10
%define release 2mdk

Name: 	 	%{name}
Summary: 	Transfers data to/from a Magellan or NMEA-compliant GPS
Version: 	%{version}
Release: 	%{release}

Source:		%{name}-%{version}.tar.bz2
URL:		http://www.cs.uakron.edu/~hennings/gpsutil/
License:	GPL
Group:		Communications
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
GPSUTIL is a program to communicate with a GPS unit. It supports several NMEA
(National Marine Electronics Association) v2.1 messages. GPSUTIL also supports
downloading, uploading, and deleting waypoints from a Magellan GPS.

Currently supported NMEA messages:
GLL - Current latitude and longitude
RMB - Information about current waypoint destination
RMC - Speed (in knots) and current heading

%prep
%setup -q -n %name
rm -f %name

%build
%make CC="gcc $RPM_OPT_FLAGS"
										
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%_bindir
cp %name $RPM_BUILD_ROOT/%_bindir

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc readme todo changelog example.wpts license.txt
%{_bindir}/%name

%changelog
* Sat Jul 17 2004 Austin Acton <austin@mandrake.org> 0.10-2mdk
- rebuild

* Fri May 23 2003 Austin Acton <aacton@yorku.ca> 0.10-1mdk
- initial package