File alsa-utils.spec of Package alsa-utils

#
# spec file for package alsa-utils (Version 1.0.18)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           alsa-utils
BuildRequires:  alsa-devel ncurses-devel xmlto
%define package_version	1.0.18
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Players
Provides:       alsa-conf
Requires:       dialog pciutils
AutoReqProv:    on
Summary:        Advanced Linux Sound Architecture Utilities
Version:        1.0.18
Release:        6
Source:         ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
# Patch:          alsa-utils-git-fixes.diff
# Patch1:         alsa-utils-%{package_version}-package-fix.diff
Patch2:         alsa-utils-speaker-test-parameter-get-fix.diff
Url:            http://www.alsa-project.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains utility programs supporting ALSA, Advanced Linux
Sound Architecture.



Authors:
--------
    Jaroslav Kysela <perex@perex.cz>
    Takashi Iwai <tiwai@suse.de>

%prep
%setup -q -n %{name}-%{package_version}
# %patch1 -p1
# %patch -p1
%patch2 -p1
mv alsamixer/README alsamixer/README-alsamixer

%build
autoreconf -fi
%configure --with-curses=ncursesw
make %{?jobs:-j %jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name} --all-name

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-, root, root)
%doc COPYING ChangeLog INSTALL README TODO
%doc alsamixer/README*
%doc seq/aconnect/README*
%doc seq/aseqnet/README*
%doc %{_mandir}/man*/*
%doc %{_mandir}/fr
%{_bindir}/*
%{_sbindir}/*
%{_datadir}/sounds/alsa
%{_datadir}/alsa

%changelog
* Wed Nov 26 2008 tiwai@suse.de
- fix division-by-zero error in speaker-test program
* Wed Oct 29 2008 tiwai@suse.de
- updated to version 1.0.18-final;
  just including all previous fixes
* Thu Oct 23 2008 tiwai@suse.de
- added --test-position in aplay/arecord for debugging
- can disable the build of alsaconf in configure
- alsactl -g option to ignore 'no soundcards' error
* Thu Sep 11 2008 tiwai@suse.de
- fix possible segfaults during parsing in alsactl
* Wed Sep 10 2008 tiwai@suse.de
- updated to 1.0.18rc3:
  * more alsactl init implementations
* Wed Aug 06 2008 tiwai@suse.de
- alsactl init implementation (still non-working status, though)
- iecset utility updates for new IEC958 status bits
* Tue Jul 15 2008 tiwai@suse.de
- updated to 1.0.17-final:
  * just a version bump
* Wed Jun 18 2008 tiwai@suse.de
- updated to 1.0.17rc2:
  * including last fixes
* Wed Apr 16 2008 tiwai@suse.de
- HG snapshot 20080416:
  * fix a cast warning in aplay
  * use ncurses*-config in configure
* Fri Mar 14 2008 tiwai@suse.de
- HG snapshot 20080314:
  * stereo VU-meter support in aplay
* Mon Mar 10 2008 tiwai@suse.de
- HG snapshot 20080309:
  * support extensible WAV format in aplay
  * flush output in aseqdump
  * fix poll timeout in seq/* utils
  * clean up configure
* Wed Feb 13 2008 tiwai@suse.de
- clean up configure script
- add support of IEEE float in aplay/arecord
* Fri Feb 08 2008 tiwai@suse.de
- updated to version 1.0.16-final:
  * just a version bump
* Tue Jan 22 2008 tiwai@suse.de
- updated to version 1.0.16-rc1:
  * just a version bump
* Wed Jan 09 2008 tiwai@suse.de
- updated to HG 2008.01.09 version:
  * alsact: skip inactive controls
  * alsamixer: add 8-channel support
  * aplay, speaker-test: remove obsolete APIs
* Fri Dec 14 2007 tiwai@suse.de
- updated to HG 2007.12.14 version:
  * merged previous patches
  * fix blocking mode around snd_pcm_drain() calls in aplay
* Fri Nov 30 2007 tiwai@suse.de
- Merge upstream fixes:
  * make -F option as default for alsactl
  * fix iecset index range
  * fix a bug in alsactl restore that restores wrong values
* Mon Nov 12 2007 tiwai@suse.de
- fix double entries of comment.tlv in alsactl (#340516)
* Mon Nov 05 2007 tiwai@suse.de
- fix speaker-test with pulse plugin output
- use stderr for error message from speaker-test
* Mon Oct 29 2007 tiwai@suse.de
- make alsactl more robust
  * restore the volume values with channel changes
  * restore from dB level if available
* Tue Oct 16 2007 tiwai@suse.de
- updated to version 1.0.15-final
  * including all previous patches
* Mon Sep 17 2007 tiwai@suse.de
- fix the handling of capture enum elements in alsamixer (#325677)
* Tue Aug 14 2007 tiwai@suse.de
- amixer - Allow to pass enum item string for cset, too
- aplay - Include missing time.h for time()
* Mon Jul 30 2007 tiwai@suse.de
- HG fixes (as of 2007.07.28)
  * don't install hwcfg file for openSUSE 10.3 in alsaconf
  * fix the handling of enum channels in amixer
  * fix VU meter of aplay
  * fix possible infinite loop with signal handler in aplay
* Thu May 31 2007 tiwai@suse.de
- updated to version 1.0.14-final
  including previous HG fixes
* Thu May 24 2007 tiwai@suse.de
- HG patch as of 2007.05.24:
  * more error verbose messages in alsactl
  * fix duplicated mixer elements in alsamixer
- Use find_lang
* Wed May 02 2007 tiwai@suse.de
- updated to version 1.0.14rc4
  including HG fixes
* Mon Apr 16 2007 tiwai@suse.de
- split from alsa package
openSUSE Build Service is sponsored by