File gpsman.spec of Package gpsman

Summary: GPS manager
Name: gpsman
Version: 6.4.1
Release: 1
License: GPL
Group: Applications/GIS
BuildArch: noarch
URL: http://www.ncc.up.pt/gpsman/
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
GPS Manager (GPSMan) is a graphical manager of GPS data that makes
possible the preparation, inspection and edition of GPS data in a
friendly environment. GPSMan supports communication and real-time
logging with both Garmin, Lowrance and Magellan receivers and accepts
real-time logging information in NMEA 0183 from any GPS
receiver. GPSMan can also be used in command mode (with no graphical
interface)

%prep
%setup -q

%build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/share/gpsman/gmicons
mkdir -p $RPM_BUILD_ROOT%{_bindir}
sed -e 's:set SRCDIR gmsrc:set SRCDIR /usr/share/gpsman:' <gpsman.tcl >$RPM_BUILD_ROOT/usr/share/gpsman/gpsman.tcl
chmod 755 $RPM_BUILD_ROOT/usr/share/gpsman/gpsman.tcl
(cd $RPM_BUILD_ROOT%{_bindir}; ln -s /usr/share/gpsman/gpsman.tcl gpsman)
cd gmsrc
install -c *.tcl $RPM_BUILD_ROOT/usr/share/gpsman
cd gmicons
install -c * $RPM_BUILD_ROOT/usr/share/gpsman/gmicons

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc LICENSE
/usr/share/gpsman
%{_bindir}/gpsman

%changelog
* Mon Jul 19 2010 Dirk Stöcker <opensuse@dstoecker.de> 6.4.1
- updated to 6.4.1
* Mon Jun 1 2008 Tim Fischer <dg7gt@online.de> 6.3.2
- updated to 6.3.2
* Sat Dec 16 2006 Tim Fischer <dg7gt@online.de>
- Built for openSUSE 10.2
* Wed Dec 03 2003 Torbjorn Turpeinen <tobbe@nyvalls.se> 6.0.1-1thac
- Built for Mandrake 9.2


openSUSE Build Service is sponsored by