]> git.pld-linux.org Git - packages/xorg-driver-input-joystick.git/blob - xorg-driver-input-joystick.spec
49a6534228a4d9bce4477c245b9b71ae7dc23139
[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.6.4
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.xz
9 # Source0-md5:  9868474dd471c95f326552929556981d
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  rpmbuild(macros) >= 1.389
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  xorg-proto-inputproto-devel
18 BuildRequires:  xorg-proto-kbproto-devel
19 BuildRequires:  xorg-proto-xproto-devel
20 BuildRequires:  xorg-util-util-macros >= 1.8
21 BuildRequires:  xorg-xserver-server-devel >= 1.9.99.2
22 BuildRequires:  xz
23 %{?requires_xorg_xserver_xinput}
24 Requires:       xorg-xserver-server >= 1.9.99.2
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 X.org input driver for joysticks.
29
30 %description -l pl.UTF-8
31 Sterownik wejściowy X.org dla joysticków.
32
33 %package devel
34 Summary:        X.org joystick input driver - properties definition
35 Summary(pl.UTF-8):      Sterownik wejściowy X.org dla joysticków - definicje właściwości
36 Group:          Development/Libraries
37 # for dir
38 Requires:       xorg-xserver-server-devel
39 # doesn't require base
40
41 %description devel
42 X.org joystick input driver - properties definition.
43
44 %description devel -l pl.UTF-8
45 Sterownik wejściowy X.org dla joysticków - definicje właściwości.
46
47 %prep
48 %setup -q -n xf86-input-joystick-%{version}
49
50 %build
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         --disable-static
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc COPYING ChangeLog README.md
75 %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so
76 %{_mandir}/man4/joystick.4*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_includedir}/xorg/joystick-properties.h
81 %{_pkgconfigdir}/xorg-joystick.pc
This page took 0.116254 seconds and 3 git commands to generate.