2006-12-19 16:57:00 +01:00
|
|
|
#
|
2011-03-24 12:32:59 +01:00
|
|
|
# spec file for package alsa
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
2019-01-08 12:56:43 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
2008-08-07 01:08:07 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-05-28 20:54:09 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-11-23 15:50:49 +01:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
|
|
|
%define _fillupdir /var/adm/fillup-templates
|
|
|
|
%endif
|
|
|
|
|
2017-02-13 13:56:07 +01:00
|
|
|
%if 0%{?suse_version} < 1200
|
|
|
|
%define _udevrulesdir /lib/udev/rules.d/
|
2009-01-14 17:47:19 +01:00
|
|
|
%endif
|
2019-05-10 14:57:55 +02:00
|
|
|
|
2014-03-11 12:08:29 +01:00
|
|
|
Name: alsa
|
2019-11-29 20:56:10 +01:00
|
|
|
Version: 1.2.1.2
|
2014-03-11 12:08:29 +01:00
|
|
|
Release: 0
|
2006-12-19 16:57:00 +01:00
|
|
|
Summary: Advanced Linux Sound Architecture
|
2018-02-28 22:51:26 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2012-01-25 16:53:30 +01:00
|
|
|
Group: System/Libraries
|
2014-03-11 12:08:29 +01:00
|
|
|
Url: http://www.alsa-project.org/
|
2019-01-08 12:56:43 +01:00
|
|
|
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
|
2009-12-21 23:15:16 +01:00
|
|
|
Source2: baselibs.conf
|
2006-12-19 16:57:00 +01:00
|
|
|
Source8: 40-alsa.rules
|
2014-02-06 11:15:58 +01:00
|
|
|
Source9: 42-hd-audio-pm.rules
|
2006-12-19 16:57:00 +01:00
|
|
|
Source11: alsasound
|
|
|
|
Source12: sysconfig.sound
|
|
|
|
Source13: joystick
|
|
|
|
Source14: sysconfig.joystick
|
|
|
|
Source16: set_default_volume
|
|
|
|
Source17: test.wav
|
|
|
|
Source21: README.testwav
|
|
|
|
Source30: all_notes_off
|
|
|
|
Source31: all_notes_off.bin
|
|
|
|
Source32: all_notes_off.mid
|
2008-05-23 17:05:14 +02:00
|
|
|
Source34: alsa-init.sh
|
2019-03-28 08:09:39 +01:00
|
|
|
# upstream fixes
|
2019-12-20 17:28:33 +01:00
|
|
|
Patch1: 0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
|
|
|
|
Patch2: 0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
|
|
|
|
Patch3: 0003-ucm-add-_identifiers-list.patch
|
|
|
|
Patch4: 0004-namehint-correct-the-args-check.patch
|
|
|
|
Patch5: 0005-namehint-improve-the-previous-patch-check-the-return.patch
|
|
|
|
Patch6: 0006-ucm-docs-allow-spaces-in-device-names-for-JackHWMute.patch
|
|
|
|
Patch7: 0007-use-case-docs-add-PlaybackMixerCopy-and-CaptureMixer.patch
|
|
|
|
Patch8: 0008-ucm-docs-add-JackCTL-rearrange-JackControl-and-JackD.patch
|
|
|
|
Patch9: 0009-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
|
|
|
|
Patch10: 0010-src-ucm-main.c-fix-build-without-mixer.patch
|
|
|
|
Patch11: 0011-alsa.m4-another-try-to-fix-the-libatopology-detectio.patch
|
|
|
|
Patch12: 0012-ucm-docs-add-Mic-DigitalMic-and-multiple-devices-com.patch
|
|
|
|
Patch13: 0013-ucm-docs-remove-DigitalMic-it-does-not-have-sense.patch
|
|
|
|
Patch14: 0014-ucm-docs-change-the-Mic-description-to-simple-Microp.patch
|
|
|
|
Patch15: 0015-ucm-docs-add-note-about-the-sequences-and-device-spl.patch
|
|
|
|
Patch16: 0016-ucm-docs-remove-MixerCopy-values-add-Priority-for-ve.patch
|
|
|
|
Patch17: 0017-ucm-setup-conf_format-after-getting-ALSA_CONFIG_UCM_.patch
|
|
|
|
Patch18: 0018-alsa-lib-fix-the-array-parser-unique-compound-keys.patch
|
|
|
|
Patch19: 0019-topology-remove-vendor_fd-name-from-snd_tplg-structu.patch
|
|
|
|
Patch20: 0020-topology-file-position-and-size-cleanups.patch
|
|
|
|
Patch21: 0021-topology-use-an-array-describing-blocks-for-the-main.patch
|
|
|
|
Patch22: 0022-topology-use-size_t-for-calc_block_size.patch
|
|
|
|
Patch23: 0023-topology-merge-write_block-to-tplg_write_data.patch
|
|
|
|
Patch24: 0024-topology-make-vebose-output-more-nice.patch
|
|
|
|
Patch25: 0025-topology-use-list_insert-macro-in-tplg_elem_insert.patch
|
|
|
|
Patch26: 0026-topology-dapm-coding-fixes.patch
|
|
|
|
Patch27: 0027-topology-dapm-merge-identical-index-blocks-like-for-.patch
|
|
|
|
Patch28: 0028-topology-more-coding-fixes.patch
|
|
|
|
Patch29: 0029-Fix-alsa-sound-.h-for-external-programs.patch
|
|
|
|
Patch30: 0030-type_compat-Add-missing-__s64-and-__u64-definitions-.patch
|
|
|
|
Patch31: 0031-uapi-Move-typedefs-from-uapi-to-sound.patch
|
2017-12-18 20:36:19 +01:00
|
|
|
# rest suse fixes
|
2019-01-08 12:56:43 +01:00
|
|
|
Patch101: alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
|
2014-03-11 12:08:29 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libtool
|
2017-02-13 13:56:07 +01:00
|
|
|
BuildRequires: pkgconfig
|
2019-11-18 11:21:34 +01:00
|
|
|
Requires: alsa-ucm-conf
|
2014-03-11 12:08:29 +01:00
|
|
|
Requires: alsa-utils
|
2017-02-13 13:56:07 +01:00
|
|
|
Requires(post): %fillup_prereq
|
2014-03-11 12:08:29 +01:00
|
|
|
Recommends: alsa-oss
|
|
|
|
Recommends: alsa-plugins
|
2006-12-19 16:57:00 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-02-13 13:56:07 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
|
|
|
Requires(post): %insserv_prereq
|
|
|
|
%endif
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} > 1200
|
2015-07-31 19:21:11 +02:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2014-02-06 11:15:58 +01:00
|
|
|
%else
|
2014-03-11 12:08:29 +01:00
|
|
|
BuildRequires: udev
|
|
|
|
%endif
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
ALSA stands for Advanced Linux Sound Architecture. It supports many
|
2007-04-17 00:28:30 +02:00
|
|
|
PCI, ISA PnP and USB sound cards.
|
2006-12-19 16:57:00 +01:00
|
|
|
|
2007-04-17 00:28:30 +02:00
|
|
|
This package contains the ALSA init scripts to start the sound system
|
|
|
|
on your Linux box. To set it up, run yast2 or alsaconf.
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%package devel
|
2019-03-19 18:47:37 +01:00
|
|
|
Summary: Header files for ALSA development
|
2018-02-28 22:51:26 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2006-12-19 16:57:00 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-05-29 11:32:49 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libasound2 = %{version}
|
2017-02-13 13:56:07 +01:00
|
|
|
Obsoletes: alsadev < %{version}
|
|
|
|
Provides: alsa-lib-devel = %{version}
|
|
|
|
Provides: alsadev = %{version}
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
2019-03-19 18:47:37 +01:00
|
|
|
to develop applications that require ALSA.
|
2006-12-19 16:57:00 +01:00
|
|
|
|
2019-11-18 11:21:34 +01:00
|
|
|
%package topology-devel
|
|
|
|
Summary: Header files for ALSA topology development
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: alsa-devel = %{version}
|
|
|
|
Requires: libatopology2 = %{version}
|
|
|
|
|
|
|
|
%description topology-devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require ALSA topology.
|
|
|
|
|
2006-12-19 16:57:00 +01:00
|
|
|
%package docs
|
2019-03-19 18:47:37 +01:00
|
|
|
Summary: Additional Package Documentation for ALSA
|
2018-02-28 22:51:26 +01:00
|
|
|
License: GPL-2.0-or-later
|
2006-12-19 16:57:00 +01:00
|
|
|
Group: Documentation/Other
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
2009-09-10 14:30:23 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%description docs
|
|
|
|
This package contains optional documentation provided in addition to
|
|
|
|
this package's base documentation.
|
|
|
|
|
2007-04-17 00:28:30 +02:00
|
|
|
%package -n libasound2
|
|
|
|
Summary: Advanced Linux Sound Architecture Library
|
2018-02-28 22:51:26 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2007-04-17 00:28:30 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Provides: alsa-lib
|
|
|
|
|
|
|
|
%description -n libasound2
|
|
|
|
This package contains the library for ALSA, Advanced Linux Sound
|
|
|
|
Architecture.
|
|
|
|
|
2019-11-18 11:21:34 +01:00
|
|
|
%package -n libatopology2
|
|
|
|
Summary: ALSA Topology Library
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libatopology2
|
|
|
|
This package contains the library for ALSA topology support.
|
|
|
|
|
2006-12-19 16:57:00 +01:00
|
|
|
%prep
|
2019-01-08 12:56:43 +01:00
|
|
|
%setup -q -n alsa-lib-%{version}
|
2019-12-20 17:28:33 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
|
|
|
%patch13 -p1
|
|
|
|
%patch14 -p1
|
|
|
|
%patch15 -p1
|
|
|
|
%patch16 -p1
|
|
|
|
%patch17 -p1
|
|
|
|
%patch18 -p1
|
|
|
|
%patch19 -p1
|
|
|
|
%patch20 -p1
|
|
|
|
%patch21 -p1
|
|
|
|
%patch22 -p1
|
|
|
|
%patch23 -p1
|
|
|
|
%patch24 -p1
|
|
|
|
%patch25 -p1
|
|
|
|
%patch26 -p1
|
|
|
|
%patch27 -p1
|
|
|
|
%patch28 -p1
|
|
|
|
%patch29 -p1
|
|
|
|
%patch30 -p1
|
|
|
|
%patch31 -p1
|
2019-01-08 12:56:43 +01:00
|
|
|
%patch101 -p1
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%build
|
2019-09-05 17:37:17 +02:00
|
|
|
# disable LTO; otherwise some apps confused with versioned symbols (boo#1149461)
|
|
|
|
%define _lto_cflags %{nil}
|
2011-09-17 14:45:42 +02:00
|
|
|
export AUTOMAKE_JOBS="%{?_smp_mflags}"
|
2006-12-19 16:57:00 +01:00
|
|
|
# build alsa-lib
|
2019-12-20 17:28:33 +01:00
|
|
|
autoreconf -fi
|
2007-06-08 17:28:04 +02:00
|
|
|
%configure \
|
2006-12-19 16:57:00 +01:00
|
|
|
--disable-static \
|
2008-03-03 16:21:31 +01:00
|
|
|
--enable-symbolic-functions \
|
2006-12-19 16:57:00 +01:00
|
|
|
--disable-aload \
|
2007-08-03 13:57:38 +02:00
|
|
|
--disable-alisp \
|
|
|
|
--disable-python
|
2011-09-17 14:45:42 +02:00
|
|
|
make V=1 %{?_smp_mflags}
|
2006-12-19 16:57:00 +01:00
|
|
|
# run doxygen
|
2014-03-11 12:08:29 +01:00
|
|
|
make -C doc doc %{?_smp_mflags}
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%install
|
2007-04-17 00:28:30 +02:00
|
|
|
# install shared library
|
2017-02-13 13:56:07 +01:00
|
|
|
%make_install
|
2007-04-17 00:28:30 +02:00
|
|
|
# clean up unneeded files
|
2014-03-11 12:08:29 +01:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.*a
|
2016-11-29 19:09:28 +01:00
|
|
|
# rm -f %{buildroot}%{_libdir}/alsa-lib/smixer/*.*a
|
2014-03-11 12:08:29 +01:00
|
|
|
rm -f %{buildroot}%{_bindir}/aserver
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
2007-04-17 00:28:30 +02:00
|
|
|
# install helper scripts
|
2014-03-11 12:08:29 +01:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
install -c -m 0755 %{SOURCE16} %{buildroot}%{_bindir}
|
|
|
|
install -c -m 0755 %{SOURCE34} %{buildroot}%{_sbindir}/alsa-init
|
|
|
|
%if 0%{?suse_version} < 1140
|
|
|
|
sed -i -e 's@%{_localstatedir}/lib/alsa/asound.state@%{_sysconfdir}/asound.state@g' %{buildroot}%{_bindir}/set_default_volume
|
|
|
|
sed -i -e 's@%{_localstatedir}/lib/alsa/asound.state@%{_sysconfdir}/asound.state@g' %{buildroot}%{_sbindir}/alsa-init
|
2011-03-25 12:06:38 +01:00
|
|
|
%endif
|
2006-12-19 16:57:00 +01:00
|
|
|
# install test wave file
|
2014-03-11 12:08:29 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/sounds/alsa
|
|
|
|
install -c -m 0644 %{SOURCE17} %{buildroot}%{_datadir}/sounds/alsa/test.wav
|
2006-12-19 16:57:00 +01:00
|
|
|
# install all_notes_off stuff
|
2014-03-11 12:08:29 +01:00
|
|
|
install -c -m 0755 %{SOURCE30} %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_prefix}/lib
|
|
|
|
install -c -m 0644 %{SOURCE31} %{buildroot}%{_prefix}/lib
|
|
|
|
install -c -m 0644 %{SOURCE32} %{buildroot}%{_prefix}/lib
|
|
|
|
%if 0%{?suse_version} <= 1310
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
2007-04-17 00:28:30 +02:00
|
|
|
# install init scripts
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
2014-03-11 12:08:29 +01:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/init.d
|
|
|
|
install -c -m 0755 %{SOURCE11} %{buildroot}%{_sysconfdir}/init.d
|
|
|
|
install -c -m 0755 %{SOURCE13} %{buildroot}%{_sysconfdir}/init.d
|
|
|
|
%if 0%{?suse_version} < 1140
|
|
|
|
sed -i -e 's@%{_localstatedir}/lib/alsa/asound.state@%{_sysconfdir}/asound.state@g' %{buildroot}%{_initddir}/alsasound
|
2011-03-25 12:06:38 +01:00
|
|
|
%endif
|
2014-03-11 12:08:29 +01:00
|
|
|
rm -f %{buildroot}%{_sbindir}/rcalsasound
|
|
|
|
ln -s ../..%{_initddir}/alsasound %{buildroot}%{_sbindir}/rcalsasound
|
|
|
|
rm -f %{buildroot}%{_sbindir}/rcjoystick
|
|
|
|
ln -s ../..%{_initddir}/joystick %{buildroot}%{_sbindir}/rcjoystick
|
2014-02-14 16:03:12 +01:00
|
|
|
%endif
|
2007-04-17 00:28:30 +02:00
|
|
|
#
|
2017-12-18 20:36:19 +01:00
|
|
|
# udev rules
|
2007-04-17 00:28:30 +02:00
|
|
|
#
|
2017-02-13 13:56:07 +01:00
|
|
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} < 1140
|
2017-02-13 13:56:07 +01:00
|
|
|
install -c -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}
|
2010-11-26 09:30:25 +01:00
|
|
|
%endif
|
2017-02-13 13:56:07 +01:00
|
|
|
install -c -m 0644 %{SOURCE9} %{buildroot}%{_udevrulesdir}
|
2006-12-19 16:57:00 +01:00
|
|
|
#
|
|
|
|
# install template to update rc.config and sysconfig files:
|
|
|
|
# (updating the actual files is done in the %post-script)
|
|
|
|
#
|
2017-11-23 15:50:49 +01:00
|
|
|
mkdir -p -m 755 %{buildroot}%{_fillupdir}
|
2014-03-11 12:08:29 +01:00
|
|
|
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig
|
2019-03-19 18:47:37 +01:00
|
|
|
install -m 644 %{_sourcedir}/sysconfig.sound %{buildroot}%{_fillupdir}
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
2019-03-19 18:47:37 +01:00
|
|
|
install -m 644 %{_sourcedir}/sysconfig.joystick %{buildroot}%{_fillupdir}
|
2014-02-14 16:03:12 +01:00
|
|
|
%endif
|
2007-04-17 00:28:30 +02:00
|
|
|
#
|
|
|
|
# documents
|
|
|
|
#
|
2014-03-11 12:08:29 +01:00
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
2019-03-19 18:47:37 +01:00
|
|
|
cp %{_sourcedir}/README* %{buildroot}%{_docdir}/%{name}
|
2018-04-08 12:16:50 +02:00
|
|
|
%if 0%{?suse_version} < 1200
|
|
|
|
cp COPYING %{buildroot}%{_docdir}/%{name}
|
|
|
|
%endif
|
2014-03-11 12:08:29 +01:00
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}/alsa-lib
|
2018-04-04 11:21:43 +02:00
|
|
|
cp ChangeLog INSTALL TODO MEMORY-LEAK %{buildroot}%{_docdir}/%{name}/alsa-lib
|
2014-03-11 12:08:29 +01:00
|
|
|
cp doc/asoundrc.txt %{buildroot}%{_docdir}/%{name}/alsa-lib
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%post
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} > 1310
|
2014-02-24 16:47:04 +01:00
|
|
|
%{fillup_only -n sound}
|
2014-02-14 16:03:12 +01:00
|
|
|
%else
|
2008-08-18 19:01:56 +02:00
|
|
|
%{fillup_and_insserv -ny sound alsasound}
|
2006-12-19 16:57:00 +01:00
|
|
|
%{fillup_and_insserv -n joystick joystick}
|
2014-02-14 16:03:12 +01:00
|
|
|
%endif
|
2006-12-19 16:57:00 +01:00
|
|
|
exit 0
|
|
|
|
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
2006-12-19 16:57:00 +01:00
|
|
|
%preun
|
|
|
|
%stop_on_removal alsasound joystick
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%restart_on_update alsasound joystick
|
2007-06-22 00:17:57 +02:00
|
|
|
%insserv_cleanup
|
2006-12-19 16:57:00 +01:00
|
|
|
exit 0
|
2014-02-14 16:03:12 +01:00
|
|
|
%endif
|
2006-12-19 16:57:00 +01:00
|
|
|
|
2008-02-01 20:26:15 +01:00
|
|
|
%post -n libasound2 -p /sbin/ldconfig
|
|
|
|
%postun -n libasound2 -p /sbin/ldconfig
|
2007-04-17 00:28:30 +02:00
|
|
|
|
2019-11-18 11:21:34 +01:00
|
|
|
%post -n libatopology2 -p /sbin/ldconfig
|
|
|
|
%postun -n libatopology2 -p /sbin/ldconfig
|
|
|
|
|
2006-12-19 16:57:00 +01:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc %{_docdir}/%{name}
|
2018-04-08 12:16:50 +02:00
|
|
|
%if 0%{?suse_version} >= 1200
|
2018-04-04 11:21:43 +02:00
|
|
|
%license COPYING
|
2018-04-08 12:16:50 +02:00
|
|
|
%endif
|
2014-03-11 12:08:29 +01:00
|
|
|
%if 0%{?suse_version} <= 1310
|
|
|
|
%{_initddir}/*
|
2014-02-14 16:03:12 +01:00
|
|
|
%endif
|
2006-12-19 16:57:00 +01:00
|
|
|
%{_sbindir}/*
|
|
|
|
%{_bindir}/*
|
2014-03-11 12:08:29 +01:00
|
|
|
%{_prefix}/lib/all_notes_off.*
|
2007-04-17 00:28:30 +02:00
|
|
|
%{_datadir}/sounds/alsa
|
2017-11-23 15:50:49 +01:00
|
|
|
%{_fillupdir}/*
|
2017-02-13 13:56:07 +01:00
|
|
|
%{_udevrulesdir}*
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2007-01-26 23:03:58 +01:00
|
|
|
%{_libdir}/libasound.so
|
2006-12-19 16:57:00 +01:00
|
|
|
%{_includedir}/sys/*
|
|
|
|
%{_includedir}/alsa
|
2019-11-18 11:21:34 +01:00
|
|
|
%exclude %{_includedir}/alsa/topology.h
|
2019-03-28 08:09:39 +01:00
|
|
|
%{_includedir}/asoundlib.h
|
2006-12-19 16:57:00 +01:00
|
|
|
%{_datadir}/aclocal/*.m4
|
2019-11-18 11:21:34 +01:00
|
|
|
%{_libdir}/pkgconfig/alsa.pc
|
|
|
|
|
|
|
|
%files topology-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libatopology.so
|
|
|
|
%{_includedir}/alsa/topology.h
|
|
|
|
%{_libdir}/pkgconfig/alsa-topology.pc
|
2006-12-19 16:57:00 +01:00
|
|
|
|
|
|
|
%files docs
|
|
|
|
%defattr(-, root, root)
|
2007-04-17 00:28:30 +02:00
|
|
|
%doc doc/doxygen/html/*
|
|
|
|
|
|
|
|
%files -n libasound2
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libasound.so.*
|
|
|
|
%{_datadir}/alsa
|
2007-11-23 17:15:47 +01:00
|
|
|
|
2019-11-18 11:21:34 +01:00
|
|
|
%files -n libatopology2
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libatopology.so.*
|
|
|
|
|
2007-03-15 01:11:46 +01:00
|
|
|
%changelog
|