- Fix download url

- Small packaging enhancements

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=24
This commit is contained in:
Martin Pluskal 2019-08-27 01:00:17 +00:00 committed by Git OBS Bridge
parent 9991820cb5
commit e6ef7396af
3 changed files with 12 additions and 6 deletions

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 27 00:42:21 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Fix download url
- Small packaging enhancements
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 17 19:30:59 UTC 2019 - Wojciech Kazubski <wk@ire.pw.edu.pl> Sat Aug 17 19:30:59 UTC 2019 - Wojciech Kazubski <wk@ire.pw.edu.pl>

View File

@ -1,7 +1,7 @@
# #
# spec file for package bladeRF # spec file for package bladeRF
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013-2015 Wojciech Kazubski, wk@ire.pw.edu.pl # Copyright (c) 2013-2015 Wojciech Kazubski, wk@ire.pw.edu.pl
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -29,7 +29,7 @@ Release: 0
Summary: SDR radio receiver Summary: SDR radio receiver
License: GPL-2.0-only AND AGPL-3.0-or-later License: GPL-2.0-only AND AGPL-3.0-or-later
Group: Productivity/Hamradio/Other Group: Productivity/Hamradio/Other
URL: http://nuand.com/ URL: https://nuand.com/
#Git-Clone: https://github.com/Nuand/bladeRF.git #Git-Clone: https://github.com/Nuand/bladeRF.git
Source0: 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 Source1: ad9361.tar.xz
@ -41,6 +41,7 @@ BuildRequires: git-core
BuildRequires: help2man BuildRequires: help2man
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: tecla-devel BuildRequires: tecla-devel
BuildRequires: pkgconfig(libedit)
BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
@ -101,7 +102,7 @@ cd host
-DENABLE_LIBBLADERF_SYSLOG=ON \ -DENABLE_LIBBLADERF_SYSLOG=ON \
%endif %endif
-DBUILD_DOCUMENTATION=ON -DBUILD_DOCUMENTATION=ON
%make_jobs %cmake_build
%install %install
cd host cd host
@ -113,7 +114,6 @@ mv %{buildroot}/%{_datadir}/doc/libbladeRF %{buildroot}%{_docdir}
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%pre udev %pre udev
getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group} getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}