File mingw64-jaero.spec of Package mingw64-jaero

#
# spec file for package mingw64-jaero
#
# 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 jaero
Name:           mingw64-%{realname}
Version:        1.0.4.git1455959486.986efb2
Release:        0
Summary:        A SatCom ACARS demodulator and decoder for the Aero standard
License:        MIT
Group:          Productivity/Hamradio/Other
Url:            http://jontio.zapto.org/hda1/jaero.html
Source:         JAERO-%{version}.tar.xz
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64-libqt5-qtbase-devel
BuildRequires:  mingw64-libqt5-qtmultimedia
BuildRequires:  mingw64-libqt5-qtmultimedia-devel
BuildRequires:  mingw64-libqt5-qtsvg-devel
BuildRequires:  mingw64-cross-libqt5-qmake
# Needed otherwise: Cannot open include file: 'GLES2/gl2.h': No such file or directory
BuildRequires:  mingw64-angleproject-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch
%{_mingw64_package_header_debug}
%{_mingw64_debug_package}

%description
JAERO is a program that demodulates and decodes Classic Aero ACARS (Aircraft
Communications Addressing and Reporting System) messages sent from satellites to
Aeroplanes (SatCom ACARS) commonly used when Aeroplanes are beyond VHF range.

Demodulation is performed using the soundcard.

Such signals are typically around 1.5Ghz and can be received with a simple
low gain antenna that can be home brewed in a few hours in conjunction with a
cheap RTL-SDR dongle.

%prep
%setup -q -n JAERO-%{version}

%build
cd JAERO
mkdir build
cd build
mingw64-qmake-qt5 ..
%{_mingw64_make} VERBOSE=1 %{?_smp_mflags}

%install
install -Dpm 0755 JAERO/build/release/JAERO.exe %{buildroot}/%{_mingw64_bindir}/JAERO.exe

%files
%defattr(-,root,root)
%doc README.md JAERO/LICENSE
%{_mingw64_bindir}/JAERO.exe

%changelog
openSUSE Build Service is sponsored by