Martin Pluskal 2017-04-15 20:47:47 +00:00 committed by Git OBS Bridge
parent 05f41fda8f
commit 9c43916a37

View File

@ -40,7 +40,6 @@ BuildRequires: help2man
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(udev)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The software for bladeRF USB 3.0 Superspeed Software Defined Radio.
@ -77,17 +76,16 @@ use of libbladerf.
%build
cd host
%cmake \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DCMAKE_BUILD_TYPE=Release \
-DUDEV_RULES_PATH=%{_udevrulesdir} \
-DBLADERF_GROUP=%{bladerf_group} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DUDEV_RULES_PATH=%{_udevrulesdir} \
-DBLADERF_GROUP=%{bladerf_group} \
%ifnarch %arm ppc ppc64
-DBUILD_DOCUMENTATION=YES \
-DBUILD_DOCUMENTATION=YES \
%endif
%if 0%{?use_syslog}
-DENABLE_LIBBLADERF_SYSLOG=ON \
-DENABLE_LIBBLADERF_SYSLOG=ON \
%endif
-DBUILD_DOCUMENTATION=ON
-DBUILD_DOCUMENTATION=ON
make %{?_smp_mflags}