Accepting request 456823 from multimedia:libs
1 OBS-URL: https://build.opensuse.org/request/show/456823 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa?expand=0&rev=173
This commit is contained in:
commit
c5858e7b9b
@ -1,21 +0,0 @@
|
|||||||
diff --git a/doc/doxygen.cfg.in b/doc/doxygen.cfg.in
|
|
||||||
index f4499d6..6bd6486 100644
|
|
||||||
--- a/doc/doxygen.cfg.in
|
|
||||||
+++ b/doc/doxygen.cfg.in
|
|
||||||
@@ -77,7 +77,6 @@ INPUT = @top_srcdir@/doc/index.doxygen \
|
|
||||||
@top_srcdir@/src/rawmidi \
|
|
||||||
@top_srcdir@/src/timer \
|
|
||||||
@top_srcdir@/src/hwdep \
|
|
||||||
- @top_srcdir@/src/seq \
|
|
||||||
@top_srcdir@/src/ucm
|
|
||||||
EXCLUDE = @top_srcdir@/src/control/control_local.h \
|
|
||||||
@top_srcdir@/src/pcm/atomic.h \
|
|
||||||
@@ -94,7 +93,7 @@ EXCLUDE = @top_srcdir@/src/control/control_local.h \
|
|
||||||
@top_srcdir@/src/mixer/mixer_local.h \
|
|
||||||
@top_srcdir@/src/rawmidi/rawmidi_local.h \
|
|
||||||
@top_srcdir@/src/seq/seq_local.h \
|
|
||||||
- @top_srcdir@/src/seq/ucm_local.h
|
|
||||||
+ @top_srcdir@/src/ucm/ucm_local.h
|
|
||||||
RECURSIVE = YES
|
|
||||||
FILE_PATTERNS = *.c *.h
|
|
||||||
EXAMPLE_PATH = @top_srcdir@/test
|
|
15
alsa.changes
15
alsa.changes
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 13 10:28:23 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Drop alsa-lib-doxygen-avoid-crash-for-11.3.diff as it was applied
|
||||||
|
only in case of 11.3 and never else
|
||||||
|
- Use Requires(phase) instead of prereq string
|
||||||
|
- Use official %udevrulesdir macro instead of handbrew udevdir
|
||||||
|
- Version provides/obsoletes in devel pkg to avoid warning
|
||||||
|
- Remove hack that allowed build on SLE10
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 8 08:39:05 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Don't require insserv if we don't need it.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 28 16:38:57 CET 2016 - tiwai@suse.de
|
Wed Dec 28 16:38:57 CET 2016 - tiwai@suse.de
|
||||||
|
|
||||||
|
53
alsa.spec
53
alsa.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package alsa
|
# spec file for package alsa
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,10 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define package_version 1.1.3
|
%define package_version 1.1.3
|
||||||
%if 0%{?suse_version} > 1200
|
%if 0%{?suse_version} < 1200
|
||||||
%define _udevdir %(pkg-config --variable=udevdir udev)
|
%define _udevrulesdir /lib/udev/rules.d/
|
||||||
%else
|
|
||||||
%define _udevdir /lib/udev
|
|
||||||
%endif
|
%endif
|
||||||
Name: alsa
|
Name: alsa
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
@ -46,29 +44,24 @@ Source32: all_notes_off.mid
|
|||||||
Source34: alsa-init.sh
|
Source34: alsa-init.sh
|
||||||
Source40: 50-alsa.conf
|
Source40: 50-alsa.conf
|
||||||
Source41: install-snd-module
|
Source41: install-snd-module
|
||||||
# Patch: alsa-lib-git-fixes.diff
|
|
||||||
# upstream fixes
|
# upstream fixes
|
||||||
# rest suse patches
|
# rest suse patches
|
||||||
Patch99: alsa-lib-doxygen-avoid-crash-for-11.3.diff
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
Requires: alsa-utils
|
Requires: alsa-utils
|
||||||
# FIXME: use proper Requires(pre/post/preun/...)
|
Requires(post): %fillup_prereq
|
||||||
PreReq: %fillup_prereq
|
|
||||||
PreReq: %insserv_prereq
|
|
||||||
Recommends: alsa-oss
|
Recommends: alsa-oss
|
||||||
Recommends: alsa-plugins
|
Recommends: alsa-plugins
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} <= 1310
|
||||||
|
Requires(post): %insserv_prereq
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1200
|
%if 0%{?suse_version} > 1200
|
||||||
BuildRequires: pkgconfig(udev)
|
BuildRequires: pkgconfig(udev)
|
||||||
%else
|
%else
|
||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
%endif
|
%endif
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: alsa-64bit
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ALSA stands for Advanced Linux Sound Architecture. It supports many
|
ALSA stands for Advanced Linux Sound Architecture. It supports many
|
||||||
@ -83,9 +76,9 @@ License: LGPL-2.1+
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libasound2 = %{version}
|
Requires: libasound2 = %{version}
|
||||||
Obsoletes: alsadev
|
Obsoletes: alsadev < %{version}
|
||||||
Provides: alsa-lib-devel
|
Provides: alsa-lib-devel = %{version}
|
||||||
Provides: alsadev
|
Provides: alsadev = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
@ -115,18 +108,6 @@ Architecture.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n alsa-lib-%{package_version}
|
%setup -q -n alsa-lib-%{package_version}
|
||||||
# %patch -p1
|
|
||||||
# build fixes
|
|
||||||
%if 0%{?suse_version} == 1130
|
|
||||||
%patch99 -p1
|
|
||||||
%endif
|
|
||||||
# hack to fix build on older distros
|
|
||||||
%if 0%{?suse_version} < 1100
|
|
||||||
%ifarch %{ix86}
|
|
||||||
test -f $RPM_SOURCE_DIR/baselibs.conf && \
|
|
||||||
sed -i -e'/recommends.*alsa-oss/d' $RPM_SOURCE_DIR/baselibs.conf
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export AUTOMAKE_JOBS="%{?_smp_mflags}"
|
export AUTOMAKE_JOBS="%{?_smp_mflags}"
|
||||||
@ -144,7 +125,7 @@ make -C doc doc %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# install shared library
|
# install shared library
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
# clean up unneeded files
|
# clean up unneeded files
|
||||||
rm -f %{buildroot}%{_libdir}/*.*a
|
rm -f %{buildroot}%{_libdir}/*.*a
|
||||||
# rm -f %{buildroot}%{_libdir}/alsa-lib/smixer/*.*a
|
# rm -f %{buildroot}%{_libdir}/alsa-lib/smixer/*.*a
|
||||||
@ -185,11 +166,11 @@ ln -s ../..%{_initddir}/joystick %{buildroot}%{_sbindir}/rcjoystick
|
|||||||
#
|
#
|
||||||
# udev rules (only for non-systemd)
|
# udev rules (only for non-systemd)
|
||||||
#
|
#
|
||||||
mkdir -p %{buildroot}%{_udevdir}/rules.d
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
||||||
%if 0%{?suse_version} < 1140
|
%if 0%{?suse_version} < 1140
|
||||||
install -c -m 0644 %{SOURCE8} %{buildroot}%{_udevdir}/rules.d
|
install -c -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}
|
||||||
%endif
|
%endif
|
||||||
install -c -m 0644 %{SOURCE9} %{buildroot}%{_udevdir}/rules.d
|
install -c -m 0644 %{SOURCE9} %{buildroot}%{_udevrulesdir}
|
||||||
#
|
#
|
||||||
# modprobe config and the module install script for loading OSS-emulation
|
# modprobe config and the module install script for loading OSS-emulation
|
||||||
# and sequencer modules automatically
|
# and sequencer modules automatically
|
||||||
@ -228,7 +209,6 @@ cp doc/asoundrc.txt %{buildroot}%{_docdir}/%{name}/alsa-lib
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%if 0%{?suse_version} <= 1310
|
%if 0%{?suse_version} <= 1310
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal alsasound joystick
|
%stop_on_removal alsasound joystick
|
||||||
exit 0
|
exit 0
|
||||||
@ -240,7 +220,6 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n libasound2 -p /sbin/ldconfig
|
%post -n libasound2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libasound2 -p /sbin/ldconfig
|
%postun -n libasound2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -258,7 +237,7 @@ exit 0
|
|||||||
%{_prefix}/lib/all_notes_off.*
|
%{_prefix}/lib/all_notes_off.*
|
||||||
%{_datadir}/sounds/alsa
|
%{_datadir}/sounds/alsa
|
||||||
%{_localstatedir}/adm/fillup-templates/*
|
%{_localstatedir}/adm/fillup-templates/*
|
||||||
%{_udevdir}/rules.d/*
|
%{_udevrulesdir}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user