2017-04-15 07:40:14 +00:00
|
|
|
#
|
|
|
|
# spec file for package inspectrum
|
|
|
|
#
|
2023-10-31 08:42:46 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
# Copyright (c) 2015-2023, Martin Hauke <mardnh@gmx.de>
|
2017-04-15 07:40:14 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-06-08 06:46:44 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-04-15 07:40:14 +00:00
|
|
|
#
|
|
|
|
|
2018-02-20 07:33:48 +00:00
|
|
|
|
2017-04-15 07:40:14 +00:00
|
|
|
Name: inspectrum
|
2023-10-31 08:42:46 +00:00
|
|
|
Version: 0.3.1
|
2017-04-15 07:40:14 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A tool for analysing captured signals from SDRs
|
2018-02-20 07:33:48 +00:00
|
|
|
License: GPL-3.0-or-later
|
2017-04-15 07:40:14 +00:00
|
|
|
Group: Productivity/Hamradio/Other
|
2018-06-18 07:40:54 +00:00
|
|
|
URL: https://github.com/miek/inspectrum
|
2021-06-06 13:34:52 +00:00
|
|
|
Source: %{url}/archive/refs/tags/v%{version}.tar.gz/#/%{name}-%{version}.tar.gz
|
2017-04-15 07:40:14 +00:00
|
|
|
BuildRequires: boost-devel
|
2017-11-12 08:33:58 +00:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
2017-11-13 08:30:02 +00:00
|
|
|
BuildRequires: git-core
|
2017-04-15 07:40:14 +00:00
|
|
|
BuildRequires: libliquid-devel
|
2017-11-12 08:33:58 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
2017-04-15 07:40:14 +00:00
|
|
|
# QCommandLineParser needs QT5.2+
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2
|
|
|
|
BuildRequires: pkgconfig(fftw3f)
|
2017-07-10 07:03:41 +00:00
|
|
|
Requires(post): hicolor-icon-theme
|
|
|
|
Requires(post): update-desktop-files
|
2023-10-31 08:42:46 +00:00
|
|
|
Requires(postun):hicolor-icon-theme
|
|
|
|
Requires(postun):update-desktop-files
|
2017-04-15 07:40:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A tool for analysing captured signals, primarily from software-defined radio receivers
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
2021-06-06 13:34:52 +00:00
|
|
|
%cmake_build
|
2017-04-15 07:40:14 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
2017-07-10 07:03:41 +00:00
|
|
|
install -Dm 0644 screenshot.jpg %{buildroot}/%{_datadir}/pixmaps/inspectrum.jpg
|
|
|
|
%suse_update_desktop_file -c inspectrum inspectrum "Offline Radio Signal Analyser" inspectrum inspectrum "Network;HamRadio"
|
|
|
|
|
2017-04-15 07:40:14 +00:00
|
|
|
%files
|
2018-06-18 07:40:54 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
2017-07-10 07:03:41 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/inspectrum.desktop
|
|
|
|
%{_datadir}/pixmaps/inspectrum.jpg
|
2017-04-15 07:40:14 +00:00
|
|
|
|
|
|
|
%changelog
|