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.7.tar.bz2
|
||||||
alsa-utils-1.0.8.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
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: 1.0.8
|
Version: 1.0.9rc2
|
||||||
Release: 4
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
|
||||||
Source2: salsa.c
|
Source2: salsa.c
|
||||||
#Source3: xinit-alsa-launch.sh
|
Patch0: alsa-utils-1.0.9rc2-make.patch
|
||||||
#Patch1: alsa-utils-1.0.7-alsa-launch.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
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
#BuildRequires: xorg-x11-devel
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -22,7 +20,7 @@ Architecture (ALSA).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prever}
|
%setup -q -n %{name}-%{version}%{?prever}
|
||||||
#%patch1 -p1 -b .alsa-launch
|
%patch0 -p1 -b .man
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
@ -33,9 +31,9 @@ autoreconf -f -i
|
|||||||
%install
|
%install
|
||||||
%{__rm} -rf ${RPM_BUILD_ROOT}
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%find_lang alsaconf
|
||||||
%{__rm} -f $RPM_BUILD_ROOT/sbin/alsaconf \
|
%{__rm} -f $RPM_BUILD_ROOT/sbin/alsaconf \
|
||||||
$RPM_BUILD_ROOT%{_mandir}/man*/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}
|
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||||
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
|
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
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f alsaconf.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING ChangeLog README TODO
|
%doc COPYING ChangeLog README TODO
|
||||||
%dir /etc/dev.d/sound
|
%dir /etc/dev.d/sound
|
||||||
@ -54,12 +52,15 @@ install -m 755 salsa $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
/sbin/*
|
/sbin/*
|
||||||
#%{_sysconfdir}/X11/xinit/xinitrc.d/*
|
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
/usr/share/locale/*/LC_MESSAGES/*.mo
|
%{_mandir}/fr/man?/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- replace the dev.d script with a program that calls alsactl to
|
||||||
restore the volume if there is a saved config, and just unmutes
|
restore the volume if there is a saved config, and just unmutes
|
||||||
|
Loading…
Reference in New Issue
Block a user