File alsa-utils.spec of Package alsa-utils

#
# spec file for package alsa-utils (Version 1.0.14)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           alsa-utils
BuildRequires:  alsa-devel ncurses-devel
%define package_version	1.0.14
License:        GNU General Public License (GPL)
Group:          Productivity/Multimedia/Sound/Players
Provides:       alsa-conf
Requires:       dialog pciutils
Autoreqprov:    on
Summary:        Advanced Linux Sound Architecture Utilities
Version:        1.0.14
Release:        1
Source:         ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
# Patch:          alsa-utils-hg-fixes.diff
Patch10:	alsa-utils-1.0.14rc1-config.patch
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@suse.de>
    Takashi Iwai <tiwai@suse.de>

%prep
%setup -q -n %{name}-%{package_version}
# %patch -p1
%patch10 -p1
mv alsamixer/README alsamixer/README-alsamixer
%{?suse_update_config:%{suse_update_config -f .}}

%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
* Tue Jun 19 2007 - pzb@novell.com
- Add gettext patch
* 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