]>
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 |
f257bfbc | 4 | Version: 1.5.0 |
b088c74d | 5 | Release: 2 |
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 |
f257bfbc | 9 | # Source0-md5: 79b20f86d1b2e625ae65e35c3457027f |
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 | |
ca9c0de6 JB |
17 | BuildRequires: xorg-util-util-macros >= 1.2 |
18 | BuildRequires: xorg-xserver-server-devel >= 1.3.99.901 | |
14d238c5 | 19 | BuildRequires: rpmbuild(macros) >= 1.389 |
1b56d3c5 | 20 | %{?requires_xorg_xserver_xinput} |
ca9c0de6 | 21 | Requires: xorg-xserver-server >= 1.3.99.901 |
e20c2839 JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | X.org input driver for joysticks. | |
26 | ||
42f46263 JR |
27 | %description -l pl.UTF-8 |
28 | Sterownik wejściowy X.org dla joysticków. | |
e20c2839 | 29 | |
00f749a2 JB |
30 | %package devel |
31 | Summary: X.org joystick input driver - properties definition | |
32 | Summary(pl.UTF-8): Sterownik wejściowy X.org dla joysticków - definicje właściwości | |
33 | Group: Development/Libraries | |
34 | # for dir | |
35 | Requires: xorg-xserver-server-devel | |
36 | # doesn't require base | |
37 | ||
38 | %description devel | |
39 | X.org joystick input driver - properties definition. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Sterownik wejściowy X.org dla joysticków - definicje właściwości. | |
43 | ||
e20c2839 JB |
44 | %prep |
45 | %setup -q -n xf86-input-joystick-%{version} | |
46 | ||
47 | %build | |
48 | %{__libtoolize} | |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
51 | %{__autoheader} | |
52 | %{__automake} | |
53 | %configure \ | |
54 | --disable-static | |
55 | ||
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
6e749ea6 | 62 | DESTDIR=$RPM_BUILD_ROOT |
e20c2839 JB |
63 | |
64 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
ca9c0de6 | 71 | %doc COPYING ChangeLog README |
e20c2839 | 72 | %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so |
26620dab | 73 | %{_mandir}/man4/joystick.4* |
00f749a2 JB |
74 | |
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
77 | %{_includedir}/xorg/joystick-properties.h | |
78 | %{_pkgconfigdir}/xorg-joystick.pc |