File qjoypad.spec of Package qjoypad

# spec file for package qjoypad
# Copyright (c) 2016 Malcolm J Lewis <>
# 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:           qjoypad
Version:        4.3.0
Release:        0
License:        GPL-2.0
Summary:        Gamepad or joystick configuration utility
Group:          Hardware/Joystick
Source0:        %{name}-%{version}.tar.gz
#Source0 via
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  libqt5-linguist-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  pkgconfig(libudev)
BuildRequires:  pkgconfig(xtst)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

QJoyPad is a convenient little program with a Qt interface that converts
movement and button presses on a gamepad or joystick into key presses,
mouse clicks, and mouse movement in X. It should work on almost
every Linux system and with any Linux-supported gaming device.

%setup -q
#FIXME incorrect-fsf-address
sed -i 's/59 Temple Place, Suite 330, Boston, MA  02111-1307  USA/51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA./g' LICENSE.txt
%cmake -DCMAKE_BUILD_TYPE=Release

%suse_update_desktop_file -r %{name} Settings HardwareSettings



%doc LICENSE.txt