summaryrefslogtreecommitdiff
path: root/packaging/xf86-input-evdevmultitouch.spec
blob: 3f6b86813d4b9a0169d719809dc02866c1ad7ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%bcond_with x

#sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-evdev-multitouch xserver-xorg-input-evdev-multitouch 2.3.2 b89f300e6969a0b8cef3bbe5720ec5300baf4ad3
Name:	xf86-input-evdevmultitouch
Summary:    X.Org evdev multitouch input driver.
Version: 2.3.4
Release:    4
Group:      TO_BE/FILLED_IN
License:    TO BE FILLED IN
Source0:    %{name}-%{version}.tar.gz
BuildRequires:  pkgconfig(xorg-macros)
BuildRequires:  pkgconfig(xorg-server)
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(inputproto)
BuildRequires:  pkgconfig(kbproto)
BuildRequires:  pkgconfig(resourceproto)
BuildRequires:  pkgconfig(xkbfile)

%if !%{with x}
ExclusiveArch:
%endif

%description
X.Org X server -- evdev input multitouch driver This package provides the driver for input devices using evdev, the Linux
 kernel's event delivery mechanism.  This driver allows for multiple keyboards
 and mice to be treated as separate input devices.
 .
 More information about X.Org can be found at:
 <URL:http://www.X.org>
 <URL:http://xorg.freedesktop.org>
 <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
 .
 This package is built from the evdev multitouch driver module.

%package devel
Summary:    Development files for xorg evdev multitouch driver
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
This package contains xorg evdev multitouch development files

%prep
%setup -q

%build
export CFLAGS+=" -Wall -g -D_F_SUPPORT_PREFERRED_NAME_ -D_F_GESTURE_EXTENSION_ "

%autogen --disable-static
%configure --disable-static
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/license
cp -af COPYING %{buildroot}/usr/share/license/%{name}
%make_install


%files
%defattr(-,root,root,-)
%{_libdir}/xorg/modules/input/evdevmultitouch_drv.so
/usr/share/license/%{name}

%files devel
%defattr(-,root,root,-)
%{_includedir}/xorg/evdevmultitouch-properties.h
%{_libdir}/pkgconfig/xorg-evdev-multitouch.pc
/usr/share/man/man4/evdevmultitouch.4.gz