Accepting request 799201 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/799201 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hamlib?expand=0&rev=5
This commit is contained in:
commit
762e6af52c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 29 23:14:25 UTC 2020 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||
|
||||
- Tumbleweed: Python backend built for python-3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 25 07:58:17 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
25
hamlib.spec
25
hamlib.spec
@ -40,12 +40,14 @@ BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(lua)
|
||||
BuildRequires: pkgconfig(tcl)
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: fdupes
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: pkgconfig(python2)
|
||||
%else
|
||||
BuildRequires: pkgconfig(python3)
|
||||
%endif
|
||||
Requires(post): %{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Ham Radio Control Libraries (Hamlib) provide a programming
|
||||
@ -96,6 +98,14 @@ Group: Development/Libraries/Python
|
||||
%description -n python-Hamlib
|
||||
Hamlib provide a programming interface for controlling radios and
|
||||
other shack hardware.
|
||||
%else
|
||||
%package -n python3-Hamlib
|
||||
Summary: Python 3 bindings for Hamlib
|
||||
Group: Development/Libraries/Python
|
||||
|
||||
%description -n python3-Hamlib
|
||||
Hamlib provide a programming interface for controlling radios and
|
||||
other shack hardware.
|
||||
%endif
|
||||
|
||||
%package -n tcl-Hamlib
|
||||
@ -125,9 +135,11 @@ autoreconf -fiv
|
||||
--with-perl-binding \
|
||||
--with-tcl-binding \
|
||||
--with-lua-binding \
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%if 0%{?suse_version} <= 1500
|
||||
--with-python-binding \
|
||||
%endif
|
||||
%else
|
||||
--with-python-binding PYTHON_VERSION='3.8' \
|
||||
%endif
|
||||
--with-xml-support
|
||||
%make_build
|
||||
|
||||
@ -204,6 +216,11 @@ mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir}
|
||||
%files -n python-Hamlib
|
||||
%{python_sitearch}/Hamlib.*
|
||||
%{python_sitearch}/_Hamlib.*
|
||||
%else
|
||||
%files -n python3-Hamlib
|
||||
%{python3_sitearch}/Hamlib.*
|
||||
%{python3_sitearch}/_Hamlib.*
|
||||
%{python3_sitearch}/__pycache__/Hamlib.cpython*.pyc
|
||||
%endif
|
||||
|
||||
%files -n tcl-Hamlib
|
||||
|
Loading…
x
Reference in New Issue
Block a user