Accepting request 205018 from home:posophe:branches:Application:Geo

Update + cleanup

OBS-URL: https://build.opensuse.org/request/show/205018
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=77
This commit is contained in:
Sascha Peilicke 2013-10-29 08:38:39 +00:00 committed by Git OBS Bridge
parent a81f236cb2
commit 28dca63ca6
4 changed files with 23 additions and 96 deletions

View File

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

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
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

100
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,12 +27,12 @@ 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.9
Release: 0
%define libgps libgps20
%define libQgps libQgpsmm20
Requires: udev
PreReq: coreutils %fillup_prereq
Requires(pre): coreutils %fillup_prereq
BuildRequires: bluez-devel
BuildRequires: chrpath
BuildRequires: gcc-c++
@ -47,11 +47,9 @@ 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*.*