From d00f0ee47b4f79ecd93cfad8f3b1b8e1d2e08422 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:23:14 +0100 Subject: [PATCH] automatic version update by autodist [release 3.21-1mamba;Fri Aug 14 2020] --- gpsd.spec | 78 ++++++++++++++++++++++++++----------------------------- 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/gpsd.spec b/gpsd.spec index 1b893db..9beddcf 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -1,5 +1,5 @@ Name: gpsd -Version: 3.18.1 +Version: 3.21 Release: 1mamba Summary: A service daemon that monitors one or more GPSes attached to a host computer Group: Graphical Desktop/Applications/Utilities @@ -11,28 +11,16 @@ Source: http://download-mirror.savannah.gnu.org/releases/gpsd/gpsd-%{vers Patch0: gpsd-3.7-rpath.patch ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libexpat-devel -BuildRequires: libfontconfig-devel -BuildRequires: libfreetype-devel +BuildRequires: ldconfig +BuildRequires: libbluetooth-devel +BuildRequires: libdbus-devel +BuildRequires: libgcc BuildRequires: libncurses-devel +BuildRequires: libnsl-devel BuildRequires: libpython-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel -%if "%{stage1}" != "1" -BuildRequires: libICE-devel -BuildRequires: liblesstif-devel -BuildRequires: libSM-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libXaw-devel -BuildRequires: libxcb-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXext-devel -BuildRequires: libXft-devel -BuildRequires: libXp-devel -BuildRequires: libXrender-devel -BuildRequires: libXt-devel -%endif -BuildRequires: libz-devel +BuildRequires: libusb-devel ## AUTOBUILDREQ-END License: GPL Requires: libgps = %{?epoch:%epoch:}%{version}-%{release} @@ -81,17 +69,21 @@ Requires: libgps-qt = %{?epoch:%epoch:}%{version}-%{release} gpsd is a service daemon that monitors one or more GPSes attached to a host computer through serial or USB ports, making all data on the location/course/velocity of the sensors available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and wardriving software) can share access to GPSes without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the NMEA 0183 emitted by most GPSes. The gpsd distribution includes a linkable C service library, a C++ wrapper class, and a Python module that developers of gpsd-aware applications can use to encapsulate all communication with gpsd. This package contains the QT binding library for libgps. +#% debug_package + %prep %setup -q #%patch0 -p1 +find -name "*.py" | while read line; do sed -i "s|env python$|env python3|" $line; done %build -scons prefix=%{_prefix} libdir=%{_lib} python_libdir=%{python_sitelib} - -#% configure -#%if "%{_build}" != "%{_host}" -#sed -i "s|-I%{_includedir}|-I%{_prefix}/%{_host}/include|" Makefile -#%endif +scons \ + prefix=%{_prefix} \ + libdir=%{_lib} \ + target_python=%{__python3} \ + python_shebang="/usr/bin/env python3" \ + python_libdir=%{python3_sitelib} \ + qt_versioned=5 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -106,33 +98,28 @@ scons install prefix=%{_prefix} libdir=%{_lib} %{_bindir}/* %{_sbindir}/gpsd %{_sbindir}/gpsdctl -%if "%{_build}" == "%{_host}" -#%{python_sitearch}/gps* -%else -#%exclude %{python_sitearch}/gps* -%endif +%dir %{_datadir}/gpsd +%dir %{_datadir}/gpsd/icons +%{_datadir}/gpsd/icons/gpsd-logo.png +%dir %{_datadir}/gpsd/doc +%{_datadir}/gpsd/doc/* %{_mandir}/man1/* %{_mandir}/man8/* %files -n libgps %defattr(-,root,root) %{_libdir}/libgps.so.* -#%{_libdir}/libgpsd.so.* -%{python27_sitelib}/gps-*.egg-info -%dir %{python27_sitelib}/gps* -%{python27_sitelib}/gps/* +%{_libdir}/libgpsdpacket.so.* +%{python3_sitelib}/gps-*.egg-info +%dir %{python3_sitelib}/gps* +%{python3_sitelib}/gps/* %files -n libgps-devel %defattr(-,root,root) %{_includedir}/*.h -#%{_libdir}/libgps.a -#%{_libdir}/libgps.la %{_libdir}/libgps.so -#%{_libdir}/libgpsd.a -#%{_libdir}/libgpsd.la -#%{_libdir}/libgpsd.so +%{_libdir}/libgpsdpacket.so %{_libdir}/pkgconfig/libgps.pc -#%{_libdir}/pkgconfig/libgpsd.pc %{_mandir}/man3/* %{_mandir}/man5/* @@ -147,6 +134,15 @@ scons install prefix=%{_prefix} libdir=%{_lib} %{_libdir}/pkgconfig/Qgpsmm.pc %changelog +* Fri Aug 14 2020 Automatic Build System 3.21-1mamba +- automatic version update by autodist + +* Sat Jan 04 2020 Automatic Build System 3.20-1mamba +- automatic version update by autodist + +* Sat Jul 20 2019 Automatic Build System 3.19-1mamba +- automatic version update by autodist + * Sun Nov 04 2018 Automatic Build System 3.18.1-1mamba - automatic version update by autodist