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
|
#define fixversion .2
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: %{baseversion}%{?fixversion}
|
Version: %{baseversion}%{?fixversion}
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||||
|
Patch1: alsa-git.patch
|
||||||
Source4: alsaunmute
|
Source4: alsaunmute
|
||||||
Source5: alsaunmute.1
|
Source5: alsaunmute.1
|
||||||
Source10: alsa.rules
|
Source10: alsa.rules
|
||||||
|
|
@ -23,6 +24,7 @@ BuildRequires: libsamplerate-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
BuildRequires: python3-docutils
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
|
|
@ -34,6 +36,24 @@ Requires: alsa-lib%{?_isa} >= %{baseversion}
|
||||||
This package contains command line utilities for the Advanced Linux Sound
|
This package contains command line utilities for the Advanced Linux Sound
|
||||||
Architecture (ALSA).
|
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
|
%package alsabat
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
|
|
@ -45,6 +65,7 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
#%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
|
%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
|
# Install ALSA udev rules
|
||||||
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
||||||
install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
|
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}
|
mkdir -p %{buildroot}/%{_unitdir}
|
||||||
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
||||||
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
||||||
|
|
||||||
# Install support utilities
|
# Install support utilities
|
||||||
mkdir -p -m755 %{buildroot}/%{_bindir}
|
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
|
mkdir -p -m755 %{buildroot}/%{_mandir}/man1
|
||||||
install -p -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1/alsaunmute.1
|
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
|
mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc COPYING ChangeLog README TODO
|
%doc COPYING ChangeLog README.md TODO
|
||||||
%config /etc/alsa/*
|
%config /etc/alsa/*
|
||||||
%{_prefix}/lib/udev/rules.d/*
|
%{_prefix}/lib/udev/rules.d/*
|
||||||
|
%exclude %{_prefix}/lib/udev/rules.d/*alsa-ucm*
|
||||||
%{_unitdir}/*
|
%{_unitdir}/*
|
||||||
%{_unitdir}/sound.target.wants/*
|
%{_unitdir}/sound.target.wants/*
|
||||||
%{_prefix}/lib/alsa/init/*
|
%{_prefix}/lib/alsa/init/*
|
||||||
%{_bindir}/aconnect
|
%{_bindir}/aconnect
|
||||||
%{_bindir}/alsaloop
|
%{_bindir}/alsaloop
|
||||||
%{_bindir}/alsamixer
|
%{_bindir}/alsamixer
|
||||||
%{_bindir}/alsaucm
|
|
||||||
%{_bindir}/alsaunmute
|
%{_bindir}/alsaunmute
|
||||||
%{_bindir}/amidi
|
%{_bindir}/amidi
|
||||||
%{_bindir}/amixer
|
%{_bindir}/amixer
|
||||||
|
|
@ -104,10 +127,12 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
||||||
%{_bindir}/arecordmidi
|
%{_bindir}/arecordmidi
|
||||||
%{_bindir}/aseqdump
|
%{_bindir}/aseqdump
|
||||||
%{_bindir}/aseqnet
|
%{_bindir}/aseqnet
|
||||||
|
%{_bindir}/axfer
|
||||||
%{_bindir}/iecset
|
%{_bindir}/iecset
|
||||||
%{_bindir}/speaker-test
|
%{_bindir}/speaker-test
|
||||||
%{_bindir}/alsatplg
|
%{_bindir}/alsatplg
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
|
%exclude %{_sbindir}/alsabat-test.sh
|
||||||
%{_datadir}/alsa/
|
%{_datadir}/alsa/
|
||||||
%{_datadir}/sounds/*
|
%{_datadir}/sounds/*
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
|
|
@ -123,6 +148,9 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
||||||
%{_mandir}/man1/arecordmidi.1.gz
|
%{_mandir}/man1/arecordmidi.1.gz
|
||||||
%{_mandir}/man1/aseqdump.1.gz
|
%{_mandir}/man1/aseqdump.1.gz
|
||||||
%{_mandir}/man1/aseqnet.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/iecset.1.gz
|
||||||
%{_mandir}/man1/speaker-test.1.gz
|
%{_mandir}/man1/speaker-test.1.gz
|
||||||
%{_mandir}/man1/aconnect.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 %{_prefix}/lib/alsa/init/
|
||||||
%dir /var/lib/alsa/
|
%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
|
%files alsabat
|
||||||
%{_bindir}/alsabat
|
%{_bindir}/alsabat
|
||||||
|
%{_sbindir}/alsabat-test.sh
|
||||||
%{_mandir}/man1/alsabat.1.gz
|
%{_mandir}/man1/alsabat.1.gz
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
@ -160,6 +198,20 @@ fi
|
||||||
%systemd_postun_with_restart alsa-state.service
|
%systemd_postun_with_restart alsa-state.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- 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