|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package libmpcdec
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ Release: 0
|
|
|
|
|
Summary: Musepack Audio Decoder
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Url: http://www.musepack.net/
|
|
|
|
|
URL: https://www.musepack.net/
|
|
|
|
|
Source0: http://files.musepack.net/source/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: baselibs.conf
|
|
|
|
|
Patch0: libmpcdec-1.2.6-nosamples.patch
|
|
|
|
@ -31,7 +31,6 @@ BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Musepack is an audio compression format with a strong emphasis on high
|
|
|
|
@ -51,9 +50,8 @@ Vorbis, WMA, and others that focus more on this region.
|
|
|
|
|
%package -n libmpcdec5
|
|
|
|
|
Summary: Musepack Audio Decoder
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
|
#openSUSE 10.2
|
|
|
|
|
Obsoletes: %{name} < %{version}
|
|
|
|
|
Provides: %{name}
|
|
|
|
|
Obsoletes: %{name}
|
|
|
|
|
|
|
|
|
|
%description -n libmpcdec5
|
|
|
|
|
Musepack is an audio compression format with a strong emphasis on high
|
|
|
|
@ -99,26 +97,22 @@ Vorbis, WMA and others which focus more on this region.
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-pic
|
|
|
|
|
--disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
|
#empty dependency_libs
|
|
|
|
|
%make_install
|
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
|
|
%post -n libmpcdec5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libmpcdec5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n libmpcdec5
|
|
|
|
|
%defattr (-, root, root)
|
|
|
|
|
%{_libdir}/*.so.5*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr (-, root, root)
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog README
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%dir %{_includedir}/mpcdec
|
|
|
|
|
%{_includedir}/mpcdec/*.h
|
|
|
|
|