File gpsbabel.spec of Package gpsbabel

#
# spec file for package gpsbabel (Version 1.3.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           gpsbabel
Url:            http://www.gpsbabel.org/
Version:        1.3.5
Release:        1
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Hardware/Other
Summary:        Converts GPS waypoint, route and track data from one format type to another
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-%{version}.pdf
Patch1:         gpsbabel-1.3.4-docbook.patch
Patch2:         gpsbabel-wsg1000.patch
Patch3:         gpsbabel-configure.patch
Patch4:         gpsbabel-1.3.5-link-clash.patch
BuildRequires:  libexpat-devel libusb-devel zlib-devel
#only for rebuilding documentation
#BuildRequires: expat libxslt docbook-xsl-stylesheets fop

%description
GPSBabel converts waypoints, tracks, and routes from one format to
another, whether that format is a common mapping format like Delorme,
Streets and Trips, or even a serial upload or download to a GPS unit
such as those from Garmin and Magellan. By flattening the Tower of
Babel that the authors of various programs for manipulating GPS data
have imposed upon us, it returns to us the ability to freely move our
own waypoint data between the programs and hardware we choose to use.

It contains extensive data manipulation abilities making it a
convenient for server-side processing or as the backend for other
tools.

It does not convert, transfer, send, or manipulate maps. We process
data that may (or may not be) placed on a map, such as waypoints,
tracks, and routes.



Authors:
--------
    Robert Lipe <robertlipe@usa.net>               
    Alex Mottram <geo_alexm@cox-internet.com>
    Olaf Klein <o.b.klein@t-online.de>
    Ronald L. Parker <ron@parkrrrr.com>
    
    and many others, see AUTHORS file

%prep
%setup
%patch1
%patch2
%patch3
%patch4

%build
autoreconf -f -i
%configure\
	--with-zlib=system
make
#only for rebuilding documentation
#make doc
cp %{S:1} .

%install
find . -name .cvsignore -exec rm -f {} \;
mkdir -p $RPM_BUILD_ROOT/usr/bin
make DESTDIR="$RPM_BUILD_ROOT" install

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README* contrib %{name}-%{version}.pdf
%{_bindir}/gpsbabel

%changelog
* Sat Sep 20 2008 sndirsch@suse.de
- picked up gpsbabel package from external buildservice
  (project Application:Geo); reviewed changes of
  gpsbabel-1.3.4-docbook.patch and new patch
  gpsbabel-1.3.5-link-clash.patch; verified that new source tarball
  has not been modified and pdf documentation has been updated to
  release 1.3.5
* Wed Aug 13 2008 utx@penguin.cz
- Updated to version 1.3.5:
  * new formats: GlobalSat DG-100, Navilink GPS support, MTK Data
  Logger, Nokia LMX, Swiss Map 50 xol, NMEA GISTeq strain.
  * new features: Garmin HC supported, Garmin GPI proximity alerts,
  Lowrance waypoint comments, VCF coords in ADR for iPhone,
  timestamps in KML Placemarks, Opencaching.de GPX, TomTom
  geocaching, KML writer for geocaches rewritten, KML track/route
  writer direction of motion, GPX and CSV Geocache
  archive/availability, discard filter support for minimum number
  of satellites.
  * fixes: Google Maps reader, longitude and latitude in tomtom_in,
  Garmin GDB Category option, timestamps on xcsv formats,
  realtime KML GPS jitter suppress, GPX links handled in tracks
  and routes.
* Fri Jun 27 2008 schwab@suse.de
- Fix configure script.
* Sun May 04 2008 aj@suse.de
- Add patch to support Wintec WSG1000.
* Mon Aug 20 2007 nadvornik@suse.cz
- installed documentation in pdf format [#301831]
* Tue Aug 07 2007 nadvornik@suse.cz
- updated to 1.3.4:
  * new or improved formats:
  Earthcaches and Events now included in Garmin -Sn handlers.
  GDB Version 3 (as in latest Mapsource beta) now supported.
  New Garmin icons added. More closely tracks official names.
  Adds support for reading Streets & Trips 2007 .est files.
  GPX now handles millisecond time resolution.
  Google Earth KML writer now uses Earth 2.1 XSD; all output validates.
  Kompass DAV files now supported.
  DATUM now available in XCSV formats.
  CoPilot updated.
  Raymarine added.
  PCX reader now handles more files from GPSUtil.
  Tabsep format how processes 'hint' and 'last found' on geocaches.
  Vitovtt tracks
  NMEA and XSV realtime tracking output.
  EADS Geogrid Viewer.
  G7towin .g7t.
  TomTom POI ascii files.
  Garmin POI gpi files.
  Multiple URL support in GDB and GPX.
  Microsecond resolution in many formats.
  Enhancements to KML output for Google Earth.
  Support for WBT 201.
  Enhance NMEA reader to handle Sony GPS and GISTeq
  Many enhancements to Unicsv format.
  * GPS support:
  AVMAP EKP-IV support added in NMEA module.
  Sony GPS1 now supported in NMEA module.
  Alan Map 500 and Holux GM101 are now supported.
  Zumo 450, Nuvi 670, Nuvi 680, Nuvi 370, StreetPilot C580, and Astro supported.
  Sirf GPSes (such as Microsoft's rebranded unti) now supported by NMEA realtime tracking mode.
  * replaced coldsync code
* Wed May 16 2007 olh@suse.de
- Buildrequires libusb -> libusb-devel
* Sat Apr 28 2007 aj@suse.de
- Add libexpat-devel to BuildRequires.
* Fri Mar 30 2007 ro@suse.de
- added zlib-devel to buildreq
* Mon Nov 13 2006 nadvornik@suse.cz
- removed code from coldsync subdirectory, due to possible license
  incompatibility; build with --enable-pdb=no [#217379]
- added fix for tracklog interpolation
* Fri Oct 20 2006 nadvornik@suse.cz
- new package, version 1.3.1
openSUSE Build Service is sponsored by