Accepting request 724276 from home:wkazubski:test:science

Update to release 2019.07

OBS-URL: https://build.opensuse.org/request/show/724276
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=23
This commit is contained in:
Martin Pluskal 2019-08-18 16:41:28 +00:00 committed by Git OBS Bridge
parent bafd2eb0be
commit 9991820cb5
5 changed files with 48 additions and 9 deletions

3
ad9361.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26c9960afebd5508823be6c062caae09533899f6a9e392df86486ade39dc145b
size 4625560

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6288c230dad26e32236a4b60f0b14c129e6fa0ad91bcf1c40abe8789b352e51f
size 2177625

3
bladeRF-2019.07.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5aced31ab512d5e829778f47090333fc1a7734ec964f91ef6027a5fbc80a53eb
size 1424544

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Aug 17 19:30:59 UTC 2019 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Update to version 2019.07
libbladeRF
* Gain mode setting default is now manual
* Tuning mode setting default is now host
* Add OTP command support
* Fix metadata related arithmetic
bladeRF-cli:
* Add RFIC fitler selection
* Add tuning_mode
* Display more useful warning and error messages
- libbladeRF doc files (HTML) in separate package
-------------------------------------------------------------------
Fri Sep 7 12:05:23 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -19,19 +19,20 @@
%define sover 2
%define libname lib%{name}%{sover}
%define libversion 2.0.2
%define release_name 2018.08
%define libversion 2.2.1
%define release_name 2019.07
%define bladerf_group bladerf
%define use_syslog 0
Name: bladeRF
Version: 1.4.0
Version: 1.8.0
Release: 0
Summary: SDR radio receiver
License: GPL-2.0-only AND AGPL-3.0-or-later
Group: Productivity/Hamradio/Other
URL: http://nuand.com/
#Git-Clone: https://github.com/Nuand/bladeRF.git
Source: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
Source0: https://github.com/Nuand/bladeRF/archive/%{release_name}.tar.gz#/%{name}-%{release_name}.tar.xz
Source1: ad9361.tar.xz
BuildRequires: cmake >= 2.8.4
BuildRequires: doxygen
BuildRequires: fdupes
@ -56,6 +57,16 @@ Requires: %{name}-udev
%description -n %{libname}
Library for bladeRF, SDR transceiver.
%package -n %{libname}-doc
Version: %{libversion}
Release: 0
Summary: Documentation for libbladeRF
Group: System/Libraries
Requires: %{name}-udev
%description -n %{libname}-doc
HTML Documentation files for libbladeRF
%package udev
Summary: Udev rules for bladeRF
Group: Hardware/Other
@ -75,6 +86,10 @@ use of libbladerf.
%prep
%setup -q -n %{name}-%{release_name}
ls
pushd thirdparty/analogdevicesinc/no-OS
tar -xJf %{SOURCE1}
popd
%build
cd host
@ -82,7 +97,6 @@ cd host
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DUDEV_RULES_PATH=%{_udevrulesdir} \
-DBLADERF_GROUP=%{bladerf_group} \
-DBUILD_DOCUMENTATION=YES \
%if 0%{?use_syslog}
-DENABLE_LIBBLADERF_SYSLOG=ON \
%endif
@ -93,6 +107,10 @@ cd host
cd host
%cmake_install
#move docs
mkdir -p %{buildroot}%{_docdir}
mv %{buildroot}/%{_datadir}/doc/libbladeRF %{buildroot}%{_docdir}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
@ -113,11 +131,14 @@ getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}
%{_mandir}/man1/bladeRF-cli.1%{?ext_man}
%files udev
%{_udevrulesdir}/88-nuand.rules
%{_udevrulesdir}/88-nuand-*.rules
%files -n %{libname}
%{_libdir}/libbladeRF.so.*
%files -n %{libname}-doc
%{_docdir}/libbladeRF
%files devel
%{_libdir}/libbladeRF.so
%{_includedir}/bladeRF1.h