]>
Commit | Line | Data |
---|---|---|
429837d1 | 1 | Summary: X.org mouse input driver |
8e82f533 | 2 | Summary(pl.UTF-8): Sterownik wejściowy myszy dla X.org |
5d9d405f | 3 | Name: xorg-driver-input-mouse |
4810e95b | 4 | Version: 1.9.5 |
896d7ccd | 5 | Release: 1 |
5d9d405f | 6 | License: MIT |
7 | Group: X11/Applications | |
272cbe33 | 8 | Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-%{version}.tar.xz |
4810e95b | 9 | # Source0-md5: 9e2c33131f804476053c618859193dd1 |
5b2072c6 | 10 | URL: https://xorg.freedesktop.org/ |
0c7b91a1 | 11 | BuildRequires: autoconf >= 2.60 |
5d9d405f | 12 | BuildRequires: automake |
bd8cba3e | 13 | BuildRequires: libtool |
accfd222 | 14 | BuildRequires: pkgconfig >= 1:0.19 |
0c7b91a1 | 15 | BuildRequires: rpmbuild(macros) >= 1.389 |
272cbe33 | 16 | BuildRequires: tar >= 1:1.22 |
8d32b022 | 17 | BuildRequires: xorg-proto-inputproto-devel |
552b31d9 | 18 | BuildRequires: xorg-proto-xproto-devel |
0c7b91a1 | 19 | BuildRequires: xorg-util-util-macros >= 1.8 |
9f835645 | 20 | BuildRequires: xorg-xserver-server-devel >= 1.7 |
272cbe33 | 21 | BuildRequires: xz |
4361f756 | 22 | %{?requires_xorg_xserver_xinput} |
9f835645 | 23 | Requires: xorg-xserver-server >= 1.7 |
5d9d405f | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
429837d1 JB |
27 | X.org mouse input driver. It supports most available mouse types and |
28 | interfaces, including USB and PS/2. | |
5d9d405f | 29 | |
5d04cb74 JR |
30 | %description -l pl.UTF-8 |
31 | Sterownik wejściowy myszy dla X.org. Obsługuje większość dostępnych | |
32 | rodzajów myszy i interfejsów, w tym USB i PS/2. | |
5d9d405f | 33 | |
9f835645 JB |
34 | %package devel |
35 | Summary: Header file for mouse driver | |
36 | Summary(pl.UTF-8): Plik nagłówkowy sterownika myszy | |
37 | Group: Development/Libraries | |
38 | ||
39 | %description devel | |
40 | Header file for mouse driver. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Plik nagłówkowy sterownika myszy. | |
44 | ||
5d9d405f | 45 | %prep |
46 | %setup -q -n xf86-input-mouse-%{version} | |
47 | ||
48 | %build | |
bd8cba3e | 49 | %{__libtoolize} |
5d9d405f | 50 | %{__aclocal} |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
0c7b91a1 | 54 | %configure |
5d9d405f | 55 | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
f20aaab8 | 62 | DESTDIR=$RPM_BUILD_ROOT |
5d9d405f | 63 | |
0c7b91a1 | 64 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la |
5d9d405f | 65 | |
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
80159ac5 | 71 | %doc COPYING ChangeLog README |
429837d1 | 72 | %attr(755,root,root) %{_libdir}/xorg/modules/input/mouse_drv.so |
8d6e80e3 | 73 | %{_mandir}/man4/mousedrv.4* |
9f835645 JB |
74 | |
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
77 | %{_includedir}/xorg/xf86-mouse-properties.h | |
f7c1ded0 | 78 | %{_pkgconfigdir}/xorg-mouse.pc |