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