add alsa-launch
This commit is contained in:
parent
ee99c8f4e8
commit
a49c192116
@ -1,15 +1,18 @@
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: 1.0.7
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPL
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.alsa-project.org/
|
||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
||||
Source2: alsa.dev
|
||||
Source3: xinit-alsa-launch.sh
|
||||
Patch1: alsa-utils-1.0.7-alsa-launch.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: alsa-lib-devel >= %{version}
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xorg-x11-devel
|
||||
|
||||
|
||||
%description
|
||||
@ -18,8 +21,10 @@ Architecture (ALSA).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prever}
|
||||
%patch1 -p1 -b .alsa-launch
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
%configure --sbindir=/sbin
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
@ -28,6 +33,7 @@ Architecture (ALSA).
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__rm} -f $RPM_BUILD_ROOT/sbin/alsaconf \
|
||||
$RPM_BUILD_ROOT%{_mandir}/man*/alsaconf*
|
||||
install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/alsa-launch.sh
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
|
||||
@ -46,9 +52,17 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
/sbin/*
|
||||
%{_sysconfdir}/X11/xinit/xinitrc.d/*
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%changelog
|
||||
* Sat Jan 08 2005 Colin Walters <walters@redhat.com> 1.0.7-2
|
||||
- New patch alsa-utils-1.0.7-alsa-launch.patch, adds the
|
||||
alsa-launch command.
|
||||
- New source file xinit-alsa-launch.sh, integrates alsa-launch
|
||||
into X startup
|
||||
- BR xorg-x11-devel
|
||||
|
||||
* Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1
|
||||
- New upstream version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user