File mingw32-wavpack.spec of Package mingw32-wavpack
#
# spec file for package mingw32-wavpack
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: mingw32-wavpack
Version: 4.60.1
Release: 0
Summary: Open-source lossless audio codec
License: GPL-2.0-only
Group: Development/Libraries/C and C++
Url: http://wavpack.com
Source0: wavpack-%{version}.tar.bz2
Source1000: mingw32-wavpack-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem >= 23
BuildRequires: pkg-config
BuildRequires: unzip
BuildRequires: xorg-x11-libX11
BuildRequires: zip
%_mingw32_package_header_debug
BuildArch: noarch
%description
WavPack is an open-source lossless audio codec.
%package -n mingw32-libwavpack1
Summary: Open-source lossless audio codec
Group: System/Libraries
%description -n mingw32-libwavpack1
WavPack is an open-source lossless audio codec.
%package devel
Summary: Open-source lossless audio codec
Group: Development/Libraries/C and C++
%description devel
WavPack is an open-source lossless audio codec.
%_mingw32_debug_package
%prep
%setup -q -n wavpack-%{version}
%build
export PATH="%{_mingw32_bindir}:$PATH"
%{_mingw32_configure} --disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_mingw32_bindir}/*.exe
%{_mingw32_mandir}/man1/*.1*
%files -n mingw32-libwavpack1
%defattr(-,root,root)
%{_mingw32_bindir}/libwavpack-1.dll
%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/wavpack/
%{_mingw32_libdir}/*.dll.a
%{_mingw32_libdir}/pkgconfig/*.pc
%changelog