File yast2-hardware-detection.spec of Package yast2-hardware-detection

# spec file for package yast2-hardware-detection
# Copyright (c) 2019 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

Name:           yast2-hardware-detection
Version:        4.1.0
Release:        0

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2

# obviously
BuildRequires:  gcc-c++
BuildRequires:  libtool
# needed for all yast packages
BuildRequires:  yast2-devtools >= 3.1.10
# autodocs
BuildRequires:  doxygen
# testsuite
BuildRequires:  dejagnu
# this is a yast plugin, needs core
BuildRequires:  yast2-core-devel
# da library
BuildRequires:  hwinfo-devel
# we check for hwinfo
BuildRequires:  pkg-config
Requires:       yast2-ruby-bindings >= 1.0.0

Summary:        YaST2 - Hardware Detection Interface
License:        GPL-2.0-or-later
Group:          System/YaST
Requires:       hwinfo >= 21.5

This package contains the hardware detection library for YaST2.

%setup -n %{name}-%{version}



rm $RPM_BUILD_ROOT/%{yast_plugindir}/

%doc %{yast_docdir}
%license COPYING