File mwptools.spec of Package mwptools

# spec file for package mwptools (Version 2016.09.01)
# Copyright (c) 2016
# 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

Name:           mwptools
Version:        2016.09.01
Release:        1.0
Summary:        Mission planner for MultiWii
Group:          Other
License:        GPL-2.0
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  vala
# BuildRequires:  libvala-0_26-devel
BuildRequires:  pango-devel
BuildRequires:  cairo-devel
BuildRequires:  gtk2-devel
BuildRequires:  gtk3-devel
BuildRequires:  gsettings-desktop-schemas-devel
BuildRequires:  json-glib-devel
BuildRequires:  libxml2-devel
BuildRequires:  libgda-5_0-devel
BuildRequires:  libchamplain-devel
BuildRequires:  espeak-devel
BuildRequires:  gdl-devel
BuildRequires:  clutter-devel
BuildRequires:  libgudev-1_0-devel
BuildRequires:  gstreamer-0_10-devel
BuildRequires:  gobject-introspection-devel
BuildRequires:  webkit2gtk3-devel
BuildRequires:  update-desktop-files
BuildRequires:  fdupes
AutoReqProv:    on

mwptools is a small suite of tools to manage a MultiWii NAV flight controller and CleanFlight based FCs. The suite consists of tools that the author finds useful to manage and monitor 'in the field' using a low powered Linux based netbook or chromebook.


 * mwp: "A mission planner for the rest of us". Simple mission planning
   and monitoring.
   Mission Planner is provided for MW-NAV (MW 2.4).
   Monitoring, logging and recording for both MW and CleanFlight;

 * pidedit: PID editor;

 * switchedit: Transmitter switch editor;

 * mspsim: An MSP (MultiWii Serial Protocol) simulator. Used to develop the
   other components of the suite;

 * Tools to transform mwp log files to SQL, GPX and KML.

   Jonathan Hudson

%setup -q

make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}

make install DESTDIR=%{buildroot}
%fdupes -s %{buildroot}/usr/share
%suse_update_desktop_file -r -G mwptools mspsim System Emulator
%suse_update_desktop_file -r -G mwptools pidedit System Emulator
%suse_update_desktop_file -r -G mwptools mwp System Emulator
%suse_update_desktop_file -r -G mwptools switchedit System Emulator



rm -rf %{buildroot}

%dir /usr/share/doc/mwp
%dir /usr/share/mspsim
%dir /usr/share/mwp
%dir /usr/share/pidedit
%dir /usr/share/switchedit