v1.1.0 update
This commit is contained in:
parent
ae2dce3252
commit
0610978b7d
@ -1,11 +1,11 @@
|
||||
%define baseversion 1.0.29
|
||||
#define fixversion .2
|
||||
%global _hardened_build 1
|
||||
%define baseversion 1.1.0
|
||||
#define fixversion .2
|
||||
%global _hardened_build 1
|
||||
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: %{baseversion}%{?fixversion}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
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
|
||||
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
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
@ -45,21 +54,21 @@ make %{?_smp_mflags}
|
||||
cp %{SOURCE4} .
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=%{buildroot}
|
||||
%find_lang %{name}
|
||||
|
||||
# Install ALSA udev rules
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/udev/rules.d
|
||||
install -p -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
||||
install -p -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}/alsa-restore.service
|
||||
install -p -m 644 %{SOURCE21} $RPM_BUILD_ROOT/%{_unitdir}/alsa-store.service
|
||||
install -p -m 644 %{SOURCE22} $RPM_BUILD_ROOT/%{_unitdir}/alsa-state.service
|
||||
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
||||
install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
|
||||
mkdir -p %{buildroot}/%{_unitdir}
|
||||
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
||||
install -p -m 644 %{SOURCE21} %{buildroot}/%{_unitdir}/alsa-store.service
|
||||
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
||||
|
||||
# Install support utilities
|
||||
mkdir -p -m755 $RPM_BUILD_ROOT/%{_bindir}
|
||||
mkdir -p -m755 %{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
|
||||
|
||||
# Move /usr/share/alsa/init to /usr/lib/alsa/init
|
||||
@ -84,21 +93,55 @@ mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
||||
%{_unitdir}/basic.target.wants/*
|
||||
%{_unitdir}/shutdown.target.wants/*
|
||||
%{_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}/*
|
||||
%{_datadir}/alsa/
|
||||
%{_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 %{_prefix}/lib/alsa/
|
||||
%dir %{_prefix}/lib/alsa/init/
|
||||
%dir /var/lib/alsa/
|
||||
|
||||
%files bat
|
||||
%{_bindir}/bat
|
||||
%{_mandir}/man1/bat.1.gz
|
||||
|
||||
%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
|
||||
echo "# Remove this file to disable the alsactl daemon mode" > \
|
||||
/etc/alsa/state-daemon.conf
|
||||
/etc/alsa/state-daemon.conf
|
||||
fi
|
||||
|
||||
%post
|
||||
@ -117,11 +160,15 @@ fi
|
||||
%systemd_postun_with_restart alsa-state.service
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
@ -256,7 +303,7 @@ fi
|
||||
- updated alsa-info.sh to 0.4.54
|
||||
|
||||
* 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
|
||||
- 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
|
||||
- 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)
|
||||
- added --ignore option for alsactl (added also to upstream)
|
||||
|
||||
@ -343,7 +390,7 @@ fi
|
||||
- added more funcionality to salsa (save/load sound settings),
|
||||
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
|
||||
- minor fix in alsaunmute
|
||||
- fixed #209239 - alsaconf: Stale language-dependent files
|
||||
|
Loading…
Reference in New Issue
Block a user