]>
Commit | Line | Data |
---|---|---|
92299c6d AM |
1 | # TODO: |
2 | # - devel subpackage | |
e20c2839 | 3 | Summary: X.org input driver for joysticks |
7dec1a11 | 4 | Summary(pl.UTF-8): Sterownik wejściowy X.org dla joysticków |
e20c2839 | 5 | Name: xorg-driver-input-joystick |
dcc2ff7f AM |
6 | Version: 1.4.99.2 |
7 | Release: 1 | |
e20c2839 JB |
8 | License: MIT |
9 | Group: X11/Applications | |
8b6ff7ca | 10 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.bz2 |
dcc2ff7f | 11 | # Source0-md5: 29cce86738411c9f8de04375090bbbec |
e20c2839 JB |
12 | URL: http://xorg.freedesktop.org/ |
13 | BuildRequires: autoconf >= 2.57 | |
14 | BuildRequires: automake | |
15 | BuildRequires: libtool | |
16 | BuildRequires: pkgconfig >= 1:0.19 | |
82c21c46 JB |
17 | BuildRequires: xorg-proto-inputproto-devel |
18 | BuildRequires: xorg-proto-randrproto-devel | |
6e749ea6 | 19 | BuildRequires: xorg-util-util-macros >= 0.99.2 |
8b6ff7ca | 20 | BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 |
2db2d44a AM |
21 | BuildRequires: rpmbuild(macros) >= 1.389 |
22 | %requires_xorg_xserver_xinput | |
8b6ff7ca | 23 | Requires: xorg-xserver-server >= 1.0.99.901 |
e20c2839 JB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | X.org input driver for joysticks. | |
28 | ||
42f46263 JR |
29 | %description -l pl.UTF-8 |
30 | Sterownik wejściowy X.org dla joysticków. | |
e20c2839 JB |
31 | |
32 | %prep | |
33 | %setup -q -n xf86-input-joystick-%{version} | |
34 | ||
35 | %build | |
36 | %{__libtoolize} | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure \ | |
42 | --disable-static | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
6e749ea6 | 50 | DESTDIR=$RPM_BUILD_ROOT |
e20c2839 JB |
51 | |
52 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
0e27b2a1 | 59 | %doc COPYING ChangeLog |
e20c2839 | 60 | %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so |
26620dab | 61 | %{_mandir}/man4/joystick.4* |