Projects
home:Eustace:branches:Eulaceura:Factory
alsa-lib
_service:obs_scm:alsa-lib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:alsa-lib.spec of Package alsa-lib
%define version_alsa_lib 1.2.12 %define version_alsa_ucm 1.2.12 %define version_alsa_tplg 1.2.5.1 Name: alsa-lib Version: %{version_alsa_lib} Release: 1 Summary: the user space library that developers compile ALSA applications against License: LGPL-2.1-or-later URL: https://alsa-project.org/ Source0: https://www.alsa-project.org/files/pub/lib/%{name}-%{version}.tar.bz2 Source1: https://www.alsa-project.org/files/pub/lib/alsa-ucm-conf-%{version_alsa_ucm}.tar.bz2 Source2: https://www.alsa-project.org/files/pub/lib/alsa-topology-conf-%{version_alsa_tplg}.tar.bz2 Source10: asound.conf Patch1: alsa-lib-1.2.5.1-sw.patch BuildRequires: autoconf, automake, libtool, doxygen %description The alsa-lib is a library to interface with ALSA in the Linux kernel and virtual devices using a plugin system. More detail: https://alsa.opensrc.org/Alsa-lib %package devel Summary: Development header files Requires: %{name} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description devel This package contains libraries and header files for the ALSA development. %package -n alsa-ucm Summary: ALSA Use Case Manager configuration BuildArch: noarch License: BSD-3-Clause Requires: %{name} >= %{version_alsa_lib} %description -n alsa-ucm The Advanced Linux Sound Architecture (ALSA) Use Case Manager configuration contains alsa-lib configuration of Audio input/output names and routing %package -n alsa-topology Summary: ALSA Topology configuration BuildArch: noarch License: BSD-3-Clause Requires: %{name} >= %{version_alsa_lib} %description -n alsa-topology The Advanced Linux Sound Architecture (ALSA) topology configuration contains alsa-lib configuration of SoC topology %prep %autosetup -n %{name}-%{version} -a 1 -p1 %setup -DTq -n %{name}-%{version} -a 2 %build # This package uses top level ASM constructs which are incompatible with LTO. # Top level ASMs are often used to implement symbol versioning. gcc-10 # introduces a new mechanism for symbol versioning which works with LTO. # Converting packages to use that mechanism instead of toplevel ASMs is # recommended. # Note: The v1.2.4 contains changes wich are compatible with gcc-10 LTO # although using the old ASM constructs. # Enable custom LTO flags %define _lto_cflags -flto -ffat-lto-objects -flto-partition=none autoreconf -vif %configure --disable-aload \ --with-plugindir=%{_libdir}/alsa-lib \ --disable-alisp %disable_rpath %make_build %make_build doc %install %make_install %delete_la # the asound.conf configuration files are required for ALSA to work properly mkdir -p -m 755 %{buildroot}%{_sysconfdir} install -p -m 0644 %{S:10} %{buildroot}%{_sysconfdir} # Create UCM directories mkdir -p %{buildroot}/%{_datadir}/alsa/ucm mkdir -p %{buildroot}/%{_datadir}/alsa/ucm2 # Unpack UCMs tar xvjf %{S:1} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "alsa-ucm-conf-%{version_alsa_ucm}/ucm" "alsa-ucm-conf-%{version_alsa_ucm}/ucm2" # Create topology directory mkdir -p %{buildroot}/%{_datadir}/alsa/topology # Unpack topologies tar xvjf %{S:2} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "alsa-topology-conf-%{version_alsa_tplg}/topology" %files %license COPYING %doc doc/asoundrc.txt %config %{_sysconfdir}/*.conf %{_bindir}/* %{_libdir}/libasound.so.* %{_libdir}/libatopology.so.* %dir %{_datadir}/alsa %{_datadir}/alsa/alsa.conf %{_datadir}/alsa/cards %{_datadir}/alsa/ctl %{_datadir}/alsa/pcm %files devel %doc doc/doxygen/ TODO %{_libdir}/libasound.so %{_libdir}/libatopology.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_datadir}/aclocal/*.m4 %files -n alsa-ucm %license alsa-ucm-conf-%{version_alsa_ucm}/LICENSE %doc alsa-ucm-conf-%{version_alsa_ucm}/README.md %{_datadir}/alsa/ucm %{_datadir}/alsa/ucm2 %files -n alsa-topology %license alsa-topology-conf-%{version_alsa_tplg}/LICENSE %doc alsa-topology-conf-%{version_alsa_tplg}/README.md %{_datadir}/alsa/topology %changelog * Sat Oct 12 2024 Funda Wang <fundawang@yeah.net> - 1.2.12-1 - Upgrade to 1.2.12 * Tue Feb 6 2024 taoyuxiang <taoyuxiang2@huawei.com> - 1.2.10 - Upgrade to 1.2.10 * Wed Aug 9 2023 zhangnaichuan <zhangnaichuan@huawei.com> - 1.2.9-2 - fix: build failuer caused by tar upgrade * Fri Jul 21 2023 lijianglin <lijianglin2@huawei.com> - 1.2.9-1 - Upgrade to 1.2.9 * Thu Feb 9 2023 lijianglin <lijianglin2@huawei.com> - 1.2.8-1 - Upgrade to 1.2.8 * Thu Aug 11 2022 wuzx<wuzx1226@qq.com> - 1.2.7.1-2 - add sw64 patch * Wed Jun 29 2022 YukariChiba <i@0x7f.cc> - 1.2.7.1-1 - Upgrade alsa-lib to 1.2.7.1 - Upgrade alsa-ucm-conf to 1.2.7.1 * Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.2.5.1-1 - update to 1.2.5.1 * Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1.2.4-1 - update to 1.2.4 * Mon Aug 10 2020 douyan <douyan@kylinos.cn> - 1.2.3-2 - add alsa-ucm and alsa-topology package * Wed Jul 22 2020 jinzhimin <jinzhimin2@huawei.com> - 1.2.3-1 - update to 1.2.3 * Fri Apr 24 2020 SuperHugePan <zhangpan26@huawei.com> - 1.2.2-1 - update to 1.2.2 * Fri Jan 10 2020 SuperHugePan <zhangpan26@huawei.com> - 1.1.6-6 - remove useless code * Thu Oct 24 2019 caomeng <caomeng5@huawei.com> - 1.1.6-5 - Type:NA - ID:NA - SUG:NA - DESC:delete build requirement alsa-utils * Mon Aug 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-4 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2