Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
gr-elad
gr-elad-SLE_12_SP5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gr-elad-SLE_12_SP5.spec of Package gr-elad
# # spec file for package gr-elad # # Copyright (c) 2016-2021 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 libname libgnuradio-elad %define examplesdir %{_datadir}/gnuradio/examples Name: gr-elad Version: 1.0.0 Release: 2.1 Summary: GNU Radio module for ELAD receivers License: GPL-3.0 Group: Productivity/Hamradio/Other Source0: http://sdr.eladit.com/Linux/%{name}-3.7.2.tgz Source1: 10-elad.rules URL: http://ecom.eladit.com/ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: swig %if 0%{?suse_version} > 1330 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel %else BuildRequires: boost-devel %endif BuildRequires: cppunit-devel BuildRequires: gnuradio-devel >= 3.7.0 BuildRequires: gnuradio-examples BuildRequires: python-devel BuildRequires: udev BuildRequires: libusb-1_0-devel %if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif %description This is GNU Radio module for ELAD SDR receivers, including FDM-S1 and FDM-S2. %package -n %{libname} Summary: Library for FDM receivers by ELAD Group: Hardware/Other %description -n %{libname} This is the library to run FDM SDR receivers by ELAD %package devel Summary: Development files for gr-elad Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} Requires: %{libname} = %{version}-%{release} AutoReq: on %description devel Library headers for gr-elad SDR receiver software. %package examples Summary: Example GRC files for gr-elad Group: Development/Libraries/Other BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: gnuradio-examples %description examples Example GRC files for gr-elad SDR receiver. %prep %setup -q -n %{name} %build %cmake \ -DCMAKE_SHARED_LINKER_FLAGS="" %cmake_build %install %cmake_install find %{buildroot}%{_libdir}/python*/site-packages/ -name '*.pyo' -exec rm {} \; # install udev file %if 0%{?suse_version} < 1310 mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d cp %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d %else mkdir -p %{buildroot}%{_udevrulesdir} cp %{SOURCE1} %{buildroot}%{_udevrulesdir} %endif #install examples install -m 644 -D examples/*.grc -t %{buildroot}%{examplesdir}/elad #move cmake config file %ifarch x86_64 mv %{buildroot}/usr/lib/cmake %{buildroot}%{_libdir} %endif %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_datadir}/gnuradio/grc/blocks/*.xml %{python_sitearch}/elad %files -n %{libname} %defattr(-,root,root,-) %{_libdir}/libgnuradio-elad.so %if 0%{?suse_version} >= 1310 || 0%{?fedora} >= 19 %{_udevrulesdir}/10-elad.rules %else %config(noreplace) %{_sysconfdir}/udev/rules.d/10-elad.rules %endif %files devel %defattr(-,root,root,-) %{_includedir}/elad %{_libdir}/cmake/elad %files examples %defattr(-,root,root,-) %{examplesdir}/elad %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