Accepting request 753071 from home:StefanBruens:branches:multimedia:libs
- Remove build dependencies for progs subpackage from library: * alsa-devel, only needed for the examples * sqlite3-devel, only needed for the regression test - Only build library, pass --disable-full-suite to configure OBS-URL: https://build.opensuse.org/request/show/753071 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsndfile?expand=0&rev=77
This commit is contained in:
parent
a740e1bd49
commit
f1444ccfd3
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsndfile-progs
|
# spec file for package libsndfile-progs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: Example Programs for libsndfile
|
Summary: Example Programs for libsndfile
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.mega-nerd.com/libsndfile/
|
URL: http://www.mega-nerd.com/libsndfile/
|
||||||
Source0: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
|
Source0: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
|
||||||
Source1: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz.asc
|
Source1: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz.asc
|
||||||
Source2: libsndfile.keyring
|
Source2: libsndfile.keyring
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 01:46:45 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Remove build dependencies for progs subpackage from library:
|
||||||
|
* alsa-devel, only needed for the examples
|
||||||
|
* sqlite3-devel, only needed for the regression test
|
||||||
|
- Only build library, pass --disable-full-suite to configure
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 13:42:05 CET 2018 - tiwai@suse.de
|
Tue Dec 4 13:42:05 CET 2018 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsndfile
|
# spec file for package libsndfile
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -23,7 +23,7 @@ Release: 0
|
|||||||
Summary: Development/Libraries/C and C++
|
Summary: Development/Libraries/C and C++
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.mega-nerd.com/libsndfile
|
URL: http://www.mega-nerd.com/libsndfile
|
||||||
Source0: http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz
|
Source0: http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz
|
||||||
Source1: http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz.asc
|
Source1: http://www.mega-nerd.com/%{name}/files/%{name}-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
@ -44,14 +44,12 @@ Patch34: sndfile-deinterlace-channels-check.patch
|
|||||||
Patch40: libsndfile-wav-loop-count-fix.patch
|
Patch40: libsndfile-wav-loop-count-fix.patch
|
||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
Patch100: sndfile-ocloexec.patch
|
Patch100: sndfile-ocloexec.patch
|
||||||
BuildRequires: alsa-devel
|
|
||||||
BuildRequires: flac-devel
|
BuildRequires: flac-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: speex-devel
|
BuildRequires: speex-devel
|
||||||
BuildRequires: sqlite-devel
|
|
||||||
Obsoletes: libsnd
|
Obsoletes: libsnd
|
||||||
Provides: libsnd
|
Provides: libsnd
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -103,16 +101,13 @@ libsndfile library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
||||||
%if 0%{?suse_version} < 1200
|
|
||||||
sed -i -e'/^AM_SILENT_RULES/d' configure.ac
|
|
||||||
%endif
|
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
CFLAGS="%{optflags} %{warn_flags}"
|
CFLAGS="%{optflags} %{warn_flags}"
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-sqlite \
|
--disable-full-suite \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--enable-experimental
|
--enable-experimental
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user