[packages/gpsd] - BRs to enable building of all python components; release 2
qboosh
qboosh at pld-linux.org
Sat Mar 28 20:55:32 CET 2020
commit 082170ccc61570bc6380d3e83261f7a7ea5f0e5c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 28 20:56:46 2020 +0100
- BRs to enable building of all python components; release 2
gpsd.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/gpsd.spec b/gpsd.spec
index 67dcc05..675a2db 100644
--- a/gpsd.spec
+++ b/gpsd.spec
@@ -10,7 +10,7 @@ Summary: Service daemon for mediating access to a GPS
Summary(pl.UTF-8): Oprogramowanie komunikujące się z GPS-em
Name: gpsd
Version: 3.20
-Release: 1
+Release: 2
License: BSD
Group: Daemons
Source0: http://download.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.xz
@@ -32,6 +32,9 @@ BuildRequires: libxslt-progs
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: python-devel >= 1:2.6
+BuildRequires: python-pycairo
+BuildRequires: python-pygobject3 >= 3.0
+BuildRequires: python-serial
BuildRequires: rpm-pythonprov
BuildRequires: scons >= 2.3.0
BuildRequires: sed >= 4.0
@@ -167,6 +170,8 @@ Summary: Python GPSd client library
Summary(pl.UTF-8): Biblioteka kliencka GPSd dla Pythona
Group: Libraries/Python
Requires: %{name}-libs = %{version}-%{release}
+# used by ubxtool and zerk
+Requires: python-serial
%description -n python-gps
GPSd client library for Python.
@@ -225,6 +230,8 @@ xgpsspeed to prędkościomierz używający informacji o położeniu z GPS-a.
%patch1 -p1
%{__sed} -i -e 's,/usr/local/sbin,%{_sbindir},' systemd/*.service
+
+# invoke python directly
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' \
gegps gpscat gpsfake gpsprof ubxtool xgps xgpsspeed zerk
@@ -256,10 +263,6 @@ DESTDIR=$RPM_BUILD_ROOT \
# kill -L/usr/lib* from qt Libs
%{__sed} -i -e 's,-L/[^ ]* *,,' $RPM_BUILD_ROOT%{_pkgconfigdir}/Qgpsmm.pc
-# invoke python directly
-%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' \
- $RPM_BUILD_ROOT%{_bindir}/{gegps,gpscat,gpsfake,gpsprof,ubxtool,xgps,xgpsspeed,zerk}
-
# omitted from make install
install gpsinit $RPM_BUILD_ROOT%{_sbindir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gpsd.git/commitdiff/082170ccc61570bc6380d3e83261f7a7ea5f0e5c
More information about the pld-cvs-commit
mailing list