New upstream version, add %find_lang macro (#155719)
This commit is contained in:
parent
0e0d153d95
commit
f4893ae98c
@ -1,2 +1,3 @@
|
||||
alsa-utils-1.0.7.tar.bz2
|
||||
alsa-utils-1.0.8.tar.bz2
|
||||
alsa-utils-1.0.9rc2.tar.bz2
|
||||
|
@ -1,19 +1,17 @@
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: 1.0.8
|
||||
Release: 4
|
||||
Version: 1.0.9rc2
|
||||
Release: 1
|
||||
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: salsa.c
|
||||
#Source3: xinit-alsa-launch.sh
|
||||
#Patch1: alsa-utils-1.0.7-alsa-launch.patch
|
||||
Patch0: alsa-utils-1.0.9rc2-make.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: alsa-lib-devel >= %{version}
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gettext-devel
|
||||
#BuildRequires: xorg-x11-devel
|
||||
|
||||
|
||||
%description
|
||||
@ -22,7 +20,7 @@ Architecture (ALSA).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prever}
|
||||
#%patch1 -p1 -b .alsa-launch
|
||||
%patch0 -p1 -b .man
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
@ -33,9 +31,9 @@ autoreconf -f -i
|
||||
%install
|
||||
%{__rm} -rf ${RPM_BUILD_ROOT}
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang alsaconf
|
||||
%{__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,7 +44,7 @@ install -m 755 salsa $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f alsaconf.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING ChangeLog README TODO
|
||||
%dir /etc/dev.d/sound
|
||||
@ -54,12 +52,15 @@ install -m 755 salsa $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
/sbin/*
|
||||
#%{_sysconfdir}/X11/xinit/xinitrc.d/*
|
||||
%{_mandir}/man?/*
|
||||
/usr/share/locale/*/LC_MESSAGES/*.mo
|
||||
%{_mandir}/fr/man?/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Apr 25 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
|
||||
- New upstream version
|
||||
- add %find_lang macro (#155719)
|
||||
|
||||
* Fri Apr 1 2005 Bill Nottingham <notting@redhat.com> 1.0.8-4
|
||||
- replace the dev.d script with a program that calls alsactl to
|
||||
restore the volume if there is a saved config, and just unmutes
|
||||
|
Loading…
Reference in New Issue
Block a user