]>
Commit | Line | Data |
---|---|---|
e20c2839 | 1 | Summary: X.org input driver for joysticks |
7dec1a11 | 2 | Summary(pl.UTF-8): Sterownik wejściowy X.org dla joysticków |
e20c2839 | 3 | Name: xorg-driver-input-joystick |
0d75c8ae | 4 | Version: 1.6.4 |
317517e7 | 5 | Release: 1 |
e20c2839 JB |
6 | License: MIT |
7 | Group: X11/Applications | |
0d75c8ae JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.xz |
9 | # Source0-md5: 9868474dd471c95f326552929556981d | |
10 | URL: https://xorg.freedesktop.org/ | |
7c79db32 | 11 | BuildRequires: autoconf >= 2.60 |
e20c2839 JB |
12 | BuildRequires: automake |
13 | BuildRequires: libtool | |
14 | BuildRequires: pkgconfig >= 1:0.19 | |
0d75c8ae JB |
15 | BuildRequires: rpmbuild(macros) >= 1.389 |
16 | BuildRequires: tar >= 1:1.22 | |
82c21c46 | 17 | BuildRequires: xorg-proto-inputproto-devel |
7c79db32 | 18 | BuildRequires: xorg-proto-kbproto-devel |
0d75c8ae | 19 | BuildRequires: xorg-proto-xproto-devel |
7c79db32 JB |
20 | BuildRequires: xorg-util-util-macros >= 1.8 |
21 | BuildRequires: xorg-xserver-server-devel >= 1.9.99.2 | |
0d75c8ae | 22 | BuildRequires: xz |
1b56d3c5 | 23 | %{?requires_xorg_xserver_xinput} |
7c79db32 | 24 | Requires: xorg-xserver-server >= 1.9.99.2 |
e20c2839 JB |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | X.org input driver for joysticks. | |
29 | ||
42f46263 JR |
30 | %description -l pl.UTF-8 |
31 | Sterownik wejściowy X.org dla joysticków. | |
e20c2839 | 32 | |
00f749a2 JB |
33 | %package devel |
34 | Summary: X.org joystick input driver - properties definition | |
35 | Summary(pl.UTF-8): Sterownik wejściowy X.org dla joysticków - definicje właściwości | |
36 | Group: Development/Libraries | |
37 | # for dir | |
38 | Requires: xorg-xserver-server-devel | |
39 | # doesn't require base | |
40 | ||
41 | %description devel | |
42 | X.org joystick input driver - properties definition. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Sterownik wejściowy X.org dla joysticków - definicje właściwości. | |
46 | ||
e20c2839 JB |
47 | %prep |
48 | %setup -q -n xf86-input-joystick-%{version} | |
49 | ||
50 | %build | |
51 | %{__libtoolize} | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
56 | %configure \ | |
57 | --disable-static | |
58 | ||
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
6e749ea6 | 65 | DESTDIR=$RPM_BUILD_ROOT |
e20c2839 | 66 | |
7c79db32 | 67 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la |
e20c2839 JB |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
0d75c8ae | 74 | %doc COPYING ChangeLog README.md |
e20c2839 | 75 | %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so |
26620dab | 76 | %{_mandir}/man4/joystick.4* |
00f749a2 JB |
77 | |
78 | %files devel | |
79 | %defattr(644,root,root,755) | |
80 | %{_includedir}/xorg/joystick-properties.h | |
81 | %{_pkgconfigdir}/xorg-joystick.pc |