Accepting request 794991 from home:adkorte
- Update to version 3.20 * Change README into an asciidoc file and publish HTML from it * Add NED and geoid_sep to gps_fix_t and TPV JSON. * Add "-e NED" to ubxtool to enable NED messages. * gpsdata.separation replaced by gpsdata.fix.geoid_sep. * Remove nofloats build option. * TPV JSON "alt" is now fixed at WGS84. Probably. * xgps now uses XGPSOPTS environment variable. * add health variable to satellite_t * change satellite_t elevation and azimuth to double * satellite_t elevation, azimuth, and ss use NAN for unknown value. * add altMSL, altHAE, and depth, to gps_fix_t * altitude in gps_fix_t is deprecated and undefined * wgs84_separation() now return EGM2008 computed from 5x5 degree base data. * The best results are close to cm, the worst off up to 12m. * Move mag_var from gps_device_t to magnetic_var gps_data_t. * Added mag_var() to interpolate magnetic variation (deviation) from a table. * Remove true2magnetic() as mag_var() improves on it. * Remove TIMEHINT_ENABLE. It only worked when enabled. * Remove NTP_ENABLE and NTPSHM_ENABLE. It only worked when enabled. * Remove PPS_ENABLE and TIMING_ENABLE. * Add dgps_age and dgps_station to gps_fix_t * Convert all timestamp_t to timespec_t. * Remove FIXED_PORT_SPEED and FIXED_STOP_BITS build options. * Add -s [speed] and -f [framing] runtime options to gpsd. * A working CC and termios.h are mandatory. * use the current leap second to determine the current GPS epoch. * leapfetch.py, leapseconds.cache, timebase.h and leapfetch option gone. - Remove 0001-Make-sure-Qgpsmm.pc-is-usable.patch (upstreamed) - Fix legacy socket path OBS-URL: https://build.opensuse.org/request/show/794991 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=132
This commit is contained in:
committed by
Git OBS Bridge
parent
3c286260bb
commit
7af9494fb4
15
gpsd.spec
15
gpsd.spec
@@ -22,7 +22,7 @@
|
||||
%define _udevdir %(pkg-config --variable udevdir udev)
|
||||
%bcond_without python2
|
||||
Name: gpsd
|
||||
Version: 3.19
|
||||
Version: 3.20
|
||||
Release: 0
|
||||
Summary: Service daemon for mediating access to a GPS
|
||||
License: BSD-3-Clause
|
||||
@@ -34,8 +34,6 @@ Source2: udev.gpsd
|
||||
Source3: sysconfig.gpsd
|
||||
Source98: https://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz.sig
|
||||
Source99: %{name}.keyring
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Source100: 0001-Make-sure-Qgpsmm.pc-is-usable.patch
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -55,6 +53,7 @@ BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(bluez)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
%if %{with python2}
|
||||
BuildRequires: pkgconfig(python2)
|
||||
@@ -165,12 +164,6 @@ mkdir -p %{name}-%{version}/python2
|
||||
mkdir -p %{name}-%{version}/python3
|
||||
tar -xf %{SOURCE0} -C %{name}-%{version}/python2
|
||||
tar -xf %{SOURCE0} -C %{name}-%{version}/python3
|
||||
pushd %{name}-%{version}/python2/%{name}-%{version}
|
||||
patch -p1 < %{SOURCE100}
|
||||
popd
|
||||
pushd %{name}-%{version}/python3/%{name}-%{version}
|
||||
patch -p1 < %{SOURCE100}
|
||||
popd
|
||||
cd %{name}-%{version}
|
||||
|
||||
# fix systemd path
|
||||
@@ -185,6 +178,9 @@ sed -i 's|env.Prepend.*RPATH.*|pass #\0|' python*/%{name}-%{version}/SConstruct
|
||||
# fix gpsd path
|
||||
sed -i 's|ExecStart=.*/gpsd|ExecStart=%{_sbindir}/gpsd|' python*/%{name}-%{version}/systemd/gpsd.service
|
||||
|
||||
# fix socket path
|
||||
sed -i 's|ListenStream=/var/run/gpsd.sock|ListenStream=/run/gpsd.sock|' python*/%{name}-%{version}/systemd/gpsd.socket
|
||||
|
||||
%build
|
||||
# The SCons description does not handle CXXFLAGS correctly, pass C++ flags also in CFLAGS
|
||||
export CFLAGS="%{optflags}"
|
||||
@@ -296,7 +292,6 @@ sed -i -e 's#Icon=.*/\([^/]\+\)\(\..\+\)#Icon=\1#' %{buildroot}%{_datadir}/appli
|
||||
|
||||
%files
|
||||
%license %{name}-%{version}/python3/%{name}-%{version}/COPYING
|
||||
%doc %{name}-%{version}/python3/%{name}-%{version}/README
|
||||
%{_mandir}/man?/gpsd.*
|
||||
%{_mandir}/man?/gpsdctl.*
|
||||
%{_mandir}/man?/gpsctl.*
|
||||
|
Reference in New Issue
Block a user