Projects
home:wkazubski
sdr-j-spectrumviewer
sdr-j-spectrumviewer.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdr-j-spectrumviewer.spec of Package sdr-j-spectrumviewer
# # spec file for package sdr-j-spectrumviewer # # Copyright (c) 2020-2022 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.links2linux.org/ # %define sversion 1.21 Name: sdr-j-spectrumviewer Version: 1.2.1 Release: 1 License: GPL-2.0-or-later Summary: Spectrum viewer using various SDR frontends Url: http://www.sdr-j.tk/index.html Group: Productivity/Multimedia/Other Source0: https://github.com/JvanKatwijk/sdr-j-spectrumviewer/archive/refs/tags/v%{sversion}.tar.gz#/%{name}-%{sversion}.tar.gz Source3: %{name}.desktop Patch1: %{name}-change-qwt-include-dir.patch Patch2: %{name}-change-qwt-lib-dir.patch BuildRequires: libqt5-qtbase-devel BuildRequires: qwt6-qt5-devel >= 6.1 BuildRequires: airspy-devel BuildRequires: hackrf-devel BuildRequires: rtl-sdr-devel BuildRequires: sdrplay-devel BuildRequires: libsamplerate-devel BuildRequires: libsndfile-devel BuildRequires: fftw3-devel BuildRequires: portaudio-devel BuildRequires: libusb-1_0-devel BuildRequires: ImageMagick BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme %description Since most of modern sdr devices can handle signals with a substantial bandwidth, it is desirable to be able to show such spectra. *spectrumviewer* is able to handle the input from wide band devices, such as the SDRplay, hackrf devices and limeSDR, each showing a bandwidth of 10 Mhz in the picture. The program allows "scanning" over a selected band, with a selected interval and a selected frequency step. The programs shows at the same time a frequency spectrum and a waterfall. %prep %setup -q -n %{name}-%{sversion} %patch1 -p 1 -b .opensuse %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300 %patch2 -p 1 -b .tumbleweed %endif %build qmake-qt5 spectrumviewer.pro %make_jobs %install install -Dpm 0755 linux-bin/spectrumviewer \ %{buildroot}%{_bindir}/%{name} #create desktop file install -Dpm 0644 %{SOURCE3} \ %{buildroot}%{_datadir}/applications/%{name}.desktop %suse_update_desktop_file %{name} #create icons convert viewer.ico *.png install -Dpm 0644 spectrumviewer-8.png \ %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-7.png \ %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-6.png \ %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-5.png \ %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-4.png \ %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-3.png \ %{buildroot}%{_datadir}/icons/hicolor/72x72/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-2.png \ %{buildroot}%{_datadir}/icons/hicolor/96x96/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-1.png \ %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/spectrumviewer.png install -Dpm 0644 spectrumviewer-0.png \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/spectrumviewer.png %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*x*/apps/spectrumviewer.png %changelog
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
.