v1.1.0 update

This commit is contained in:
Jaroslav Kysela 2015-10-27 16:58:01 +01:00
parent ae2dce3252
commit 0610978b7d
2 changed files with 69 additions and 22 deletions

View File

@ -1,11 +1,11 @@
%define baseversion 1.0.29 %define baseversion 1.1.0
#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: 2%{?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/
@ -34,6 +34,15 @@ 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 bat
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
Group: Applications/Multimedia
BuildRequires: fftw-devel
%description bat
This package contains tool for basic audio testing using Advanced Linux Sound
Architecture (ALSA) framework and Fast Fourier Transform library.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
@ -45,21 +54,21 @@ make %{?_smp_mflags}
cp %{SOURCE4} . cp %{SOURCE4} .
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=%{buildroot}
%find_lang %{name} %find_lang %{name}
# Install ALSA udev rules # Install ALSA udev rules
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/udev/rules.d mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
install -p -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
mkdir -p $RPM_BUILD_ROOT/%{_unitdir} mkdir -p %{buildroot}/%{_unitdir}
install -p -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}/alsa-restore.service install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
install -p -m 644 %{SOURCE21} $RPM_BUILD_ROOT/%{_unitdir}/alsa-store.service install -p -m 644 %{SOURCE21} %{buildroot}/%{_unitdir}/alsa-store.service
install -p -m 644 %{SOURCE22} $RPM_BUILD_ROOT/%{_unitdir}/alsa-state.service install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
# Install support utilities # Install support utilities
mkdir -p -m755 $RPM_BUILD_ROOT/%{_bindir} mkdir -p -m755 %{buildroot}/%{_bindir}
install -p -m 755 alsaunmute %{buildroot}/%{_bindir} install -p -m 755 alsaunmute %{buildroot}/%{_bindir}
mkdir -p -m755 $RPM_BUILD_ROOT/%{_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
# Move /usr/share/alsa/init to /usr/lib/alsa/init # Move /usr/share/alsa/init to /usr/lib/alsa/init
@ -84,18 +93,52 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
%{_unitdir}/basic.target.wants/* %{_unitdir}/basic.target.wants/*
%{_unitdir}/shutdown.target.wants/* %{_unitdir}/shutdown.target.wants/*
%{_prefix}/lib/alsa/init/* %{_prefix}/lib/alsa/init/*
%{_bindir}/* %{_bindir}/aconnect
%{_bindir}/alsaloop
%{_bindir}/alsamixer
%{_bindir}/alsaucm
%{_bindir}/alsaunmute
%{_bindir}/amidi
%{_bindir}/amixer
%{_bindir}/aplay
%{_bindir}/aplaymidi
%{_bindir}/arecord
%{_bindir}/arecordmidi
%{_bindir}/aseqdump
%{_bindir}/aseqnet
%{_bindir}/iecset
%{_bindir}/speaker-test
%{_sbindir}/* %{_sbindir}/*
%{_datadir}/alsa/ %{_datadir}/alsa/
%{_datadir}/sounds/* %{_datadir}/sounds/*
%{_mandir}/man?/* %{_mandir}/man7/*
%{_mandir}/man1/alsactl.1.gz
%{_mandir}/man1/alsaloop.1.gz
%{_mandir}/man1/alsamixer.1.gz
%{_mandir}/man1/alsaunmute.1.gz
%{_mandir}/man1/amidi.1.gz
%{_mandir}/man1/amixer.1.gz
%{_mandir}/man1/aplay.1.gz
%{_mandir}/man1/aplaymidi.1.gz
%{_mandir}/man1/arecord.1.gz
%{_mandir}/man1/arecordmidi.1.gz
%{_mandir}/man1/aseqdump.1.gz
%{_mandir}/man1/aseqnet.1.gz
%{_mandir}/man1/iecset.1.gz
%{_mandir}/man1/speaker-test.1.gz
%{_mandir}/man1/aconnect.1.gz
%dir /etc/alsa/ %dir /etc/alsa/
%dir %{_prefix}/lib/alsa/ %dir %{_prefix}/lib/alsa/
%dir %{_prefix}/lib/alsa/init/ %dir %{_prefix}/lib/alsa/init/
%dir /var/lib/alsa/ %dir /var/lib/alsa/
%files bat
%{_bindir}/bat
%{_mandir}/man1/bat.1.gz
%pre %pre
if [ ! -r /lib/systemd/system/alsa-state.service ]; then if [ ! -r %{_unitdir}/alsa-state.service ]; then
[ -d /etc/alsa ] || mkdir -m 0755 /etc/alsa [ -d /etc/alsa ] || mkdir -m 0755 /etc/alsa
echo "# Remove this file to disable the alsactl daemon mode" > \ echo "# Remove this file to disable the alsactl daemon mode" > \
/etc/alsa/state-daemon.conf /etc/alsa/state-daemon.conf
@ -117,11 +160,15 @@ fi
%systemd_postun_with_restart alsa-state.service %systemd_postun_with_restart alsa-state.service
%changelog %changelog
* Tue Oct 27 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-1
- Updated to 1.1.0
- create alsa-utils-bat package
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-2 * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1 * Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1
* Updated to 1.0.29 - Updated to 1.0.29
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2 * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
@ -256,7 +303,7 @@ fi
- updated alsa-info.sh to 0.4.54 - updated alsa-info.sh to 0.4.54
* Wed Feb 04 2009 Jaroslav Kysela <jkysela@redhat.com> 1.0.19-2 * Wed Feb 04 2009 Jaroslav Kysela <jkysela@redhat.com> 1.0.19-2
- add %dir directive for /lib/alsa and /lib/alsa/init directories (bz#483324) - add dir directive for /lib/alsa and /lib/alsa/init directories (bz#483324)
* Tue Jan 20 2009 Jaroslav Kysela <jkysela@redhat.com> 1.0.19-1 * Tue Jan 20 2009 Jaroslav Kysela <jkysela@redhat.com> 1.0.19-1
- updated to 1.0.19 final - updated to 1.0.19 final
@ -273,7 +320,7 @@ fi
* Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-2.rc3 * Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-2.rc3
- fixed /lib/alsa/init path for x86_64 (was /lib64/alsa/init) - fixed /lib/alsa/init path for x86_64 (was /lib64/alsa/init)
- added /etc/alsa/asound.state -> /etc/asound.state shift to %post section - added /etc/alsa/asound.state -> /etc/asound.state shift to post section
- fix udev rules (ommited /dev/ prefix for the alsactl utility) - fix udev rules (ommited /dev/ prefix for the alsactl utility)
- added --ignore option for alsactl (added also to upstream) - added --ignore option for alsactl (added also to upstream)
@ -343,7 +390,7 @@ fi
- added more funcionality to salsa (save/load sound settings), - added more funcionality to salsa (save/load sound settings),
moved volume settings to /etc/alsa/ moved volume settings to /etc/alsa/
* Thu Apr 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.4.rc2 * Tue Apr 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.4.rc2
- added support for large files - added support for large files
- minor fix in alsaunmute - minor fix in alsaunmute
- fixed #209239 - alsaconf: Stale language-dependent files - fixed #209239 - alsaconf: Stale language-dependent files

View File

@ -1 +1 @@
6b289bf874c4c9a63f4b3973093dd404 alsa-utils-1.0.29.tar.bz2 a88411f7cf64a1787f7eda3a10e898ac alsa-utils-1.1.0.tar.bz2