]> git.pld-linux.org Git - packages/xorg-driver-input-joystick.git/blob - xorg-driver-input-joystick.spec
- release 2
[packages/xorg-driver-input-joystick.git] / xorg-driver-input-joystick.spec
1 # TODO:
2 # - devel subpackage
3 Summary:        X.org input driver for joysticks
4 Summary(pl.UTF-8):      Sterownik wejściowy X.org dla joysticków
5 Name:           xorg-driver-input-joystick
6 Version:        1.4.99.2
7 Release:        2
8 License:        MIT
9 Group:          X11/Applications
10 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.bz2
11 # Source0-md5:  29cce86738411c9f8de04375090bbbec
12 URL:            http://xorg.freedesktop.org/
13 BuildRequires:  autoconf >= 2.57
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  pkgconfig >= 1:0.19
17 BuildRequires:  xorg-proto-inputproto-devel
18 BuildRequires:  xorg-proto-randrproto-devel
19 BuildRequires:  xorg-util-util-macros >= 0.99.2
20 BuildRequires:  xorg-xserver-server-devel >= 1.0.99.901
21 BuildRequires:  rpmbuild(macros) >= 1.389
22 %requires_xorg_xserver_xinput
23 Requires:       xorg-xserver-server >= 1.0.99.901
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 X.org input driver for joysticks.
28
29 %description -l pl.UTF-8
30 Sterownik wejściowy X.org dla joysticków.
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 \
50         DESTDIR=$RPM_BUILD_ROOT
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)
59 %doc COPYING ChangeLog
60 %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so
61 %{_mandir}/man4/joystick.4*
This page took 0.054419 seconds and 4 git commands to generate.