Accepting request 82998 from multimedia:libs
- Remove redundant tags/sections from specfile as discussed on opensuse-packaging - Use %_smp_mflags for parallel build (forwarded request 82975 from jengelh) OBS-URL: https://build.opensuse.org/request/show/82998 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa-utils?expand=0&rev=58
This commit is contained in:
commit
4265491a8f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 10:58:04 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 28 15:53:16 CEST 2011 - tiwai@suse.de
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%if %suse_version > 1130
|
||||
%define use_systemd 1
|
||||
@ -32,11 +31,10 @@ License: GPLv2+
|
||||
Group: Productivity/Multimedia/Sound/Players
|
||||
Provides: alsa-conf
|
||||
Requires: dialog pciutils
|
||||
AutoReqProv: on
|
||||
Summary: Advanced Linux Sound Architecture Utilities
|
||||
Version: 1.0.24.2
|
||||
Release: 8
|
||||
Source: ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
|
||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2
|
||||
# Patch: alsa-utils-git-fixes.diff
|
||||
Patch1: 0001-alsamixer-fix-display-of-active-inactive-controls.patch
|
||||
Patch2: 0002-alsaloop-libsamplerate-requires-specific-formats-for.patch
|
||||
@ -64,13 +62,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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
|
||||
@ -101,7 +92,7 @@ sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
||||
%endif
|
||||
|
||||
%build
|
||||
export AUTOMAKE_JOBS=%{?jobs:%jobs}
|
||||
export AUTOMAKE_JOBS="%{?_smp_mflags}"
|
||||
%if %suse_version < 1020
|
||||
gettextize -f
|
||||
%endif
|
||||
@ -117,7 +108,7 @@ opts="$opts --with-asound-state-dir=/etc"
|
||||
opts="$opts --disable-xmlto"
|
||||
%endif
|
||||
%configure --with-curses=ncursesw $opts
|
||||
make %{?jobs:-j %jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
@ -129,9 +120,6 @@ ln -s alsa-restore.service $RPM_BUILD_ROOT/lib/systemd/system/alsasound.service
|
||||
mkdir -p $RPM_BUILD_ROOT/var/lib/alsa
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING ChangeLog INSTALL README TODO
|
||||
|
Loading…
Reference in New Issue
Block a user