Projects
home:Suyun:gnuradio
SoapySDR
_service:tar_scm:SoapySDR.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:SoapySDR.spec of Package SoapySDR
# Modified from https://src.fedoraproject.org/rpms/SoapySDR/blob/rawhide/f/SoapySDR.spec Name: SoapySDR Version: 0.8.1 Release: 1 Summary: A Vendor Neutral and Platform Independent SDR Support Library # Automatically converted from old format: Boost - review is highly recommended. License: BSL-1.0 URL: https://github.com/pothosware/%{name} Source0: https://github.com/pothosware/%{name}/archive/refs/tags/soapy-sdr-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: swig BuildRequires: doxygen BuildRequires: python3-devel BuildRequires: python3-numpy BuildRequires: (python3-setuptools if python3-devel >= 3.12) %description SoapySDR is an open-source generalized C/C++ API and runtime library for interfacing with Software-Defined Radio (SDR) devices. %package -n python3-%{name} Summary: Python3 Bindings for SoapySDR %{?python_provide:%python_provide python3-%{name}} %description -n python3-%{name} SoapySDR is an open-source generalized C/C++ API and runtime library for interfacing with Software-Defined Radio (SDR) devices. %package -n %{name}-devel Summary: Development Files for SoapySDR Requires: %{name}%{?_isa} = %{version}-%{release} %description -n %{name}-devel SoapySDR is an open-source generalized C/C++ API and runtime library for interfacing with Software-Defined Radio (SDR) devices. %package -n %{name}-doc Summary: Development Files for SoapySDR BuildArch: noarch %description -n %{name}-doc SoapySDR is an open-source generalized C/C++ API and runtime library for interfacing with Software-Defined Radio (SDR) devices. This package includes library header file documentation. %prep %autosetup -n %{name}-soapy-sdr-%{version} %build export Python_ADDITIONAL_VERSIONS="%{python3_version}" cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_PYTHON_CONFIG=ON -DPYTHON3_EXECUTABLE=%{__python3} -DSOAPY_SDR_EXTVER=%{release} cmake --build . %install DESTDIR=%{buildroot} cmake --install . mkdir -p %{buildroot}%{_libdir}/%{name}/modules0.8 # install docs mkdir -p %{buildroot}%{_pkgdocdir} cp -a ./docs/html/* %{buildroot}%{_pkgdocdir} %check ctest -V %{?_smp_mflags} %ldconfig_scriptlets %files %license LICENSE_1_0.txt %{_bindir}/SoapySDRUtil %{_libdir}/libSoapySDR.so.0.8.1 %{_libdir}/libSoapySDR.so.0.8 %{_mandir}/man1/* %doc README.md # for hardware support modules %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/modules0.8 %files -n python3-%{name} %license LICENSE_1_0.txt %{python3_sitearch}/SoapySDR.py %{python3_sitearch}/_SoapySDR.so %{python3_sitearch}/__pycache__/SoapySDR.cpython-*.pyc %files -n %{name}-devel %{_includedir}/%{name} %{_libdir}/libSoapySDR.so %{_libdir}/pkgconfig/* %dir %{_datadir}/cmake/%{name} %{_datadir}/cmake/%{name}/* %files -n %{name}-doc %license LICENSE_1_0.txt %{_pkgdocdir}/* %changelog * Fri Nov 22 2024 Suyun <ziyu.oerv@isrc.iscas.ac.cn> - 0.8.1-1 - Init package at 0.8.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2