forked from pool/alsa-utils
backported patches
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=21
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package alsa-utils (Version 1.0.21)
|
||||
# spec file for package alsa-utils (Version 1.0.23)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -20,19 +20,32 @@
|
||||
|
||||
Name: alsa-utils
|
||||
BuildRequires: alsa-devel ncurses-devel xmlto
|
||||
%define package_version 1.0.22
|
||||
%define package_version 1.0.23
|
||||
License: GPLv2+
|
||||
Group: Productivity/Multimedia/Sound/Players
|
||||
Provides: alsa-conf
|
||||
Requires: dialog pciutils
|
||||
AutoReqProv: on
|
||||
Summary: Advanced Linux Sound Architecture Utilities
|
||||
Version: 1.0.21
|
||||
Release: 4
|
||||
Version: 1.0.23
|
||||
Release: 1
|
||||
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
|
||||
# Patch: alsa-utils-git-fixes.diff
|
||||
Patch1: 0001-alsactl-use-snd_config_imake-functions.patch
|
||||
Patch2: 0002-alsactl-move-alloca-out-of-loop.patch
|
||||
Patch3: 0003-alsactl-remove-open-coded-search.patch
|
||||
Patch4: 0004-alsactl-correctly-restore-dB-values-of-controls-with.patch
|
||||
Patch5: 0005-alsactl-change-format-of-comment-node-in-state-file.patch
|
||||
Patch6: 0006-Revert-wrong-parts-of-alsactl-use-snd_config_imake-f.patch
|
||||
Patch7: 0007-aplay-arecord-Added-hardware-pause-support-press-SPA.patch
|
||||
Patch8: 0008-aplay-fix-termio-settings-return-back-old-c_flag-val.patch
|
||||
Patch9: 0009-speaker-test-add-test-pattern-for-PCM-layer-debuggin.patch
|
||||
Patch10: 0010-aplay-arecord-term_c_lflag-variable-might-be-unitial.patch
|
||||
Patch11: 0011-alsactl-init-Use-Found-hardware-instead-Unknown-hard.patch
|
||||
Patch12: 0012-alsactl-init-use-generic-method-instead-guess-method.patch
|
||||
Patch13: 0013-alsactl-Change-handling-of-inactive-controls.patch
|
||||
Patch99: alsa-utils-gettext-version-removal.diff
|
||||
# Patch100: alsa-utils-po-pre-patch.diff
|
||||
Url: http://www.alsa-project.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -52,11 +65,24 @@ Authors:
|
||||
# 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
|
||||
# %patch100 -p1
|
||||
# rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
|
||||
%patch -p1
|
||||
%if %suse_version < 1020
|
||||
# %patch -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%if %suse_version < 1020
|
||||
%patch99 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
Reference in New Issue
Block a user