Compare commits
No commits in common. "c8" and "imports/c8-beta/alsa-utils-1.2.1-2.el8" have entirely different histories.
c8
...
imports/c8
@ -1 +1 @@
|
|||||||
d6cf080d84c96ab0904fe7f74edadac7d77d47c3 SOURCES/alsa-utils-1.2.8.tar.bz2
|
f45e0a4f37a74235d09fcf2540de9d11f8e3a7e3 SOURCES/alsa-utils-1.2.1.tar.bz2
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/alsa-utils-1.2.8.tar.bz2
|
SOURCES/alsa-utils-1.2.1.tar.bz2
|
||||||
|
@ -1,16 +1,11 @@
|
|||||||
%define baseversion 1.2.8
|
%define baseversion 1.2.1
|
||||||
#define fixversion .2
|
#define fixversion .2
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%global _without_ucm 1
|
|
||||||
%global _without_topology 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
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: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
@ -21,7 +16,6 @@ Source10: alsa.rules
|
|||||||
Source11: alsactl.conf
|
Source11: alsactl.conf
|
||||||
Source20: alsa-restore.service
|
Source20: alsa-restore.service
|
||||||
Source22: alsa-state.service
|
Source22: alsa-state.service
|
||||||
Patch1: alsa-git.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: alsa-lib-devel >= %{baseversion}
|
BuildRequires: alsa-lib-devel >= %{baseversion}
|
||||||
@ -41,31 +35,23 @@ 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).
|
||||||
|
|
||||||
%if 0%{!?_without_ucm:1}
|
|
||||||
%package -n alsa-ucm-utils
|
%package -n alsa-ucm-utils
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager
|
Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Requires: alsa-ucm >= %{baseversion}
|
Requires: alsa-ucm >= %{baseversion}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_ucm:1}
|
|
||||||
%description -n alsa-ucm-utils
|
%description -n alsa-ucm-utils
|
||||||
This package contains Use Case Manager tools for Advanced Linux Sound
|
This package contains Use Case Manager tools for Advanced Linux Sound
|
||||||
Architecture (ALSA) framework.
|
Architecture (ALSA) framework.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_topology:1}
|
|
||||||
%package -n alsa-topology-utils
|
%package -n alsa-topology-utils
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
|
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Requires: alsa-topology >= %{baseversion}
|
Requires: alsa-topology >= %{baseversion}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_topology:1}
|
|
||||||
%description -n alsa-topology-utils
|
%description -n alsa-topology-utils
|
||||||
This package contains topology tools for Advanced Linux Sound
|
This package contains topology tools for Advanced Linux Sound
|
||||||
Architecture (ALSA) framework.
|
Architecture (ALSA) framework.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package alsabat
|
%package alsabat
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
||||||
@ -78,7 +64,6 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch1 -p1 -b .alsa-git
|
|
||||||
|
|
||||||
%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 \
|
||||||
@ -94,6 +79,8 @@ 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
|
||||||
@ -118,22 +105,11 @@ install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
|
|||||||
# Create /var/lib/alsa tree
|
# Create /var/lib/alsa tree
|
||||||
mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
||||||
|
|
||||||
find %{buildroot} -name "*.la" -exec rm {} \;
|
|
||||||
|
|
||||||
%if 0%{?_without_ucm:1}
|
|
||||||
rm %{buildroot}%{_bindir}/alsaucm
|
|
||||||
rm %{buildroot}%{_mandir}/man1/alsaucm.1
|
|
||||||
%endif
|
|
||||||
%if 0%{?_without_topology:1}
|
|
||||||
rm %{buildroot}%{_bindir}/alsatplg
|
|
||||||
rm %{buildroot}%{_mandir}/man1/alsatplg.1
|
|
||||||
rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc COPYING ChangeLog README.md TODO alsamixer/alsamixer.rc.example
|
%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/*
|
||||||
@ -181,18 +157,14 @@ rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
|
|||||||
%dir %{_prefix}/lib/alsa/init/
|
%dir %{_prefix}/lib/alsa/init/
|
||||||
%dir /var/lib/alsa/
|
%dir /var/lib/alsa/
|
||||||
|
|
||||||
%if 0%{!?_without_ucm:1}
|
|
||||||
%files -n alsa-ucm-utils
|
%files -n alsa-ucm-utils
|
||||||
|
%{_prefix}/lib/udev/rules.d/*alsa-ucm*
|
||||||
%{_bindir}/alsaucm
|
%{_bindir}/alsaucm
|
||||||
%{_mandir}/man1/alsaucm.1.gz
|
%{_mandir}/man1/alsaucm.1.gz
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_topology:1}
|
|
||||||
%files -n alsa-topology-utils
|
%files -n alsa-topology-utils
|
||||||
%{_bindir}/alsatplg
|
%{_bindir}/alsatplg
|
||||||
%{_mandir}/man1/alsatplg.1.gz
|
%{_mandir}/man1/alsatplg.1.gz
|
||||||
%{_libdir}/alsa-topology/libalsatplg_module_*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files alsabat
|
%files alsabat
|
||||||
%{_bindir}/alsabat
|
%{_bindir}/alsabat
|
||||||
@ -222,26 +194,6 @@ fi
|
|||||||
%systemd_postun_with_restart alsa-state.service
|
%systemd_postun_with_restart alsa-state.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 25 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.8-1
|
|
||||||
- Updated to 1.2.8
|
|
||||||
- Do not build alsa-ucm-utils and alsa-topology-utils subpackages for RHEL
|
|
||||||
|
|
||||||
* Fri Jul 8 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7-1
|
|
||||||
- Updated to 1.2.7
|
|
||||||
|
|
||||||
* Mon Dec 20 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.6-1
|
|
||||||
- Updated to 1.2.6
|
|
||||||
|
|
||||||
* Mon Jun 14 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-3
|
|
||||||
- Updated to 1.2.5
|
|
||||||
|
|
||||||
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.4-2
|
|
||||||
- Updated to 1.2.4
|
|
||||||
- Apply fixes from recent upstream
|
|
||||||
|
|
||||||
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.3-1
|
|
||||||
- Updated to 1.2.3
|
|
||||||
|
|
||||||
* Fri Nov 15 2019 Jaroslav Kysela <perex@perex.cz> - 1.2.1-2
|
* Fri Nov 15 2019 Jaroslav Kysela <perex@perex.cz> - 1.2.1-2
|
||||||
- Updated to 1.2.1
|
- Updated to 1.2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user