File mingw64-libogg.spec of Package mingw64-libogg
#
# spec file for package mingw64-libogg
#
# 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-libogg
Version: 1.3.5
Release: 0
Summary: Ogg Bitstream Library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://xiph.org/vorbis/
Source: https://downloads.xiph.org/releases/ogg/libogg-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
%_mingw64_package_header_debug
BuildArch: noarch
%description
Libogg is a library for manipulating ogg bitstreams. It handles both
making ogg bitstreams and getting packets from ogg bitstreams.
%package -n mingw64-libogg0
Summary: Ogg Bitstream Library
Group: System/Libraries
Obsoletes: %{name}
Provides: %{name}
%description -n mingw64-libogg0
Libogg is a library for manipulating ogg bitstreams. It handles both
making ogg bitstreams and getting packets from ogg bitstreams.
Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio
codec) and the libtheora (Theora video codec).
%package devel
Summary: Ogg Bitstream Library (development files)
Group: Development/Libraries/C and C++
%description devel
Libogg is a library for manipulating ogg bitstreams. It handles both
making ogg bitstreams and getting packets from ogg bitstreams.
Ogg is the native bitstream format of the libvorbis (Ogg Vorbis audio
codec) and the libtheora (Theora video codec).
%_mingw64_debug_package
%prep
%setup -q -n libogg-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw64_cache}
%{_mingw64_configure} \
--enable-shared --disable-static
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
%files -n mingw64-libogg0
%defattr(-,root,root)
%{_mingw64_bindir}/libogg-0.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/ogg
%{_mingw64_libdir}/libogg.dll.a
%{_mingw64_libdir}/pkgconfig/ogg.pc
%{_mingw64_datadir}/aclocal/ogg.m4
%{_mingw64_datadir}/doc/libogg
%changelog