libwavpack/libwavpack.spec

147 lines
5.9 KiB
RPMSpec

Name: libwavpack
Version: 5.7.0
Release: 1mamba
Summary: Lossless Audio compressor
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.wavpack.com/
Source: http://www.wavpack.com/wavpack-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
%{name} is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode. Although the technology is loosely based on previous versions of %{name}, the new version 4 format has been designed from the ground up to offer unparalleled performance and functionality.
In the default lossless mode %{name} acts just like a WinZip compressor for audio files. However, unlike MP3 or WMA encoding which can affect the sound quality, not a single bit of the original information is lost, so there's no chance of degradation. This makes lossless mode ideal for archiving audio material or any other situation where quality is paramount. The compression ratio depends on the source material, but generally is between 30% and 70%.
The hybrid mode provides all the advantages of lossless compression with an additional bonus. Instead of creating a single file, this mode creates both a relatively small, high-quality lossy file that can be used all by itself, and a "correction" file that (when combined with the lossy file) provides full lossless restoration. For some users this means never having to choose between lossless and lossy compression!
%{name} features include:
* Compatible with virtually all PCM audio formats including 8, 16, 24, and 32-bit ints; 32-bit floats; mono, stereo, and multichannel; sampling rates from 6 to 192 kHz (and non-standard rates)
* Multiplatform support including Windows, Linux, and OS X
* Instantly seekable and streaming capable (and gapless)
* ReplayGain (including WavPack file scanner and compatible plugins)
* Uses ID3v1 and APEv2 tags for metadata (including ReplayGain)
* Error-tolerant block format conducive to hardware decoding
* Optional "asymmetrical" mode for improved compression
* MD5 audio checksums for verification and identification
* Unique hybrid mode (provides high quality lossy + "correction" file
* Dynamic noise shaping (dns) for optimum quality at lower hybrid bitrates
* Hybrid mode now operates as low as 2.25 bits/sample (or 196 kbps for CD audio)
* Free and open source with easy to use library interface and unrestrictive license (BSD)
* Intuitive command line interface (with wildcards and destination directory)
* Small, efficient executable (no large programs or dlls to install)
* Special "low latency" version available for custom applications
* Self-extracting archives with cuesheets (Windows only)
* Fully backward compatible to WavPack 1.0
* Java decoder now available
* Complete piping support
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libwavpack-static < 5.5.0
%description devel
This package contains static libraries and header files needed for development with libwavpack.
%package tools
Group: Applications/Multimedia
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains tools provided with libwavpack.
%debug_package
%prep
%setup -q -n wavpack-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libwavpack.so.*
%doc COPYING
%files tools
%defattr(-,root,root)
%{_bindir}/wavpack
%{_bindir}/wvgain
%{_bindir}/wvtag
%{_bindir}/wvunpack
%{_mandir}/man1/wavpack.1*
%{_mandir}/man1/wvgain.1*
%{_mandir}/man1/wvtag.1*
%{_mandir}/man1/wvunpack.1*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/wavpack
%{_includedir}/wavpack/*.h
%{_libdir}/libwavpack.so
%{_libdir}/pkgconfig/*.pc
%dir %{_docdir}/wavpack
%{_docdir}/wavpack/*
%doc ChangeLog
%changelog
* Fri Mar 01 2024 Automatic Build System <autodist@openmamba.org> 5.7.0-1mamba
- automatic version update by autodist
* Sat Dec 03 2022 Automatic Build System <autodist@mambasoft.it> 5.6.0-1mamba
- automatic version update by autodist
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 5.5.0-1mamba
- automatic version update by autodist
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
- automatic version update by autodist
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 5.3.0-1mamba
- automatic version update by autodist
* Sat Jan 18 2020 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
- automatic version update by autodist
* Sun Feb 05 2017 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
- automatic version update by autodist
* Tue Dec 13 2016 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Sat May 28 2016 Automatic Build System <autodist@mambasoft.it> 4.80.0-1mamba
- automatic version update by autodist
* Thu Oct 22 2015 Automatic Build System <autodist@mambasoft.it> 4.75.2-1mamba
- automatic version update by autodist
* Mon Jun 01 2015 Automatic Build System <autodist@mambasoft.it> 4.75.0-1mamba
- automatic version update by autodist
* Sat Oct 26 2013 Automatic Build System <autodist@mambasoft.it> 4.70.0-1mamba
- automatic version update by autodist
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 4.60.1-1mamba
- automatic version update by autodist
* Tue Aug 26 2008 gil <puntogil@libero.it> 4.50.1-1mamba
- package created by autospec