Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13c372357b | ||
|
|
18cc307ac7 | ||
|
|
7e7809d957 | ||
|
|
b1cd814f81 | ||
|
|
399a5bbd50 | ||
|
|
80d2b2d375 | ||
|
|
c96faef9a2 | ||
|
|
72986ad497 |
3 changed files with 59 additions and 6 deletions
1
alsa-git.patch
Normal file
1
alsa-git.patch
Normal file
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -1,15 +1,16 @@
|
|||
%define baseversion 1.1.6
|
||||
%define baseversion 1.1.9
|
||||
#define fixversion .2
|
||||
%global _hardened_build 1
|
||||
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: %{baseversion}%{?fixversion}
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.alsa-project.org/
|
||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||
Patch1: alsa-git.patch
|
||||
Source4: alsaunmute
|
||||
Source5: alsaunmute.1
|
||||
Source10: alsa.rules
|
||||
|
|
@ -23,6 +24,7 @@ BuildRequires: libsamplerate-devel
|
|||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: python3-docutils
|
||||
BuildRequires: systemd
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
|
|
@ -34,6 +36,24 @@ Requires: alsa-lib%{?_isa} >= %{baseversion}
|
|||
This package contains command line utilities for the Advanced Linux Sound
|
||||
Architecture (ALSA).
|
||||
|
||||
%package -n alsa-ucm-utils
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager
|
||||
Group: Applications/Multimedia
|
||||
Requires: alsa-ucm >= %{baseversion}
|
||||
|
||||
%description -n alsa-ucm-utils
|
||||
This package contains Use Case Manager tools for Advanced Linux Sound
|
||||
Architecture (ALSA) framework.
|
||||
|
||||
%package -n alsa-topology-utils
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
|
||||
Group: Applications/Multimedia
|
||||
Requires: alsa-topology >= %{baseversion}
|
||||
|
||||
%description -n alsa-topology-utils
|
||||
This package contains topology tools for Advanced Linux Sound
|
||||
Architecture (ALSA) framework.
|
||||
|
||||
%package alsabat
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
||||
Group: Applications/Multimedia
|
||||
|
|
@ -45,6 +65,7 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
#%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
|
||||
|
|
@ -60,13 +81,15 @@ make install DESTDIR=%{buildroot}
|
|||
# Install ALSA udev rules
|
||||
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
||||
install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
|
||||
sed -e 's,@bindir@,%{_bindir},g' alsaucm/89-alsa-ucm.rules.in > alsaucm/89-alsa-ucm.rules
|
||||
install -p -m 644 alsaucm/89-alsa-ucm.rules %{buildroot}/%{_prefix}/lib/udev/rules.d/89-alsa-ucm.rules
|
||||
mkdir -p %{buildroot}/%{_unitdir}
|
||||
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
||||
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
||||
|
||||
# Install support utilities
|
||||
mkdir -p -m755 %{buildroot}/%{_bindir}
|
||||
install -p -m 755 alsaunmute %{buildroot}/%{_bindir}
|
||||
install -p -m 755 %{SOURCE4} %{buildroot}/%{_bindir}
|
||||
mkdir -p -m755 %{buildroot}/%{_mandir}/man1
|
||||
install -p -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1/alsaunmute.1
|
||||
|
||||
|
|
@ -85,16 +108,16 @@ install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
|
|||
mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc COPYING ChangeLog README TODO
|
||||
%doc COPYING ChangeLog README.md TODO
|
||||
%config /etc/alsa/*
|
||||
%{_prefix}/lib/udev/rules.d/*
|
||||
%exclude %{_prefix}/lib/udev/rules.d/*alsa-ucm*
|
||||
%{_unitdir}/*
|
||||
%{_unitdir}/sound.target.wants/*
|
||||
%{_prefix}/lib/alsa/init/*
|
||||
%{_bindir}/aconnect
|
||||
%{_bindir}/alsaloop
|
||||
%{_bindir}/alsamixer
|
||||
%{_bindir}/alsaucm
|
||||
%{_bindir}/alsaunmute
|
||||
%{_bindir}/amidi
|
||||
%{_bindir}/amixer
|
||||
|
|
@ -104,10 +127,12 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
|||
%{_bindir}/arecordmidi
|
||||
%{_bindir}/aseqdump
|
||||
%{_bindir}/aseqnet
|
||||
%{_bindir}/axfer
|
||||
%{_bindir}/iecset
|
||||
%{_bindir}/speaker-test
|
||||
%{_bindir}/alsatplg
|
||||
%{_sbindir}/*
|
||||
%exclude %{_sbindir}/alsabat-test.sh
|
||||
%{_datadir}/alsa/
|
||||
%{_datadir}/sounds/*
|
||||
%{_mandir}/man7/*
|
||||
|
|
@ -123,6 +148,9 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
|||
%{_mandir}/man1/arecordmidi.1.gz
|
||||
%{_mandir}/man1/aseqdump.1.gz
|
||||
%{_mandir}/man1/aseqnet.1.gz
|
||||
%{_mandir}/man1/axfer.1.gz
|
||||
%{_mandir}/man1/axfer-list.1.gz
|
||||
%{_mandir}/man1/axfer-transfer.1.gz
|
||||
%{_mandir}/man1/iecset.1.gz
|
||||
%{_mandir}/man1/speaker-test.1.gz
|
||||
%{_mandir}/man1/aconnect.1.gz
|
||||
|
|
@ -133,8 +161,18 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
|||
%dir %{_prefix}/lib/alsa/init/
|
||||
%dir /var/lib/alsa/
|
||||
|
||||
%files -n alsa-ucm-utils
|
||||
%{_prefix}/lib/udev/rules.d/*alsa-ucm*
|
||||
%{_bindir}/alsaucm
|
||||
%{_mandir}/man1/alsaucm.1.gz
|
||||
|
||||
%files -n alsa-topology-utils
|
||||
%{_bindir}/alsatplg
|
||||
%{_mandir}/man1/alsatplg.1.gz
|
||||
|
||||
%files alsabat
|
||||
%{_bindir}/alsabat
|
||||
%{_sbindir}/alsabat-test.sh
|
||||
%{_mandir}/man1/alsabat.1.gz
|
||||
|
||||
%pre
|
||||
|
|
@ -160,6 +198,20 @@ fi
|
|||
%systemd_postun_with_restart alsa-state.service
|
||||
|
||||
%changelog
|
||||
* Fri May 10 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.9-1
|
||||
- Updated to 1.1.9
|
||||
|
||||
* Mon Jan 7 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.8-2
|
||||
- Updated to 1.1.8
|
||||
|
||||
* Tue Oct 16 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.7-2
|
||||
- Moved use case manager utility to alsa-ucm-utils
|
||||
- Moved topology utility to alsa-topology-utils
|
||||
- Updated to 1.1.7
|
||||
|
||||
* Fri Sep 07 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-5
|
||||
- Added udev rules for PAZ00
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (alsa-utils-1.1.6.tar.bz2) = 24d0ffaeeccecb3276d7d35ef51e6de6026a63fa5a1a1e4605b024f54d8097717e97ec9d33cfe50830ad17e4a89268ca24b065039b0df7f9fbe02b570617aa58
|
||||
SHA512 (alsa-utils-1.1.9.tar.bz2) = 92fa689ea5897150972d5376e7999ff060cad09cb0b06991d81c87b61a243ecec944e2a4c7ad38878596cd8b4246e44c5a3a35e5bc6452c02ebf35c9bed91970
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue