added support for large files, minor fix in alsaunmute, fixed #209239 -
alsaconf: Stale language-dependent files
This commit is contained in:
parent
0fa50ade0e
commit
ce3a065382
@ -4,7 +4,7 @@
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
Version: 1.0.14
|
||||
Release: 0.3%{?prever_dot}%{?dist}
|
||||
Release: 0.4%{?prever_dot}%{?dist}
|
||||
License: GPL
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.alsa-project.org/
|
||||
@ -13,6 +13,7 @@ Source2: salsa.c
|
||||
Source3: alsacard.c
|
||||
Source4: alsaunmute.c
|
||||
Source10: alsa.rules
|
||||
Patch: alsa-utils-1.0.14-alsaconf.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: alsa-lib-devel >= %{version}
|
||||
BuildRequires: ncurses-devel
|
||||
@ -25,9 +26,10 @@ Architecture (ALSA).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prever}
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS" --sbindir=/sbin
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__cc} $RPM_OPT_FLAGS -o salsa %{SOURCE2} -lasound
|
||||
%{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE3} -lasound
|
||||
@ -36,9 +38,6 @@ Architecture (ALSA).
|
||||
%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*
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
|
||||
@ -53,7 +52,7 @@ install -m 755 alsacard %{buildroot}/bin
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f alsaconf.lang
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING ChangeLog README TODO
|
||||
/etc/udev/rules.d/*
|
||||
@ -62,12 +61,16 @@ install -m 755 alsacard %{buildroot}/bin
|
||||
%{_sbindir}/*
|
||||
/sbin/*
|
||||
%{_mandir}/man?/*
|
||||
%{_mandir}/fr/man?/*
|
||||
/usr/share/sounds/alsa/*
|
||||
/usr/share/alsa/speaker-test/*
|
||||
/usr/share/locale/*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.4.rc2
|
||||
- added support for large files
|
||||
- minor fix in alsaunmute
|
||||
- fixed #209239 - alsaconf: Stale language-dependent files
|
||||
|
||||
* Fri Jan 19 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.3.rc2
|
||||
- new upstream
|
||||
|
||||
|
@ -290,7 +290,7 @@ void usage(char *p_name)
|
||||
printf("Usage: alsaunmute card_number [-v] [-s volume]\n\n");
|
||||
printf(" card_number - number of unmuted card\n");
|
||||
printf(" [-v] - verbose mode\n");
|
||||
printf(" [-s volume] - set this volume level instead of the default (75%)\n");
|
||||
printf(" [-s volume] - set this volume level instead of the default (75%%)\n");
|
||||
printf(" the volume is number from 0 to 100\n\n");
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user