代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/alsa-utils 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: alsa-utils
Version: 1.2.10
Release: 2
Summary: Advanced linux sound architecture (ALSA) utility to the Linux operating system.
License: GPLv2+
URL: http://www.alsa-project.org/
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
Source1: alsaunmute
Source2: alsaunmute.1
Source3: alsa.rules
Source4: alsactl.conf
Source5: alsa-restore.service
Source6: alsa-state.service
Patch001: alsa-utils-git.patch
BuildRequires: gcc alsa-lib-devel >= %{version} libsamplerate-devel ncurses-devel
BuildRequires: gettext-devel xmlto python3-docutils systemd
Requires: systemd alsa-lib >= %{version} alsa-ucm >= %{version} alsa-topology >= %{version}
Provides: alsa-ucm-utils = %{version}-%{release}
Obsoletes: alsa-ucm-utils < %{version}-%{release}
Provides: alsa-topology-utils = %{version}-%{release}
Obsoletes: alsa-topology-utils < %{version}-%{release}
%description
This package provides command line utilities for audio and MIDI functionality
to the Linux operating system. In addition, it also contains Use Case Manager tools
and topology tools for Advanced Linux Sound Architecture (ALSA) framework.
%package devel
Summary: ALSA - Basic Audio Tester
BuildRequires: fftw-devel
Provides: %{name}-alsabat = %{version}-%{release}
Obsoletes: %{name}-alsabat < %{version}-%{release}
%description devel
This package contains tool for basic audio testing using ALSA framework
and Fast Fourier Transform library.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
--with-udev-rules-dir=%{_prefix}/lib/udev/rules.d --with-systemdsystemunitdir=%{_unitdir}
%make_build
cp %{SOURCE1} .
%install
%make_install
%find_lang %{name}
install -d %{buildroot}/%{_prefix}/lib/udev/rules.d
install -p -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
install -d %{buildroot}/%{_unitdir}
install -p -m 644 %{SOURCE5} %{buildroot}/%{_unitdir}/alsa-restore.service
install -p -m 644 %{SOURCE6} %{buildroot}/%{_unitdir}/alsa-state.service
install -d -m755 %{buildroot}/%{_bindir}
install -p -m 755 %{SOURCE1} %{buildroot}/%{_bindir}
install -d -m755 %{buildroot}/%{_mandir}/man1
install -p -m 644 %{SOURCE2} %{buildroot}/%{_mandir}/man1/alsaunmute.1
install -d -m 755 %{buildroot}%{_prefix}/lib/alsa
mv %{buildroot}%{_datadir}/alsa/init %{buildroot}%{_prefix}/lib/alsa
ln -s ../../lib/alsa/init %{buildroot}%{_datadir}/alsa/init
install -d -m 755 %{buildroot}/etc/alsa
install -p -m 644 %{SOURCE4} %{buildroot}/etc/alsa
install -d -m 755 %{buildroot}%{_sharedstatedir}/alsa
%pre
if [ ! -r %{_unitdir}/alsa-state.service ]; then
[ -d /etc/alsa ] || mkdir -m 0755 /etc/alsa
echo "# Remove this file to disable the alsactl daemon mode" > \
/etc/alsa/state-daemon.conf
fi
%post
%systemd_post alsa-state.service
%preun
%systemd_preun alsa-state.service
%postun
%systemd_postun_with_restart alsa-state.service
%files -f %{name}.lang
%doc COPYING ChangeLog
%config /etc/alsa/*
%{_prefix}/lib/udev/rules.d/*
%{_prefix}/lib/alsa/init/*
%{_unitdir}/*
%{_sbindir}/*
%{_datadir}/alsa/
%{_datadir}/sounds/*
%dir /etc/alsa/
%dir %{_prefix}/lib/alsa/
%dir %{_prefix}/lib/alsa/init/
%dir %{_sharedstatedir}/alsa/
%{_bindir}/*
%exclude %{_bindir}/alsabat
%exclude %{_sbindir}/alsabat-test.sh
%files devel
%{_bindir}/alsabat
%{_sbindir}/alsabat-test.sh
%{_libdir}/alsa-topology/libalsatplg_module_*
%files help
%{_mandir}/*/*
%doc README.md TODO
%changelog
* Tue Aug 20 2024 Jingbo Hou <houjingbo@cqsoftware.com.cn> - 1.2.10-2
- Replaced declaration of help subpackage with the 'package_help' macro.
* Thu Mar 07 2024 yaoxin <yao_xin001@hoperun.com> - 1.2.10-1
- Upgrade to 1.2.10
* Fri May 05 2023 chenchen <chen_aka_jan@163.com> - 1.2.8-1
- Update to version 1.2.8
* Tue Apr 28 2020 Guoshuai Sun <sunguoshuai@huawei.com> - 1.2.2-2
- Update to version 1.2.2
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 1.1.6-8
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。