Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 0b9fff7e0e78118f08b60fe70e255e42 > files > 9

wavpack-5.1.0-1.1.mga6.src.rpm

%define major   1
%define libname %mklibname %{name} %{major}
%define devname %mklibname -d %{name}

Name:           wavpack
Version:        5.1.0
%define subrel	1
Release:        %mkrel 1
Summary:        Lossless Audio command-line tools for encode/decode
Group:          Sound/Utilities
License:        BSD
Url:            http://www.wavpack.com
Source0:        http://www.wavpack.com/%{name}-%{version}.tar.bz2
Patch1:		wavpack-0001-issue-27-do-not-overwrite-stack-on-corrupt-RF64-file.patch
Patch2:		wavpack-0002-issue-28-do-not-overwrite-heap-on-corrupt-DSDIFF-fil.patch
Patch3:		wavpack-0003-issue-28-fix-buffer-overflows-and-bad-allocs-on-corr.patch
Patch4:		wavpack-0004-issue-33-sanitize-size-of-unknown-chunks-before-mall.patch
Patch5:		wavpack-0005-issue-30-issue-31-issue-32-no-multiple-format-chunks.patch
Patch6:		wavpack-0006-issue-53-error-out-on-zero-sample-rate.patch
Patch7:		wavpack-0007-issue-54-fix-potential-out-of-bounds-head-read.patch

BuildRequires:  pkgconfig(ncurses)

%description
WavPack 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
WavPack, the new version 4 format has been designed from the ground up
to offer unparalleled performance and functionality.

%package -n %{libname}
Summary:        Lossless Audio encode/decode library
Group:          System/Libraries

%description -n %{libname}
WavPack 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
WavPack, the new version 4 format has been designed from the ground up
to offer unparalleled performance and functionality.

%package -n %{devname}
Summary:        Development files for the WavPack library
Group:          Development/C
Provides:       lib%{name}-devel = %{version}-%{release}
Requires:       %{libname} = %{version}
Obsoletes:      %mklibname -d %{name} 1

%description -n %{devname}
This package contains development header and library for WavPack.

%prep
%autosetup -p1

%build
%configure2_5x \
%ifarch armv5tl
    --disable-asm \
%endif
    --disable-static

%make_build

%install
%make_install

find %{buildroot}%{_libdir} -name "*.la" -delete

%files
%doc README ChangeLog
%{_bindir}/wavpack
%{_bindir}/wvgain
%{_bindir}/wvtag
%{_bindir}/wvunpack
%{_mandir}/man1/*.1*

%files -n %{libname}
%{_libdir}/lib%{name}.so.%{major}
%{_libdir}/lib%{name}.so.%{major}.*

%files -n %{devname}
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc


%changelog
* Mon Jan 21 2019 luigiwalser <luigiwalser> 5.1.0-1.1.mga6
+ Revision: 1358534
- add patches from fedora and upstream to fix several security issues (mga#22588)

* Mon Mar 06 2017 akien <akien> 5.1.0-1.mga6
+ Revision: 1089120
- Version 5.1.0

* Fri May 06 2016 luigiwalser <luigiwalser> 4.80.0-1.mga6
+ Revision: 1010035
- 4.80.0

* Wed Mar 09 2016 pterjan <pterjan> 4.75.2-3.mga6
+ Revision: 988482
- Disable the use of armv7 asm on armv5

* Fri Feb 12 2016 umeabot <umeabot> 4.75.2-2.mga6
+ Revision: 959173
- Mageia 6 Mass Rebuild

* Sun Jan 03 2016 luigiwalser <luigiwalser> 4.75.2-1.mga6
+ Revision: 918874
- 4.75.2

* Wed Oct 15 2014 umeabot <umeabot> 4.70.0-3.mga5
+ Revision: 743941
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 4.70.0-2.mga5
+ Revision: 690277
- Mageia 5 Mass Rebuild

* Fri Feb 14 2014 luigiwalser <luigiwalser> 4.70.0-1.mga5
+ Revision: 591399
- 4.70.0

* Fri Oct 18 2013 umeabot <umeabot> 4.60.1-4.mga4
+ Revision: 520070
- Mageia 4 Mass Rebuild

* Mon Jan 14 2013 umeabot <umeabot> 4.60.1-3.mga3
+ Revision: 385644
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Oct 12 2012 fwang <fwang> 4.60.1-2.mga3
+ Revision: 305019
- update rpm group
- drop .la file

* Sat Jan 15 2011 mikala <mikala> 4.60.1-2.mga1
+ Revision: 18538
- Drop mdk macros
- Remove BuildRoot
- imported package wavpack


* Sat Dec 04 2010 Oden Eriksson <oeriksson@mandriva.com> 4.60.1-2mdv2011.0
+ Revision: 608151
- rebuild

* Mon Jan 04 2010 Emmanuel Andry <eandry@mandriva.org> 4.60.1-1mdv2010.1
+ Revision: 486263
- New version 4.60.1

* Thu Oct 01 2009 Götz Waschk <waschk@mandriva.org> 4.60.0-1mdv2010.0
+ Revision: 451984
- new version
- fix source URL

* Thu Sep 03 2009 Christophe Fergeau <cfergeau@mandriva.com> 4.50.1-2mdv2010.0
+ Revision: 427535
- rebuild

* Mon Jul 21 2008 Götz Waschk <waschk@mandriva.org> 4.50.1-1mdv2009.0
+ Revision: 239311
- new version

* Fri Jun 27 2008 Götz Waschk <waschk@mandriva.org> 4.50.0-1mdv2009.0
+ Revision: 229473
- new version

* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 4.41.0-2mdv2009.0
+ Revision: 225924
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Wed Feb 20 2008 Frederik Himpe <fhimpe@mandriva.org> 4.41.0-1mdv2008.1
+ Revision: 173350
- New library policy devel name

  + Thierry Vignaud <tv@mandriva.org>
    - fix spacing at top of description
    - kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue May 22 2007 Götz Waschk <waschk@mandriva.org> 4.41.0-1mdv2008.0
+ Revision: 29709
- new version


* Sat Dec 23 2006 Götz Waschk <waschk@mandriva.org> 4.40.0-1mdv2007.0
+ Revision: 101915
- new version
- new major

* Fri Nov 03 2006 Götz Waschk <waschk@mandriva.org> 4.32-2mdv2007.1
+ Revision: 76182
- Import wavpack

* Tue Apr 25 2006 Götz Waschk <waschk@mandriva.org> 4.32-1mdk
- update file list
- New release 4.32

* Thu Nov 17 2005 Götz Waschk <waschk@mandriva.org> 4.3-1mdk
- New release 4.3

* Wed Jun 29 2005 Götz Waschk <waschk@mandriva.org> 4.2-2mdk
- fix buildrequires

* Tue Jun 28 2005 Götz Waschk <waschk@mandriva.org> 4.2-1mdk
- initial package