File dso.spec of Package dso
#
# spec file for package dso
#
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
Name: dso
Version: 0.0.0+git.20150204
Release: 0
Summary: A simple digital storage oscilloscope (DSO)
License: GPL-2.0-or-later
Group: Productivity/Hamradio/Other
URL: https://github.com/hmatuschek/dso
#Git-Clone: https://github.com/hmatuschek/dso.git
Source: %{name}-%{version}.tar.xz
Patch0: dso-build-against-systemwide-libsdr.patch
Patch1: dso-rx-fix-desktop-file-and-iconpath.patch
Patch2: dso-cmake-install-binary.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libsdr-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: libqt5-linguist-devel
%description
This project implements a simple digital storage oscilloscope (DSO)
using libsdr. It uses the sound card as the input source and
implements the basic features of a DSO.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%cmake
%make_jobs
%install
%cmake_install
%files
%license LICENSE
%doc README.md
%{_bindir}/dso
%{_datadir}/applications/dso.desktop
%{_datadir}/icons/hicolor/scalable/apps/dso.svg
%changelog