File mtkbabel.spec of Package mtkbabel
#
# spec file for package mtkbabel
#
# Copyright (c) 2017 SUSE LINUX 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: mtkbabel
Version: 0.8.3.1
Release: 0
Summary: Program to Operate the i-Blue 747 GPS Data Logger
License: GPL-2.0+
Group: Hardware/Mobile
URL: http://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/gps_logger_i_blue_747
Source: http://downloads.sourceforge.net/project/mtkbabel/mtkbabel/%{version}/mtkbabel-%{version}.tar.gz
BuildRequires: perl
Requires: perl-Device-SerialPort
Requires: perl-TimeDate
Requires: perl-base
BuildArch: noarch
%{perl_requires}
%description
MTKBabel is a Perl program to operate the i-Blue 747 GPS data logger.
It should work also with other GPS devices based on the MediaTek MTK
chipset.
The main capabilities are:
* Command line interface
* Save data log in GPX and raw binary format
* If required retrieve all the data, also the old one being overlapped
* Change logging criteria: time, distance, speed
* Change log format
* START/STOP logging
* Set OVERLAP or STOP method on memory full
* Erase the internal memory
The program is written in Perl, and it was tested on Linux via USB
connection. One goal is easy portability to C and small RAM footprint.
%prep
%setup -q -n %{version}
%build
%install
install -Dpm 0755 mtkbabel \
%{buildroot}%{_bindir}/mtkbabel
install -Dpm 0644 mtkbabel.1 \
%{buildroot}%{_mandir}/man1/mtkbabel.1
%files
%doc MtkExtensionsv1.xsd README changelog copyright
%{_bindir}/mtkbabel
%{_mandir}/man1/mtkbabel.1%{ext_man}
%changelog