Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
garmintools
garmintools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File garmintools.spec of Package garmintools
# # spec file for package garmintools # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libgarmintoolsmajor 4 %define libgarmintoolsversion %{libgarmintoolsmajor}.2.0 Name: garmintools Version: 0.10 Release: 1 License: GPL Summary: A Linux interface to the Garmin Forerunner GPS units Url: http://code.google.com/p/garmintools/ Group: Hardware/Other Source0: %{name}-%{version}.tar.bz2 #Source0: http://garmintools.googlecode.com/files/garmintools-0.10.tar.gz Source1: 51-garmin.rules Source2: 00-garmintools.conf BuildRequires: gcc BuildRequires: libusb-devel BuildRequires: sysconfig BuildRequires: udev Requires: libgarmintools%{libgarmintoolsmajor} = %{libgarmintoolsversion} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This software provides Linux users with the ability to communicate with the Garmin Forerunner 305 via the USB interface. While this is the only Garmin unit that I own, I did implement all of the documented Garmin protocols as of Rev C (May 19, 2006) over the USB physical link. This means that if you have a Garmin with a USB connection to a PC, you ought to be able to use this software to communicate with it. If you're looking for a complete solution to all of your Linux Garmin GPS needs, this is not it. I own a Garmin Forerunner 305 and wrote this code specifically so I could download and save data from that particular GPS unit to my Linux machine. I tried gpsbabel, but found that it did not have command line options specific to the Forerunner run and lap data - all I could do was get the tracklog. That's how all of this got started. I also wanted a few other things, like the ability to convert a track log into a Google maps encoded polyline, and (eventually) the ability to generate PNG images of heart rate and elevation data. %package -n libgarmintools%{libgarmintoolsmajor} Version: %{libgarmintoolsversion} Summary: Garmin runtime libraries Group: Hardware/Other %description -n libgarmintools%{libgarmintoolsmajor} Contains the runtime libraries for the main package %package -n libgarmintools%{libgarmintoolsmajor}-devel Version: %{libgarmintoolsversion} Summary: Garmin development libraries Group: Development/Libraries/Other Requires: libgarmintools%{libgarmintoolsmajor} = %{libgarmintoolsversion} %description -n libgarmintools%{libgarmintoolsmajor}-devel Contains the development libraries for the main package %prep %setup -q %build %configure --disable-static %install make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_sysconfdir}/{udev/rules.d/,modprobe.d} cp %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d/ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/modprobe.d/ rm -f %{buildroot}%{_libdir}/libgarmintools.la %post # remove garmin_gps module if loaded rmmod garmin_gps &>/dev/null || true %post -n libgarmintools%{libgarmintoolsmajor} ldconfig %postun -n libgarmintools%{libgarmintoolsmajor} ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_bindir}/* %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/udev/rules.d/* %config(noreplace) %{_sysconfdir}/modprobe.d/* %files -n libgarmintools%{libgarmintoolsmajor} %defattr(-,root,root,-) %{_libdir}/libgarmintools.so.%{libgarmintoolsmajor} %{_libdir}/libgarmintools.so.%{libgarmintoolsversion} %files -n libgarmintools%{libgarmintoolsmajor}-devel %defattr(-,root,root,-) %{_libdir}/libgarmintools.so %{_includedir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor