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