SHA256
1
0
forked from pool/musepack

- Add baselibs.conf: libmpcdec6-32bit is a dependency for

gstreamer-plugins-bad-32bit.
  libmpcdec.so.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/musepack?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-07-08 07:59:55 +00:00 committed by Git OBS Bridge
parent aef94f4740
commit 29d71beb7c
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 8 07:57:33 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Add baselibs.conf: libmpcdec6-32bit is a dependency for
gstreamer-plugins-bad-32bit.
-------------------------------------------------------------------
Thu Jul 4 10:42:03 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
@ -12,7 +18,7 @@ Thu Jul 4 10:42:03 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
Fri Jun 21 20:11:03 UTC 2019 - mgorse@suse.com
- Conflict with libmpcdec-devel, since both packages provide
libmpcdec.so.
libmpcdec.so.
- Use cmake macros.
- Move source modifications from %prep to %build. Makes 'quilt
setup' more robust.

View File

@ -1,8 +1,8 @@
#
# spec file for package musepack
#
# Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,16 +18,16 @@
%define so_ver 6
Name: musepack
Version: r475
Release: 0
Summary: Audio Compression Format
# libmpcdec: BSD, libmpcenc/libmpcpsy: LGPL, tools: GPL, huffman coding: Zlib
License: BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later AND Zlib
Summary: Audio Compression Format
Url: https://www.musepack.net/
Group: Productivity/Multimedia/Other
URL: https://www.musepack.net/
Source0: https://files.musepack.net/source/%{name}_src_%{version}.tar.gz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM libmpcdec.patch asterios.dramis@gmail.com -- Fix CMakeLists.txt to install a libmpcdec shared library, fix missing libmpcdec link to libm
Patch0: libmpcdec.patch
BuildRequires: cmake
@ -46,6 +46,7 @@ optimized and patentless code.
%package devel
Summary: Development Files for Musepack
License: BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later AND Zlib
Group: Development/Libraries/C and C++
Requires: libmpcdec%{so_ver} = %{version}
Conflicts: libmpcdec-devel
@ -89,7 +90,6 @@ sed -i "s/set(CMAKE_C_FLAGS.*$//" CMakeLists.txt
%cmake_install
%post -n libmpcdec%{so_ver} -p /sbin/ldconfig
%postun -n libmpcdec%{so_ver} -p /sbin/ldconfig
%files