File w_scan2.spec of Package w_scan2

#
# spec file for package w_scan2
#
# 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/
#


Name:           w_scan2
Version:        1.0.14
Release:        0
Summary:        Channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and DVB-T/T2 configs
License:        GPL-2.0
Group:          Productivity/Multimedia/Video/Players
URL:            https://github.com/stefantalpalaru/w_scan2
Source:         %{name}-%{version}.tar.gz
BuildRequires:  gcc-c++

%description
w_scan2 is a small channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and
DVB-T/T2 channels.conf files.

It's based on the old "scan" tool from linuxtv-dvb-apps-1.1.0. The differences
are:

* no initial tuning data needed, because scanning without this data is exactly
  what a scan tool like this should do

* it detects automatically which DVB/ATSC card to use

* much more output formats, interfacing to other dtv software.

w_scan2 is a fork of the original w_scan from
https://www.gen2vdr.de/wirbel/w_scan/index2.html

%prep
%setup -q

%build
%configure
%make_build

%install
%make_install

%files
%defattr(0644,root,root)
%license COPYING
%doc ChangeLog README.md doc/README.file_formats doc/README_VLC_DVB doc/rotor.conf tools
%attr(0755,root,root) %{_bindir}/w_scan2
%{_mandir}/man1/w_scan2*

%changelog
openSUSE Build Service is sponsored by