File mingw32-multimon-ng.spec of Package mingw32-multimon-ng

#
# spec file for package mingw32-multimon-ng
#
# 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 multimon-ng
Name:           mingw32-%{realname}
Version:        0.0.0.git1431688037.4cc984f
Release:        0
Summary:        A fork of multimon, decodes multiple digital transmission modes
License:        GPL-2.0
Group:          Productivity/Hamradio/Other
Url:            https://github.com/EliasOenal/multimon-ng
Source0:        %{realname}-%{version}.tar.xz
Patch0:         x.diff
BuildRequires:  cmake
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc
#BuildRequires:  mingw32-cross-gcc-c++
BuildRequires:  mingw32-cross-pkg-config
BuildRequires:  mingw32-filesystem
Recommends:     sox
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%{_mingw32_package_header_debug}
%{_mingw32_debug_package}

%description
MultimonNG a fork of multimon. It decodes the following digital transmission modes:
* POCSAG512 POCSAG1200 POCSAG2400
* EAS
* UFSK1200 CLIPFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3
* HAPN4800
* FSK9600
* DTMF
* ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI
* EEA EIA CCIR
* MORSE CW

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

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

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

%files
%defattr(-,root,root)
%doc COPYING README.md
%{_mingw32_bindir}/multimon-ng.exe

%changelog
openSUSE Build Service is sponsored by