Accepting request 82741 from multimedia:libs

- Add alsa-devel to baselibs
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build (forwarded request 82684 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/82741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa?expand=0&rev=113
This commit is contained in:
Lars Vogdt 2011-09-19 13:34:52 +00:00 committed by Git OBS Bridge
commit 65dc7ccf15
3 changed files with 12 additions and 35 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Sep 17 09:02:24 UTC 2011 - jengelh@medozas.de
- Add alsa-devel to baselibs
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Fri Aug 26 09:34:45 CEST 2011 - tiwai@suse.de

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: alsa
@ -26,7 +25,6 @@ Group: System/Libraries
Requires: alsa-utils
Recommends: alsa-plugins alsa-oss
PreReq: %insserv_prereq %fillup_prereq
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: alsa-64bit
@ -91,13 +89,6 @@ PCI, ISA PnP and USB sound cards.
This package contains the ALSA init scripts to start the sound system
on your Linux box. To set it up, run yast2 or alsaconf.
Authors:
--------
Jaroslav Kysela <perex@perex.cz>
Takashi Iwai <tiwai@suse.de>
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
@ -110,13 +101,6 @@ Provides: alsadev alsa-lib-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Jaroslav Kysela <perex@perex.cz>
Takashi Iwai <tiwai@suse.de>
%package docs
Summary: Additional Package Documentation
Group: Documentation/Other
@ -129,13 +113,6 @@ BuildArch: noarch
This package contains optional documentation provided in addition to
this package's base documentation.
Authors:
--------
Jaroslav Kysela <perex@perex.cz>
Takashi Iwai <tiwai@suse.de>
%package -n libasound2
Summary: Advanced Linux Sound Architecture Library
Group: System/Libraries
@ -146,13 +123,6 @@ License: LGPLv2.1+
This package contains the library for ALSA, Advanced Linux Sound
Architecture.
Authors:
--------
Jaroslav Kysela <perex@perex.cz>
Takashi Iwai <tiwai@suse.de>
%prep
%setup -q -n alsa-lib-%{package_version}
# %patch -p1
@ -196,7 +166,7 @@ sed -i -e'/recommends.*alsa-oss/d' $RPM_SOURCE_DIR/baselibs.conf
%endif
%build
export AUTOMAKE_JOBS=%{?jobs:%jobs}
export AUTOMAKE_JOBS="%{?_smp_mflags}"
# build alsa-lib
autoreconf -fi
%configure \
@ -205,7 +175,7 @@ autoreconf -fi
--disable-aload \
--disable-alisp \
--disable-python
make V=1 %{?jobs:-j %jobs}
make V=1 %{?_smp_mflags}
# run doxygen
make -C doc doc
@ -292,9 +262,6 @@ exit 0
%postun -n libasound2 -p /sbin/ldconfig
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc %{_docdir}/%{name}

View File

@ -2,3 +2,6 @@ libasound2
obsoletes "alsa-<targettype>"
provides "alsa-<targettype>"
recommends "alsa-oss-<targettype>"
alsa-devel
requires -alsa-<targettype>
requires "libasound2-<targettype> = <version>"