alsa-utils: fix building
This commit is contained in:
parent
68170257f5
commit
964d7e1ebd
@ -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: 4%{?prever_dot}%{?dist}
|
Release: 5%{?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/
|
||||||
@ -13,9 +13,6 @@ Source4: alsaunmute
|
|||||||
Source6: alsa-info.sh
|
Source6: alsa-info.sh
|
||||||
Source10: alsa.rules
|
Source10: alsa.rules
|
||||||
Source11: alsactl.conf
|
Source11: alsactl.conf
|
||||||
Patch0: alsa-utils-1.0.18-alsaconf.patch
|
|
||||||
Patch1: alsactl-fix-card-parsing.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
|
||||||
@ -29,12 +26,9 @@ Architecture (ALSA).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prever}
|
%setup -q -n %{name}-%{version}%{?prever}
|
||||||
%patch0 -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 --disable-alsaconf
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
%{__cp} %{SOURCE4} .
|
%{__cp} %{SOURCE4} .
|
||||||
|
|
||||||
@ -96,6 +90,9 @@ if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 04 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-5
|
||||||
|
- fixed building
|
||||||
|
|
||||||
* Tue Nov 04 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-4
|
* Tue Nov 04 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-4
|
||||||
- updated to 1.0.18 final
|
- updated to 1.0.18 final
|
||||||
- updated alsa-info.sh script
|
- updated alsa-info.sh script
|
||||||
|
Loading…
Reference in New Issue
Block a user