]>
Commit | Line | Data |
---|---|---|
da109b42 JK |
1 | Summary: Gamepad/joystick events to keypress converter |
2 | Name: qjoypad | |
3 | Version: 4.1.0 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: X11/Applications | |
7 | Source0: http://downloads.sourceforge.net/qjoypad/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: d4a262c29bd3955c0fe51e9a0d31f619 | |
9 | URL: http://qjoypad.sourceforge.net/ | |
10 | BuildRequires: QtCore-devel | |
11 | BuildRequires: QtGui-devel | |
12 | BuildRequires: qt4-build >= 4.3.3-3 | |
13 | BuildRequires: qt4-qmake >= 4.3.3-3 | |
14 | BuildRequires: rpmbuild(macros) >= 1.129 | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | QJoyPad takes input from a gamepad or joystick and translates it into | |
19 | key strokes or mouse actions, letting you control any XWindows program | |
20 | with your game controller. This lets you play all those games that for | |
21 | some reason don't have joystick support with your joystick. QJoyPad | |
22 | also gives you the advantage of multiple saved layouts so you can have | |
23 | a separate setting for every game, or for every class of game! That | |
24 | way you can play your games the way you want, not the way the | |
25 | programmers decided, and you can have the same button be "fire" in | |
26 | every one of your space fighters. QJoyPad gives you the freedom and | |
27 | flexibility to really take advantage of gaming devices in Linux, and | |
28 | makes the Linux gaming experience just a little bit nicer. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | cd src | |
35 | ./config \ | |
36 | --prefix="%{_prefix}" \ | |
37 | --install-dir="$RPM_BUILD_ROOT" | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | cd src | |
44 | %{__make} install | |
45 | rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}4 | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README.txt | |
53 | %attr(755,root,root) %{_bindir}/* | |
54 | %{_pixmapsdir}/%{name} |