alsacard utility for s-c-s
This commit is contained in:
parent
696341d236
commit
a742b942fa
@ -1 +1,2 @@
|
|||||||
alsa-lib-1.0.9rc4.tar.bz2
|
alsa-lib-1.0.9rc4.tar.bz2
|
||||||
|
alsacard.c
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
||||||
Name: alsa-lib
|
Name: alsa-lib
|
||||||
Version: 1.0.9rc4
|
Version: 1.0.9rc4
|
||||||
Release: 1
|
Release: 2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
||||||
Source1: ainit-0.4.tar.gz
|
Source1: ainit-0.4.tar.gz
|
||||||
#Patch0: alsa-lib-mixer.patch
|
Source2: alsacard.c
|
||||||
Patch3: alsa-lib-ainit.patch
|
Patch0: alsa-lib-ainit-2.patch
|
||||||
Patch6: alsa-lib-ainit-dsnoop.patch
|
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -36,8 +35,7 @@ against the ALSA libraries and interfaces.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prever} -a 1
|
%setup -q -n %{name}-%{version}%{?prever} -a 1
|
||||||
%patch3 -p1 -b .ainit
|
%patch0 -p1 -b .ainit
|
||||||
%patch6 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -47,10 +45,14 @@ against the ALSA libraries and interfaces.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
make doc
|
make doc
|
||||||
|
|
||||||
|
# Compile ainit
|
||||||
cd ainit
|
cd ainit
|
||||||
./compile
|
./compile
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# Compile alsacard
|
||||||
|
%{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE2} -lasound
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
@ -66,6 +68,9 @@ mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir}
|
|||||||
# install ainit binaries
|
# install ainit binaries
|
||||||
install -m 755 ainit/ainit %{buildroot}%{_bindir}
|
install -m 755 ainit/ainit %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
# alsa_card binary
|
||||||
|
install -m 755 alsacard %{buildroot}%{_bindir}
|
||||||
|
|
||||||
# install ainit config files
|
# install ainit config files
|
||||||
install -m 644 ainit/config/ainit.conf %{buildroot}%{_sysconfdir}/alsa/ainit.conf
|
install -m 644 ainit/config/ainit.conf %{buildroot}%{_sysconfdir}/alsa/ainit.conf
|
||||||
install -m 644 ainit/config/dmix.template %{buildroot}%{_sysconfdir}/alsa/pcm/dmix.template
|
install -m 644 ainit/config/dmix.template %{buildroot}%{_sysconfdir}/alsa/pcm/dmix.template
|
||||||
@ -98,6 +103,7 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
|
|||||||
%{_sysconfdir}/alsa
|
%{_sysconfdir}/alsa
|
||||||
%config %{_sysconfdir}/alsa/alsa.conf
|
%config %{_sysconfdir}/alsa/alsa.conf
|
||||||
%{_bindir}/ainit
|
%{_bindir}/ainit
|
||||||
|
%{_bindir}/alsacard
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -112,6 +118,9 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
|
|||||||
%{_datadir}/aclocal/alsa.m4
|
%{_datadir}/aclocal/alsa.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 27 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc4-2
|
||||||
|
- alsacard utility for s-c-s
|
||||||
|
|
||||||
* Tue May 24 2005 Bill Nottingham <notting@redhat.com> 1.0.9rc4-1
|
* Tue May 24 2005 Bill Nottingham <notting@redhat.com> 1.0.9rc4-1
|
||||||
- update to 1.0.9rc4 (#157180, #158547)
|
- update to 1.0.9rc4 (#157180, #158547)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user