alsa-utils: fix alsa-info.sh and alsactl-add-ignore-option.patch
This commit is contained in:
parent
ea6ff33ba7
commit
d4aee049f5
@ -4,7 +4,7 @@
|
|||||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: 1.0.18
|
Version: 1.0.18
|
||||||
Release: 2%{?prever_dot}%{?dist}
|
Release: 3%{?prever_dot}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
@ -15,7 +15,7 @@ Source10: alsa.rules
|
|||||||
Source11: alsactl.conf
|
Source11: alsactl.conf
|
||||||
Patch0: alsa-utils-1.0.18-alsaconf.patch
|
Patch0: alsa-utils-1.0.18-alsaconf.patch
|
||||||
Patch1: alsactl-fix-card-parsing.patch
|
Patch1: alsactl-fix-card-parsing.patch
|
||||||
Patch1: alsactl-add-ignore-option.patch
|
Patch2: alsactl-add-ignore-option.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: alsa-lib-devel >= %{version}
|
BuildRequires: alsa-lib-devel >= %{version}
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@ -31,6 +31,7 @@ Architecture (ALSA).
|
|||||||
%setup -q -n %{name}-%{version}%{?prever}
|
%setup -q -n %{name}-%{version}%{?prever}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin
|
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin
|
||||||
@ -68,7 +69,7 @@ touch %{buildroot}/etc/asound.state
|
|||||||
|
|
||||||
# Install alsa-info.sh script
|
# Install alsa-info.sh script
|
||||||
install -p -m 755 %{SOURCE6} %{buildroot}/usr/bin/alsa-info
|
install -p -m 755 %{SOURCE6} %{buildroot}/usr/bin/alsa-info
|
||||||
ln -s alsa-info.sh %{buildroot}/usr/bin/alsa-info
|
ln -s alsa-info %{buildroot}/usr/bin/alsa-info.sh
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
@ -95,6 +96,9 @@ if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-3.rc3
|
||||||
|
- fixed alsa-info.sh link
|
||||||
|
|
||||||
* 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
|
||||||
|
Loading…
Reference in New Issue
Block a user