Accepting request 82684 from home:jengelh:bl
- Add alsa-devel to baselibs - Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build OBS-URL: https://build.opensuse.org/request/show/82684 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=92
This commit is contained in:
parent
783ddef97f
commit
7cfe82adc9
@ -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
|
Fri Aug 26 09:34:45 CEST 2011 - tiwai@suse.de
|
||||||
|
|
||||||
|
37
alsa.spec
37
alsa.spec
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: alsa
|
Name: alsa
|
||||||
@ -26,7 +25,6 @@ Group: System/Libraries
|
|||||||
Requires: alsa-utils
|
Requires: alsa-utils
|
||||||
Recommends: alsa-plugins alsa-oss
|
Recommends: alsa-plugins alsa-oss
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
AutoReqProv: on
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: alsa-64bit
|
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
|
This package contains the ALSA init scripts to start the sound system
|
||||||
on your Linux box. To set it up, run yast2 or alsaconf.
|
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
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/C and C++
|
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
|
This package contains all necessary include files and libraries needed
|
||||||
to develop applications that require these.
|
to develop applications that require these.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Jaroslav Kysela <perex@perex.cz>
|
|
||||||
Takashi Iwai <tiwai@suse.de>
|
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Summary: Additional Package Documentation
|
Summary: Additional Package Documentation
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
@ -129,13 +113,6 @@ BuildArch: noarch
|
|||||||
This package contains optional documentation provided in addition to
|
This package contains optional documentation provided in addition to
|
||||||
this package's base documentation.
|
this package's base documentation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Jaroslav Kysela <perex@perex.cz>
|
|
||||||
Takashi Iwai <tiwai@suse.de>
|
|
||||||
|
|
||||||
%package -n libasound2
|
%package -n libasound2
|
||||||
Summary: Advanced Linux Sound Architecture Library
|
Summary: Advanced Linux Sound Architecture Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -146,13 +123,6 @@ License: LGPLv2.1+
|
|||||||
This package contains the library for ALSA, Advanced Linux Sound
|
This package contains the library for ALSA, Advanced Linux Sound
|
||||||
Architecture.
|
Architecture.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Jaroslav Kysela <perex@perex.cz>
|
|
||||||
Takashi Iwai <tiwai@suse.de>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n alsa-lib-%{package_version}
|
%setup -q -n alsa-lib-%{package_version}
|
||||||
# %patch -p1
|
# %patch -p1
|
||||||
@ -196,7 +166,7 @@ sed -i -e'/recommends.*alsa-oss/d' $RPM_SOURCE_DIR/baselibs.conf
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export AUTOMAKE_JOBS=%{?jobs:%jobs}
|
export AUTOMAKE_JOBS="%{?_smp_mflags}"
|
||||||
# build alsa-lib
|
# build alsa-lib
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure \
|
%configure \
|
||||||
@ -205,7 +175,7 @@ autoreconf -fi
|
|||||||
--disable-aload \
|
--disable-aload \
|
||||||
--disable-alisp \
|
--disable-alisp \
|
||||||
--disable-python
|
--disable-python
|
||||||
make V=1 %{?jobs:-j %jobs}
|
make V=1 %{?_smp_mflags}
|
||||||
# run doxygen
|
# run doxygen
|
||||||
make -C doc doc
|
make -C doc doc
|
||||||
|
|
||||||
@ -292,9 +262,6 @@ exit 0
|
|||||||
|
|
||||||
%postun -n libasound2 -p /sbin/ldconfig
|
%postun -n libasound2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc %{_docdir}/%{name}
|
%doc %{_docdir}/%{name}
|
||||||
|
@ -2,3 +2,6 @@ libasound2
|
|||||||
obsoletes "alsa-<targettype>"
|
obsoletes "alsa-<targettype>"
|
||||||
provides "alsa-<targettype>"
|
provides "alsa-<targettype>"
|
||||||
recommends "alsa-oss-<targettype>"
|
recommends "alsa-oss-<targettype>"
|
||||||
|
alsa-devel
|
||||||
|
requires -alsa-<targettype>
|
||||||
|
requires "libasound2-<targettype> = <version>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user