File w_scan.spec of Package w_scan_cpp
#
# spec file for package w_scan_cpp
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define wirbelscan_version 2022.01.05
Name: w_scan_cpp
Version: 20220105
Release: 0
Summary: Tool for scanning DVB transponders (successor of w_scan)
License: GPL-2.0-only
Group: Hardware/TV
URL: https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html
Source0: https://www.gen2vdr.de/wirbel/w_scan_cpp/%{name}-%{version}.tar.bz2
#
Source1: https://www.gen2vdr.de/wirbel/wirbelscan/vdr-wirbelscan-%{wirbelscan_version}.tgz
#BuildRequires: linux-kernel-headers
%description
%{name} is a small command line utility used to perform frequency scans for
DVB and ATSC transmissions. It is capable of creating channels.conf files
(in different output formats !) as well as initial tuning data for scan.
It's based on the utility scan from linuxtv-dvb-apps, but meanwhile it was
heavily changed and has different features. Successor of w_scan.
%prep
%autosetup -p1
%build
export CFLAGS="%{optflags} -fcommon"
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc AUTHORS ChangeLog README
%doc doc/README.file_formats doc/README_VLC_DVB doc/rotor.conf
%{_bindir}/w_scan
%{_mandir}/man1/w_scan.1%{?ext_man}
%changelog