Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
soapy-sdr
soapy-sdr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File soapy-sdr.spec of Package soapy-sdr
# # spec file for package soapy-sdr # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define sover 0_8 Name: soapy-sdr Version: 0.8.1 Release: 0 Summary: Vendor and platform neutral SDR support library License: BSL-1.0 Group: Development/Libraries/C and C++ Url: https://github.com/pothosware/SoapySDR.git Source: https://github.com/pothosware/SoapySDR/archive/%{name}-%{version}.tar.gz BuildRequires: boost-devel BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: swig BuildRequires: pkgconfig(python3) %description A vendor neutral and platform independent SDR support library. %package -n libSoapySDR%{sover} Summary: Vendor and platform neutral SDR support library Group: System/Libraries %description -n libSoapySDR%{sover} A vendor neutral and platform independent SDR support library. %package -n python3-SoapySDR Summary: Python bindings for SoapySDR Group: Development/Languages/Python Provides: python-%{name} Recommends: pytnon-numpy %description -n python3-SoapySDR Python Bindings for SoapySDR. A vendor neutral and platform independent SDR support library. %package devel Summary: Development files for the SoapySDR library Group: Development/Libraries/C and C++ Requires: libSoapySDR%{sover} = %{version} %description devel This subpackage contains libraries and header files for developing applications that want to make use of libSoapySDR. %prep %setup -q -n SoapySDR-%{name}-%{version} %build %cmake \ -DBUILD_PYTHON3=ON %make_jobs %install %cmake_install %check # path needs to be exported otherwise unit tests will fail export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} %ctest %post -n libSoapySDR%{sover} -p /sbin/ldconfig %postun -n libSoapySDR%{sover} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/SoapySDRUtil %files -n libSoapySDR%{sover} %doc Changelog.txt README.md %license LICENSE_1_0.txt %{_libdir}/libSoapySDR.so.* %files -n python3-SoapySDR %{python3_sitearch}/SoapySDR.py %{python3_sitearch}/*SoapySDR.so %files devel %doc docs/ %dir %{_includedir}/SoapySDR %{_includedir}/SoapySDR/*.h %{_includedir}/SoapySDR/*.hpp %{_libdir}/libSoapySDR.so %{_libdir}/pkgconfig/SoapySDR.pc %dir %{_datadir}/cmake/SoapySDR %{_datadir}/cmake/SoapySDR/SoapySDRConfig.cmake %{_datadir}/cmake/SoapySDR/SoapySDRConfigVersion.cmake %{_datadir}/cmake/SoapySDR/SoapySDRUtil.cmake %{_datadir}/cmake/SoapySDR/SoapySDRExport-relwithdebinfo.cmake %{_datadir}/cmake/SoapySDR/SoapySDRExport.cmake %{_mandir}/man1/SoapySDRUtil.1%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor