/[smecontribs]/rpms/SoapySDR/contribs9/SoapySDR.spec
ViewVC logotype

Diff of /rpms/SoapySDR/contribs9/SoapySDR.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Thu Aug 29 02:51:19 2019 UTC Revision 1.2 by jpp, Sun Sep 1 19:23:40 2019 UTC
# Line 11  URL:            https://github.com/potho Line 11  URL:            https://github.com/potho
11  Source0:        https://github.com/pothosware/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz  Source0:        https://github.com/pothosware/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
12    
13  BuildRequires:  cmake gcc-c++ swig doxygen  BuildRequires:  cmake gcc-c++ swig doxygen
14  BuildRequires: python2-devel python2-numpy  BuildRequires: python2-devel python2-numpy
15  BuildRequires: python3-devel python3-numpy  #BuildRequires: python3-devel python3-numpy
16    
17  %description  %description
18  SoapySDR is an open-source generalized C/C++ API and runtime library  SoapySDR is an open-source generalized C/C++ API and runtime library
# Line 20  for interfacing with Software-Defined Ra Line 20  for interfacing with Software-Defined Ra
20    
21  %package -n python2-%{name}  %package -n python2-%{name}
22  Summary:        Python2 Bindings for SoapySDR  Summary:        Python2 Bindings for SoapySDR
23  %{?python_provide:%python_provide python2-%{name}}  
24    #  %#{?python_provide:%python_provide python2-%{name}}
25    
26  %description -n python2-%{name}  %description -n python2-%{name}
27  SoapySDR is an open-source generalized C/C++ API and runtime library  SoapySDR is an open-source generalized C/C++ API and runtime library
28  for interfacing with Software-Defined Radio (SDR) devices.  for interfacing with Software-Defined Radio (SDR) devices.
29    
30  %package -n python3-%{name}  #%package -n python3-%{name}
31  Summary:        Python3 Bindings for SoapySDR  #Summary:        Python3 Bindings for SoapySDR
32  %{?python_provide:%python_provide python3-%{name}}  # %#{?python_provide:%python_provide python3-%{name}}
33    
34  %description -n python3-%{name}  #%description -n python3-%{name}
35  SoapySDR is an open-source generalized C/C++ API and runtime library  #SoapySDR is an open-source generalized C/C++ API and runtime library
36  for interfacing with Software-Defined Radio (SDR) devices.  #for interfacing with Software-Defined Radio (SDR) devices.
37    
38  %package -n %{name}-devel  %package -n %{name}-devel
39  Summary:        Development Files for SoapySDR  Summary:        Development Files for SoapySDR
# Line 56  library header file documentation. Line 57  library header file documentation.
57  %autosetup -n %{name}-%{commit}  %autosetup -n %{name}-%{commit}
58    
59  %build  %build
60  export Python_ADDITIONAL_VERSIONS="%{python2_version} %{python3_version}"  export Python_ADDITIONAL_VERSIONS="%{python2_version}"
61  %cmake .  -DUSE_PYTHON_CONFIG=ON -DPYTHON_EXECUTABLE=%{__python2} -DPYTHON3_EXECUTABLE=%{__python3}  # %{python3_version}"
62    %cmake .  
63    #-DUSE_PYTHON_CONFIG=ON -DPYTHON_EXECUTABLE=%{__python2} -DBUILD_PYTHON3=FALSE
64    #-DPYTHON3_EXECUTABLE=%{__python3}
65  %make_build  %make_build
66    
67    
# Line 85  ctest -V %{?_smp_mflags} Line 89  ctest -V %{?_smp_mflags}
89  %{python2_sitearch}/SoapySDR.py*  %{python2_sitearch}/SoapySDR.py*
90  %{python2_sitearch}/_SoapySDR.so  %{python2_sitearch}/_SoapySDR.so
91    
92  %files -n python3-%{name}  #%files -n python3-%{name}
93  %license LICENSE_1_0.txt  #%license LICENSE_1_0.txt
94  %{python3_sitearch}/SoapySDR.py  #%{python3_sitearch}/SoapySDR.py
95  %{python3_sitearch}/_SoapySDR.so  #%{python3_sitearch}/_SoapySDR.so
96  %{python3_sitearch}/__pycache__/SoapySDR.cpython-*.opt-1.pyc  #%{python3_sitearch}/__pycache__/SoapySDR.cpython-*.opt-1.pyc
97  %{python3_sitearch}/__pycache__/SoapySDR.cpython-*.pyc  #%{python3_sitearch}/__pycache__/SoapySDR.cpython-*.pyc
98    
99    
100  %files -n %{name}-devel  %files -n %{name}-devel


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed