File mingw32-speex.spec of Package mingw32-speex
#
# spec file for package mingw32-speex
#
# 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-speex
Version: 1.2~rc1
%define package_version 1.2rc1
Release: 0
Summary: Speex: A Free Codec For Free Speech
License: BSD-3-Clause
Group: Productivity/Multimedia/Sound/Editors and Convertors
Url: http://www.speex.org/
Source: http://downloads.xiph.org/releases/speex/speex-%{package_version}.tar.gz
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-libogg-devel
%_mingw32_package_header_debug
BuildArch: noarch
%description
Speex is an Open Source/Free Software patent-free audio compression format designed for speech. The Speex Project aims
to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech
codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in
most other codecs. Finally, Speex is part of the GNU Project and is available under the revised BSD license.
%package -n mingw32-libspeex1
Summary: Speex: A Free Codec For Free Speech
Group: System/Libraries
Obsoletes: mingw32-libspeex
Provides: mingw32-libspeex
%description -n mingw32-libspeex1
This package contains runtime files.
%package -n mingw32-libspeexdsp1
Summary: Speex: A Free Codec For Free Speech
Group: System/Libraries
%description -n mingw32-libspeexdsp1
This package contains runtime files.
%package -n mingw32-libspeex-devel
Summary: Speex: A Free Codec For Free Speech (development files)
Group: Development/Libraries/C and C++
%description -n mingw32-libspeex-devel
This package contains all necessary include files and libraries needed to develop applications that require these.
%_mingw32_debug_package
%prep
%setup -q -n speex-%{package_version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} \
--enable-sse \
--enable-shared --disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-, root, root)
%{_mingw32_bindir}/speexenc.exe
%{_mingw32_bindir}/speexdec.exe
%files -n mingw32-libspeex1
%defattr(-, root, root)
%{_mingw32_bindir}/libspeex-1.dll
%files -n mingw32-libspeexdsp1
%defattr(-, root, root)
%{_mingw32_bindir}/libspeexdsp-1.dll
%files -n mingw32-libspeex-devel
%defattr(-, root, root)
%{_mingw32_datadir}/aclocal/speex.m4
%{_mingw32_datadir}/doc/speex/
%{_mingw32_mandir}/man1/speex*
%{_mingw32_includedir}/speex/
%{_mingw32_libdir}/libspeex.dll.a
%{_mingw32_libdir}/libspeexdsp.dll.a
%{_mingw32_libdir}/pkgconfig/speex.pc
%{_mingw32_libdir}/pkgconfig/speexdsp.pc
%changelog