File mingw64-mbelib.spec of Package mingw64-mbelib
#
# spec file for package mingw64-mbelib
#
# Copyright (c) 2017-2024, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
%define sover 1
%define realname mbelib
Name: mingw64-%{realname}
Version: 1.3.0.git1452274301.e2d84c1
Release: 0
Summary: Voice encoding/decoding description library
License: LGPL-2.1
Group: Productivity/Hamradio/Other
Url: https://github.com/szechyjs/mbelib
Source: %{realname}-%{version}.tar.xz
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-gcc-c++
%{_mingw64_package_header_debug}
BuildArch: noarch
%description
supports the 7200x4400 bit/s codec used in P25 Phase 1,
the 7100x4400 bit/s codec used in ProVoice and the "Half Rate"
3600x2250 bit/s vocoder used in various radio systems.
%package -n mingw64-libmbe%{sover}
Summary: Voice encoding/decoding description library
Group: Productivity/Hamradio/Other
%description -n mingw64-libmbe%{sover}
supports the 7200x4400 bit/s codec used in P25 Phase 1,
the 7100x4400 bit/s codec used in ProVoice and the "Half Rate"
3600x2250 bit/s vocoder used in various radio systems.
%package -n mingw64-%{realname}-devel
Summary: Libmbe development files
Group: Development/Libraries/C and C++
Requires: mingw64-libmbe%{sover} = %{version}
%description -n mingw64-%{realname}-devel
Development files for mbelib
Supports the 7200x4400 bit/s codec used in P25 Phase 1,
the 7100x4400 bit/s codec used in ProVoice and the "Half Rate"
3600x2250 bit/s vocoder used in various radio systems.
%{_mingw64_debug_package}
%prep
%setup -q -n %{realname}-%{version}
%build
%{_mingw64_cmake} -DDISABLE_TEST=ON
%{_mingw64_make} %{?_smp_mflags}
%install
%{_mingw64_cmake_install}
%files -n mingw64-libmbe%{sover}
%license COPYRIGHT
%doc CHANGELOG README.md
%{_mingw64_libdir}/libmbe.dll
%files -n mingw64-%{realname}-devel
%{_mingw64_includedir}/mbelib.h
%{_mingw64_libdir}/libmbe.a
%{_mingw64_libdir}/libmbe.dll.a
%changelog