Accepting request 209960 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/209960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpsd?expand=0&rev=32
This commit is contained in:
Stephan Kulow 2013-12-11 10:28:19 +00:00 committed by Git OBS Bridge
commit defc960d15
5 changed files with 49 additions and 101 deletions

3
gpsd-3.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:706fc2c1cf3dfbf87c941f543381bccc9c4dc9f8240eec407dcbf2f70b854320
size 1566622

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b17143bcbb318147a807ece52045b618b6a1d37aab254f3db0d9fac72952e99d
size 1183060

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Dec 9 12:11:26 UTC 2013 - opensuse@dstoecker.de
- update to version 3.10
AIS: Adds gps2udp, an AIS data relay, split24 option supports
passing through Type 24 halves; support for Inland AIS; "scaled" no
longer controls dumping of controlled-vocabulary fields; instead,
the're always dumped numerically and as text, with text in an
attribute name generated by appending "_text" to the name of the
base attribute. The packetizer's handling of write boundaries not
coinciding with packet boundaries is improved. Better support for
mode and speed switching in the UBX driver. PPS message now ships
nsec. PPS events are visible in gpsmon. Time-reporting fix to TSIP.
-------------------------------------------------------------------
Wed Nov 20 13:19:27 UTC 2013 - suse@bugs.jan.ritzerfeld.org
- Fixed typo in udev rule (bnc#848936)
-------------------------------------------------------------------
Mon Oct 28 13:56:07 UTC 2013 - p.drouand@gmail.com
- Update to version 3.9
+ Note to packagers: this is an urgent release that fixes a possible
DoS or security hole! Armor the AIS driver against an implausible
overrun attack. A (different) fix for our first malformed-packet
crash since about 2007. Minor improvements to the NMEA2000
driver. New FAQ entry on how to know WAAS/EGNOS is working.
+ New -u and -uu options enable usec timestamps on gpspipe output.
For more please read usr/share/doc/packages/gpsd/NEWS
- Clean specfile and remove AUTHORS section
-------------------------------------------------------------------
Wed Oct 17 11:48:10 UTC 2012 - fcrozat@suse.com

110
gpsd.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package gpsd
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@ -27,14 +27,16 @@ Summary: Service daemon for mediating access to a GPS
License: BSD-3-Clause
Group: Hardware/Other
Url: http://www.catb.org/gpsd/
Version: 3.5
Version: 3.10
Release: 0
%define libgps libgps20
%define libQgps libQgpsmm20
%define libgps libgps21
%define libQgps libQgpsmm21
Requires: udev
PreReq: coreutils %fillup_prereq
Requires(pre): coreutils %fillup_prereq
BuildRequires: bluez-devel
BuildRequires: chrpath
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libcap-devel
BuildRequires: libqt4-devel >= 4.5.3
@ -47,11 +49,7 @@ BuildRequires: update-desktop-files
BuildRequires: xmlto
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-libXpm-devel
%if 0%{?suse_version} > 1020
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
%endif
Source: %{name}-%{version}.tar.bz2
Source: http://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
Source1: rules.gpsd
Source2: udev.gpsd
Source3: sysconfig.gpsd
@ -60,11 +58,6 @@ Source5: xgps.desktop
Source6: xgpsspeed.desktop
Patch0: gpsd-fix-shebang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1110
%else
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
%description
gpsd is a service daemon that mediates access to a GPS sensor connected
@ -84,20 +77,6 @@ The daemon will be quiescent when there are no clients asking for
location information, and copes gracefully when the GPS is unplugged
and replugged.
Authors:
--------
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>
%package devel
Summary: Client libraries in C and Python for talking to a running gpsd or GPS
Group: Development/Libraries/C and C++
@ -112,19 +91,6 @@ manage access to a GPS for applications and debugging tools. You will
need to have gpsd installed for it to work.
Authors:
--------
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>
%package -n %libgps
Summary: Shared library for GPS applications
Group: Development/Libraries/Python
@ -133,18 +99,6 @@ Group: Development/Libraries/Python
This package provides the shared library for gpsd and other GPS aware
applications.
Authors:
--------
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>
%package -n %libQgps
Summary: Shared Qt library for GPS applications
@ -154,17 +108,6 @@ Group: Development/Libraries/Python
This package provides the shared Qt library for gpsd and other GPS aware
applications.
Authors:
--------
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>
%package -n python-gpsd
@ -177,17 +120,6 @@ Requires: %name = %version
This package provides python modules and tools for the gpsd shared libraries.
You will need to have gpsd installed for it to work.
Authors:
--------
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>
%package clients
Summary: Clients for gpsd with an X interface
@ -207,20 +139,6 @@ option to dump the package version and exit. Additionally, it accepts
cgps resembles xgps, but without the pictorial satellite display. It
can run on a serial terminal or terminal emulator.
Authors:
--------
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
Gary E. Miller <gem@rellim.com>
Jeff Francis <jeff@gritch.org>
Amaury Jacquot <sxpert@esitcom.org>
Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi>
%prep
%setup -q
%patch0 -p1
@ -248,14 +166,9 @@ install -m 644 %{SOURCE6} %{buildroot}%{_datadir}/applications/
%suse_update_desktop_file xgpsspeed
%suse_update_desktop_file xgps
# save some space, create symlinks
%if 0%{?suse_version} > 1020
%fdupes -s %buildroot
%endif
chrpath -r %{_libdir} %{buildroot}%{python_sitearch}/gps/*.so
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
%fillup_only -n gpsd
@ -272,10 +185,11 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README INSTALL COPYING gpsd.php
%doc README COPYING gpsd.php
%{_mandir}/man?/gpsd.*
%{_mandir}/man?/gpsdctl.*
%{_mandir}/man?/gpsctl.*
%{_mandir}/man?/gpsinit.*
%{_udevdir}/gpsd.sh
%{_udevdir}/rules.d/*
%{_sbindir}/gpsd
@ -294,7 +208,7 @@ rm -rf %{buildroot}
%files devel
%defattr(-,root,root)
%doc README INSTALL COPYING TODO
%doc README COPYING TODO
%{_mandir}/man?/gpsfake.*
%{_mandir}/man?/gpscat.*
%{_mandir}/man?/libQgps*.*
@ -330,6 +244,7 @@ rm -rf %{buildroot}
%{_mandir}/man?/xgpsspeed.*
%{_mandir}/man?/gpspipe.*
%{_mandir}/man?/gpsmon.*
%{_mandir}/man?/gps2udp.*
%{_bindir}/gegps
%{_bindir}/xgps
%{_bindir}/xgpsspeed
@ -337,6 +252,7 @@ rm -rf %{buildroot}
%{_bindir}/lcdgps
%{_bindir}/gpsmon
%{_bindir}/gpspipe
%{_bindir}/gps2udp
%if 0%{?suse_version} > 1020
%{_bindir}/gpxlogger
%endif

View File

@ -1,6 +1,6 @@
SUBSYSTEM != "tty", GOTO="gpsd_end"
ACTION != "remove, GOTO="gpsd_add"
ACTION != "remove", GOTO="gpsd_add"
KERNEL=="ttyUSB*", RUN="gpsd.sh"
LABEL="gpsd_add"