1 |
Name: qjoypad |
2 |
Version: 4.2.0 |
3 |
Release: %mkrel 1 |
4 |
Summary: Emulate keyboard or mouse actions with a joystick |
5 |
Group: System/Kernel and hardware |
6 |
License: GPLv2 |
7 |
URL: http://qjoypad.sourceforge.net |
8 |
# Fork by a new maintainer |
9 |
Source0: https://github.com/panzi/qjoypad/archive/v%{version}/%{name}-%{version}.tar.gz |
10 |
|
11 |
BuildRequires: cmake |
12 |
BuildRequires: pkgconfig(udev) |
13 |
BuildRequires: pkgconfig(x11) |
14 |
BuildRequires: pkgconfig(xtst) |
15 |
BuildRequires: qt4-devel |
16 |
|
17 |
%description |
18 |
QJoyPad converts input from a gamepad or joystick into key-presses or mouse |
19 |
actions, letting you control any X program with your game controller. |
20 |
It comes with a convenient and easy-to-use interface. |
21 |
|
22 |
%prep |
23 |
%autosetup |
24 |
|
25 |
%build |
26 |
%cmake |
27 |
%make_build |
28 |
|
29 |
%install |
30 |
%make_install -C build |
31 |
|
32 |
%files |
33 |
%doc LICENSE.txt README.md |
34 |
%{_bindir}/%{name} |
35 |
%{_datadir}/%{name}/ |
36 |
%{_datadir}/applications/%{name}.desktop |
37 |
%{_iconsdir}/hicolor/*/apps/%{name}.png |