Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
gr-iio
gr-iio.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gr-iio.spec of Package gr-iio
# # spec file for package gr-iio # # Copyright (c) 2017-2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 libname libgnuradio-iio %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200 %define ver 0.3git20201106 %define sover 0 %define is_gr38 1 %define is_release 0 %else %define ver 0.3 %define sover 0 %define is_gr38 0 %define is_release 1 %endif Name: gr-iio Version: %{ver} Release: 0 Summary: IIO linux addon for gnuradio License: GPL-3.0 Group: Productivity/Hamradio/Other Url: https://github.com/analogdevicesinc/gr-iio #Git-Clone: https://github.com/analogdevicesinc/gr-iio.git Source: %{name}-%{version}.tar.gz Patch0: %{name}-lib-dir.patch Patch3: %{name}-add-boost-chrono.patch Patch4: %{name}-fix-build-with-boost173.patch BuildRequires: bison >= 3.0 %if 0%{?suse_version} >= 1330 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel %else BuildRequires: boost-devel %endif BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(libad9361) BuildRequires: pkgconfig(libiio) BuildRequires: swig %if 0%{is_gr38} BuildRequires: gnuradio-devel >= 3.8.0.0 BuildRequires: libboost_atomic-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_regex-devel BuildRequires: libboost_test-devel BuildRequires: orc BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(python3) %else BuildRequires: gnuradio-devel >= 3.7.0 BuildRequires: pkgconfig(python2) %endif %description GNU Radio blocks for IIO devices (PlutoSDR) by Analog Devices %package -n %{libname}%{sover} Summary: IIO linux addon for gnuradio Group: Hardware/Other %description -n %{libname}%{sover} GNU Radio blocks for IIO devices (PlutoSDR) by Analog Devices %package -n %{libname}-devel Summary: Development files for iio linux addon for gnuradio Group: Development/Libraries/Other Requires: %{libname}%{sover} = %{version} %description -n %{libname}-devel Development files for GNU Radio blocks for IIO devices (PlutoSDR) by Analog Devices %package devel-doc Summary: Documentation for gnuradio-iio Group: Documentation/Other BuildArch: noarch Requires: %{name}-devel %description devel-doc Documentation for gr-iio module for GNU Radio. %prep %if 0%{is_release} %setup -q %else %setup -q -n %{name} %endif %if 0%{is_gr38} %patch3 -p 1 %if 0%{suse_version} > 1500 %patch4 -p 1 %endif %else %patch0 -p 1 %endif %build %cmake make %{?_smp_mflags} %install %cmake_install find %{buildroot}%{_libdir}/python*/site-packages/ -name '*.pyo' -exec rm {} \; %fdupes %{buildroot} %post -n %{libname}%{sover} /sbin/ldconfig %postun -n %{libname}%{sover} /sbin/ldconfig %files %{_datadir}/gnuradio/grc/blocks/*.?ml %if 0%{is_gr38} %{python3_sitearch}/iio %else %{python_sitearch}/gnuradio/iio %endif %files -n %{libname}%{sover} %license COPYING %{_libdir}/libgnuradio-iio.so.* %files -n %{libname}-devel %if 0%{is_gr38} %{_includedir}/iio %else %{_includedir}/gnuradio/iio %dir %{_includedir}/swig %{_includedir}/swig/iio*.i %endif %{_libdir}/libgnuradio-iio.so %{_libdir}/cmake/iio %{_libdir}/pkgconfig/gnuradio-iio.pc %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