Accepting request 547281 from home:mimi_vx:branches:Application:Geo
remove qt devel subpackage OBS-URL: https://build.opensuse.org/request/show/547281 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=116
This commit is contained in:
parent
514617b0cd
commit
b5817e759b
@ -3,7 +3,6 @@ Fri Dec 1 15:05:22 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
- build with Qt5
|
||||
- refreshed gpsd-python3.patch
|
||||
- Qt5 bindings in own subpackage (include own -devel)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 10:40:51 UTC 2017 - mimi.vx@gmail.com
|
||||
|
20
gpsd.spec
20
gpsd.spec
@ -115,16 +115,6 @@ Group: System/Libraries
|
||||
This package provides the shared Qt library for gpsd and other GPS aware
|
||||
applications.
|
||||
|
||||
%package -n %{libQgps}-devel
|
||||
Summary: Shared Qt library for GPS applications
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libQgps} = %{version}
|
||||
Requires: %{libgps} = %{version}
|
||||
|
||||
%description -n %{libQgps}-devel
|
||||
This package provides the development files for the C++ and Qt bindings for use
|
||||
with the libgps library from gpsd.
|
||||
|
||||
%package -n python2-gpsd
|
||||
Summary: Client libraries in C and Python for talking to a running gpsd or GPS
|
||||
Group: Development/Libraries/Python
|
||||
@ -189,8 +179,8 @@ sed -i 's|env.Prepend.*RPATH.*|pass #\0|' python*/%{name}-%{version}/SConstruct
|
||||
%build
|
||||
# The SCons description does not handle CXXFLAGS correctly, pass C++ flags also in CFLAGS
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags} -std=c++11"
|
||||
export CPPFLAGS="%{optflags} -std=c++11"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
export CPPFLAGS="%{optflags}"
|
||||
|
||||
pyversions=( python2 python3 )
|
||||
pylibdir=( %{python2_sitearch} %{python3_sitearch} )
|
||||
@ -231,8 +221,8 @@ done
|
||||
%install
|
||||
# The SCons description does not handle CXXFLAGS correctly, pass C++ flags also in CFLAGS
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags} -std=c++11"
|
||||
export CPPFLAGS="%{optflags} -std=c++11"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
export CPPFLAGS="%{optflags}"
|
||||
# Install python2 first
|
||||
pushd %{name}-%{version}/python2/%{name}-%{version}
|
||||
|
||||
@ -334,8 +324,6 @@ sed -i -e 's#Icon=.*/\([^/]\+\)\(\..\+\)#Icon=\1#' %{buildroot}%{_datadir}/appli
|
||||
%{_includedir}/libgpsmm.h
|
||||
%{_libdir}/libgps.so
|
||||
%{_libdir}/pkgconfig/libgps.pc
|
||||
|
||||
%files -n %{libQgps}-devel
|
||||
%{_libdir}/libQgpsmm.so
|
||||
%{_libdir}/libQgpsmm.prl
|
||||
%{_libdir}/pkgconfig/Qgpsmm.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user