File libmpcdec.spec of Package libmpcdec
#
# spec file for package libmpcdec (Version 1.2.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libmpcdec
Version: 1.2.6
Release: 4
URL: http://www.musepack.net/
Group: Productivity/Multimedia/Sound/Players
License: BSD 3-Clause
Summary: Musepack Audio Decoder
Source: http://files2.musepack.net/source/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: libmpcdec-1.2.6-nosamples.patch
%description
Musepack is an audio compression format with a strong emphasis on high
quality. It is not lossless, but it is designed for transparency, so
that you cannot hear differences between the original WAV file and the
much smaller MPC file.
It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it
has rapidly developed and vastly improved and is now at an advanced
stage in which it contains heavily optimized and patentless code.
Musepack is not particularly optimized for low bit rates. The encoder
was designed to be transparent at the --standard setting, thus little
low bit rate tuning has gone into the codec, unlike that of AAC,
Vorbis, WMA, and others that focus more on this region.
Authors:
--------
Andree Buschmann
Frank Klemm
Peter Pawlowski
Benoit Amiaux
Miles Egan
%package -n libmpcdec5
Group: Productivity/Multimedia/Sound/Players
Summary: Musepack Audio Decoder
Provides: %{name} = %{version}
#openSUSE 10.2
Obsoletes: %{name} <= 1.2.6
%description -n libmpcdec5
Musepack is an audio compression format with a strong emphasis on high
quality. It is not lossless, but it is designed for transparency, so
that you cannot hear differences between the original WAV file and the
much smaller MPC file.
It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it
has rapidly developed and vastly improved and is now at an advanced
stage in which it contains heavily optimized and patentless code.
Musepack is not particularly optimized for low bit rates. The encoder
was designed to be transparent at the --standard setting, thus little
low bit rate tuning has gone into the codec, unlike that of AAC,
Vorbis, WMA, and others that focus more on this region.
Authors:
--------
Andree Buschmann
Frank Klemm
Peter Pawlowski
Benoit Amiaux
Miles Egan
%package devel
Group: Development/Libraries/C and C++
Summary: Musepack Audio Decoder
Requires: libmpcdec5 = %{version} glibc-devel
%description devel
Musepack is an audio compression format with a strong emphasis on high
quality. It's not lossless, but it is designed for transparency, so
that you won't be able to hear differences between the original wave
file and the much smaller MPC file.
It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it
has rapidly developed and vastly improved and is now at an advanced
stage in which it contains heavily optimized and patentless code.
Musepack is not particularly optimized for low bitrates. The encoder
was designed to be transparent at the --standard setting, thus little
low bitrate tuning has gone into the codec, opposite to that of AAC,
Vorbis, WMA and others which focus more on this region.
Authors:
--------
Andree Buschmann
Frank Klemm
Peter Pawlowski
Benoit Amiaux
Miles Egan
%prep
%setup -q
%patch0
%build
autoreconf -fi
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
#empty dependency_libs
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
%{__rm} -rf %{buildroot}
%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
%{_libdir}/*.so
%dir %{_includedir}/mpcdec
%{_includedir}/mpcdec/*.h
%changelog
* Thu Aug 16 2007 - crrodriguez@suse.de
- fixes build on ia-64 only useless and unpackaged sample
requires g++ for build (libmpcdec-1.2.6-nosamples.patch)
* Mon Aug 13 2007 - crrodriguez@suse.de
- remove static libraries
- remove libtool archive with empty dependency_libs
- add missing glibc-devel dependency on -devel package
* Mon Jul 30 2007 - ro@suse.de
- provide old name
* Wed Jul 25 2007 - sbrabec@suse.cz
- Updated to version 1.2.6:
* Fix possible noise at the beginning of files
* Increase API version
* Fix broken stream initialization on non-mpc files
* Added fast-seeking
* Reduced memory usage and code size
- Name package according to shared library packaging policy.
* Wed Jun 28 2006 - sbrabec@suse.cz
- New SuSE package, version 1.2.2.