File yast2-sound.spec of Package yast2-sound

# spec file for package yast2-sound
# Copyright (c) 2020 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-sound
Version:        4.3.3
Release:        0
Summary:        YaST2 - Sound Configuration
License:        GPL-2.0-or-later
Group:          System/YaST

Source0:        %{name}-%{version}.tar.bz2

BuildRequires:  alsa-devel
BuildRequires:  doxygen
BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  perl-XML-Writer
BuildRequires:  ruby
BuildRequires:  update-desktop-files
BuildRequires:  yast2
BuildRequires:  yast2-core-devel
BuildRequires:  yast2-devtools >= 4.2.2
BuildRequires:  yast2-testsuite

# workaround for OS builds, see jsc#SLE-11862
%ifnarch i586
BuildRequires:  kernel-default

# Fixed handling of Kernel modules loaded on boot
Requires:       alsa
# For proc_modules.scr
Requires:       yast2 >= 3.1.180
Requires:       yast2-ruby-bindings >= 1.0.0

Obsoletes:      yast2-sound-devel-doc

Supplements:    autoyast(sound)

This package contains the YaST2 component for sound card configuration.

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


rm -rf %{buildroot}/%{yast_plugindir}/

# rename the config file to the new modprobe schema
if test -e /etc/modprobe.d/sound; then
    mv -f /etc/modprobe.d/sound /etc/modprobe.d/50-sound.conf

# database
# agents
%doc %{yast_docdir}
%license COPYING

openSUSE Build Service is sponsored by