forked from pool/bladeRF
Accepting request 1149956 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/1149956 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bladeRF?expand=0&rev=17
This commit is contained in:
commit
d4a8959074
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 23 11:25:04 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Align path for document installation between openSUSE versions.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 22 10:25:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 13 21:53:41 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
Mon Feb 13 21:53:41 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
10
bladeRF.spec
10
bladeRF.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bladeRF
|
# spec file for package bladeRF
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# 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
|
||||||
@ -86,8 +86,7 @@ Libraries and header files for developing applications that want to make
|
|||||||
use of libbladerf.
|
use of libbladerf.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{release_name}
|
%autosetup -p1 -n %{name}-%{release_name}
|
||||||
%patch0 -p1
|
|
||||||
ls
|
ls
|
||||||
pushd thirdparty/analogdevicesinc/no-OS
|
pushd thirdparty/analogdevicesinc/no-OS
|
||||||
tar -xJf %{SOURCE1}
|
tar -xJf %{SOURCE1}
|
||||||
@ -103,6 +102,7 @@ cd host
|
|||||||
%if 0%{?use_syslog}
|
%if 0%{?use_syslog}
|
||||||
-DENABLE_LIBBLADERF_SYSLOG=ON \
|
-DENABLE_LIBBLADERF_SYSLOG=ON \
|
||||||
%endif
|
%endif
|
||||||
|
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/lib%{name} \
|
||||||
-DBUILD_DOCUMENTATION=ON
|
-DBUILD_DOCUMENTATION=ON
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
@ -110,10 +110,6 @@ cd host
|
|||||||
cd host
|
cd host
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
#move docs
|
|
||||||
mkdir -p %{buildroot}%{_docdir}
|
|
||||||
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user