File mingw64-flac.spec of Package mingw64-flac
#
# spec file for package mingw64-flac
#
# 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: mingw64-flac
Version: 1.5.0
Release: 0
Summary: Free Lossless Audio Codec Library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://xiph.org/flac/
Source: https://github.com/xiph/flac/releases/download/%{version}/flac-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-libogg-devel
BuildRequires: mingw64-win_iconv-devel
%_mingw64_package_header_debug
BuildArch: noarch
%description
FLAC is an open source lossless audio codec developed by Josh Coalson.
%package -n mingw64-libFLAC14
Summary: Free Lossless Audio Codec Library
Group: System/Libraries
Provides: mingw64-libflac
%description -n mingw64-libFLAC14
This package contains the library for FLAC (Free Lossless Audio Codec)
developed by Josh Coalson.
%package -n mingw64-libFLAC++11
Summary: Free Lossless Audio Codec C++ Library
Group: System/Libraries
Provides: mingw64-libflac++
%description -n mingw64-libFLAC++11
This package contains the C++ library for FLAC (Free Lossless Audio
Codec) developed by Josh Coalson.
%package devel
Summary: Free Lossless Audio Codec Library (development files)
Group: Development/Libraries/C and C++
%description devel
This package contains the files needed to compile programs that use the
FLAC library.
%_mingw64_debug_package
%prep
%autosetup -n flac-%{version}
%build
autoreconf -fiv
%{_mingw64_configure} --enable-shared--disable-static
%{_mingw64_make} %{?_smp_mflags}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
%files
%{_mingw64_bindir}/metaflac.exe
%{_mingw64_bindir}/flac.exe
%{_mingw64_mandir}/man1/metaflac.1*
%{_mingw64_mandir}/man1/flac.1*
%files -n mingw64-libFLAC14
%{_mingw64_bindir}/libFLAC-14.dll
%files -n mingw64-libFLAC++11
%{_mingw64_bindir}/libFLAC++-11.dll
%files devel
%license COPYING*
%doc README.md
%{_mingw64_includedir}/FLAC
%{_mingw64_includedir}/FLAC++
%{_mingw64_libdir}/libFLAC.dll.a
%{_mingw64_libdir}/libFLAC++.dll.a
%{_mingw64_libdir}/pkgconfig/flac.pc
%{_mingw64_libdir}/pkgconfig/flac++.pc
%{_mingw64_datadir}/aclocal/libFLAC.m4
%{_mingw64_datadir}/aclocal/libFLAC++.m4
%{_mingw64_datadir}/doc/flac
%changelog