File mingw32-CubicSDR.spec of Package mingw64-CubicSDR

#
# spec file for package mingw32-CubicSDR
#
# Copyright (c) 2015, 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 realname CubicSDR
Name:           mingw32-%{realname}
Version:        0.0.0.git1424579557.3ea528f
Release:        0
Summary:        Cross-Platform Software-Defined Radio Application
License:        GPL-2.0
Group:          Productivity/Hamradio/Other
Url:            https://github.com/cjcliffe/CubicSDR
Source:         %{realname}-%{version}.tar.xz
Patch:		mingw32-CubicSDR-fix-wglext.diff
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc
BuildRequires:  mingw32-cross-gcc-c++
BuildRequires:  mingw32-cross-pkg-config
BuildRequires:  mingw32-wxWidgets-3_0-devel
BuildRequires:  mingw32-filesystem >= 35
BuildRequires:  mingw32-rtl-sdr-devel
BuildRequires:  mingw32-winpthreads-devel
BuildRequires:  cmake
## for git-version-gen
#BuildRequires:  git-core
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch
%{_mingw32_package_header_debug}
%{_mingw32_debug_package}

%description
Cross-Platform Software-Defined Radio Application

%prep
%setup -q -n %{realname}-%{version}
%patch -p1

%build
%{_mingw32_cmake}
%{_mingw32_make} VERBOSE=1 #%{?_smp_mflags}

%install
%{_mingw32_make} VERBOSE=1 DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
#%{_mingw32_bindir}/bladeRF-cli.exe

%changelog
openSUSE Build Service is sponsored by