forked from pool/alsa-utils
232 lines
7.3 KiB
RPMSpec
232 lines
7.3 KiB
RPMSpec
#
|
|
# spec file for package alsa-utils (Version 1.0.20)
|
|
#
|
|
# Copyright (c) 2009 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.20
|
|
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.20
|
|
Release: 3
|
|
Source: ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
|
|
Patch: alsa-utils-git-fixes.diff
|
|
Patch1: alsa-utils-gettext-version-removal.diff
|
|
Patch2: alsa-utils-po-pre-patch.diff
|
|
Patch3: alsa-utils-alsamixer-old-ncurses-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}
|
|
# fix stupid automake's automatic action
|
|
sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
|
# fix po changes in tarball first
|
|
%patch2 -p1
|
|
rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
|
|
%patch -p1
|
|
%if %suse_version < 1020
|
|
%patch1 -p1
|
|
%endif
|
|
%if %suse_version < 1110
|
|
%patch3 -p1
|
|
%endif
|
|
|
|
%build
|
|
%if %suse_version < 1020
|
|
gettextize -f
|
|
%endif
|
|
autoreconf -fi
|
|
%if %suse_version < 1030
|
|
%define moreopts --disable-xmlto
|
|
%else
|
|
%define moreopts
|
|
%endif
|
|
%configure --with-curses=ncursesw %moreopts
|
|
make %{?jobs:-j %jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%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 seq/aconnect/README*
|
|
%doc seq/aseqnet/README*
|
|
%doc %{_mandir}/man*/*
|
|
%doc %{_mandir}/fr
|
|
%{_bindir}/*
|
|
%{_sbindir}/*
|
|
%{_datadir}/sounds/alsa
|
|
%{_datadir}/alsa
|
|
|
|
%changelog
|
|
* Fri Jun 19 2009 tiwai@suse.de
|
|
- tricolorize alsamixer volumes
|
|
- fix alsactl init values
|
|
* Tue Jun 02 2009 tiwai@suse.de
|
|
- fix alsamixer man page about capture elements
|
|
* Fri May 29 2009 tiwai@suse.de
|
|
- sync with the upstream:
|
|
* alsamixer code rewrite
|
|
* more alsactl init fixes
|
|
* translations updates
|
|
* Wed May 20 2009 tiwai@suse.de
|
|
- speaker-test minor clean-ups
|
|
- fix alsactl init headphone volume setup
|
|
* Wed May 06 2009 tiwai@suse.de
|
|
- updated to version 1.0.20:
|
|
* including previous patches
|
|
* a few more fixes about alsactl init command
|
|
* Thu Apr 23 2009 tiwai@suse.de
|
|
- updated as of 2009.04.23:
|
|
* Added vi-like key bindings to alsamixer
|
|
* alsactl/init: Fix CTL{value} assigning - make it relevant to
|
|
documentation
|
|
* aplay/arecord: improve suspicious buffer detection and add
|
|
--test-coef parameter
|
|
* aplay/arecord: remove debug printfs introduced by previous
|
|
patch
|
|
* aplay/arecord: fix underrun/overrun time calculation for
|
|
monotonic clock
|
|
* Wed Mar 18 2009 tiwai@suse.de
|
|
- add missing -I option for alsactl
|
|
- prefer /etc/modprobe.d/50-sound.conf for new module-init-tools
|
|
* Mon Feb 16 2009 tiwai@suse.de
|
|
- alsactl: init - modify default rule to better support some HDA
|
|
codecs
|
|
- Fix build with partially-installed alsa-lib
|
|
* Thu Jan 22 2009 tiwai@suse.de
|
|
- updated to version 1.0.19
|
|
- use ANSI-C functions instead of index()
|
|
* 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
|