# # spec file for package dtv-scan-tables # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: dtv-scan-tables Version: 20161227 Release: 0 Summary: Scan files for digital TV applications v3 License: GPL-2.0+ and LGPL-2.1 Group: Hardware/TV Url: http://linuxtv.org/ Source0: %{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) BuildRequires: dvb-utils %else BuildRequires: v4l-utils %endif %description Scan data needed for some scanning applications from dvb package and maybe others. This package contains v3 of the files. %package v5 Summary: Scan files for digital TV applications v5 Group: Hardware/TV %description v5 Scan data needed for some scanning applications from dvb package and maybe others. This package contains v5 of the files. %prep %setup -q %build make %{?_smp_mflags} dvbv3 dvbv5 %install %make_install DVBV3DIR=dvb DATADIR=%{buildroot}/%{_datadir} install_v3 %fdupes %{buildroot}/%{_datadir}/dvb/ %fdupes %{buildroot}/%{_datadir}/dvbv5/ %files %defattr(-,root,root) %doc COPYING COPYING.LGPL %{_datadir}/dvb %files v5 %defattr(-,root,root) %doc COPYING COPYING.LGPL %{_datadir}/dvbv5 %changelog