Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
gr-osmosdr
gr-osmosdr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gr-osmosdr.spec of Package gr-osmosdr
# # spec file for package gr-osmosdr # # Copyright (c) 2012-2019 Wojciech Kazubski, wk@ire.pw.edu.pl # # 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 ver 0.1.5 %define libname libgnuradio-osmosdr-0_1_5-0_0_0 %define is_gr38 0 %define is_release 1 Name: gr-osmosdr Version: %{ver} Release: 57.1 Summary: GNU Radio module for OsmoSDR and rtl-sdr License: GPL-2.0 Group: Productivity/Hamradio/Other Source: %{name}-%{version}.tar.gz Patch0: %{name}-remove-html-timestamp.patch URL: http://sdr.osmocom.org/trac/wiki/GrOsmoSD BuildRequires: cmake BuildRequires: doxygen BuildRequires: swig BuildRequires: gcc-c++ %if 0%{?suse_version} >= 1330 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel %else BuildRequires: boost-devel %endif BuildRequires: pkgconfig(libairspy) BuildRequires: pkgconfig(libairspyhf) BuildRequires: pkgconfig(librtlsdr) BuildRequires: pkgconfig(uhd) BuildRequires: pkgconfig(libmirisdr) BuildRequires: hackrf-devel BuildRequires: freesrp-devel BuildRequires: pkgconfig(libbladeRF) BuildRequires: pkgconfig(libosmosdr) BuildRequires: libgnuradio-iqbalance-devel BuildRequires: pkgconfig(SoapySDR) BuildRequires: pkgconfig(gnuradio-fcdproplus) BuildRequires: osmosdr-devel BuildRequires: python2-devel %if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif %description GNU Radio source block for OsmoSDR, RTL2832U, Mirics MSi2500 + MSi001 and hackRF Jawbreaker SDR platforms. %package -n %{libname} Summary: OsmoSDR module for GNU Radio Group: Hardware/Other %description -n %{libname} Library files used by gr-osmosdr GNU Radio source block. %package devel Summary: Development files for gnuradio-osmosdr Group: Development/Libraries/Other Requires: %{libname} = %{version}-%{release} Requires: %{name} = %{version}-%{release} %description devel Headers for gr-osmosdr module for GNU Radio. %package devel-doc Summary: Documentation for gnuradio-osmosdr Group: Documentation/Other %if 0%{?suse_version} > 1100 BuildArch: noarch %endif Obsoletes: %{name}-devel-doc < %{version}-%{release} Provides: %{name}-devel-doc = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release} %description devel-doc Documentation for gr-osmosdr module for GNU Radio. %prep %if 0%{is_release} %setup -q %else %setup -q -n %{name} %endif %patch0 -p 1 -b .timestamp %build %cmake \ -DCMAKE_CXX_FLAGS=-std=c++11 \ -DENABLE_DOXYGEN=1 make %{?_smp_mflags} make -C docs %install %cmake_install find %{buildroot}%{_libdir}/python*/site-packages/ -name '*.pyo' -exec rm {} \; %if 0%{?suse_version} mkdir -p %{buildroot}%{_docdir} mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir} %endif %if 0%{?suse_version} > 1010 %fdupes -s %{buildroot}%{_docdir} %endif %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %dir %{_docdir}/%{name} %{_bindir}/osmocom_* %{python_sitearch}/osmosdr %{_datadir}/gnuradio/grc/blocks/*.?ml %doc AUTHORS README %license COPYING %exclude %{_docdir}/%{name}/html %exclude %{_docdir}/%{name}/xml %files -n %{libname} %defattr(-,root,root) %{_libdir}/libgnuradio-osmosdr*.so.* %files devel %{_libdir}/libgnuradio-osmosdr*.so %{_includedir}/osmosdr %{_libdir}/pkgconfig/gnuradio-osmosdr.pc %files devel-doc %{_docdir}/%{name}/html %{_docdir}/%{name}/xml %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