]> git.pld-linux.org Git - packages/xorg-driver-input-mouse.git/blob - xorg-driver-input-mouse.spec
- rename mouse.4 to mouse_drv.4 to avoid conflict with generic mouse(4)
[packages/xorg-driver-input-mouse.git] / xorg-driver-input-mouse.spec
1 Summary:        X.org mouse input driver
2 Summary(pl):    Sterownik wej¶ciowy myszy dla X.org
3 Name:           xorg-driver-input-mouse
4 Version:        1.0.3.1
5 Release:        0.1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-input-mouse-%{version}.tar.bz2
9 # Source0-md5:  c1235259ee9ecdcfe28e1365ef73f570
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 >= 0.99.2
18 BuildRequires:  xorg-xserver-server-devel >= 0.99.3
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 X.org mouse input driver. It supports most available mouse types and
23 interfaces, including USB and PS/2.
24
25 %description -l pl
26 Sterownik wej¶ciowy myszy dla X.org. Obs³uguje wiêkszo¶æ dostêpnych
27 rodzajów myszy i interfejsów, w tym USB i PS/2.
28
29 %prep
30 %setup -q -n xf86-input-mouse-%{version}
31
32 %build
33 %{__libtoolize}
34 %{__aclocal}
35 %{__autoconf}
36 %{__autoheader}
37 %{__automake}
38 %configure \
39         --disable-static
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 # conflict with general mouse(4) manual
50 mv -f $RPM_BUILD_ROOT%{_mandir}/man4/{mouse,mouse_drv}.4
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 README
60 %attr(755,root,root) %{_libdir}/xorg/modules/input/mouse_drv.so
61 %{_mandir}/man4/mouse_drv.4*
This page took 0.094595 seconds and 4 git commands to generate.