]> git.pld-linux.org Git - packages/xorg-driver-input-joystick.git/blob - xorg-driver-input-joystick.spec
- added -devel
[packages/xorg-driver-input-joystick.git] / xorg-driver-input-joystick.spec
1 Summary:        X.org input driver for joysticks
2 Summary(pl.UTF-8):      Sterownik wejściowy X.org dla joysticków
3 Name:           xorg-driver-input-joystick
4 Version:        1.5.0
5 Release:        2
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.bz2
9 # Source0-md5:  79b20f86d1b2e625ae65e35c3457027f
10 URL:            http://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  xorg-proto-inputproto-devel
16 BuildRequires:  xorg-proto-randrproto-devel
17 BuildRequires:  xorg-util-util-macros >= 1.2
18 BuildRequires:  xorg-xserver-server-devel >= 1.3.99.901
19 BuildRequires:  rpmbuild(macros) >= 1.389
20 %requires_xorg_xserver_xinput
21 Requires:       xorg-xserver-server >= 1.3.99.901
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 X.org input driver for joysticks.
26
27 %description -l pl.UTF-8
28 Sterownik wejściowy X.org dla joysticków.
29
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
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 \
62         DESTDIR=$RPM_BUILD_ROOT
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)
71 %doc COPYING ChangeLog README
72 %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so
73 %{_mandir}/man4/joystick.4*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %{_includedir}/xorg/joystick-properties.h
78 %{_pkgconfigdir}/xorg-joystick.pc
This page took 0.079201 seconds and 4 git commands to generate.