summaryrefslogtreecommitdiff
path: root/packaging/xorg-x11-drv-gesture.spec
blob: fcd7cc8706062a1fb1d021935cd201a3d0800849 (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
#sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-gesture xorg-x11-drv-gesture 0.1.0 fb1092a8ea453d658b38d5c28e67a58462d7c931
Name:	xorg-x11-drv-gesture
Summary:    X.Org X server -- Xserver gesture driver
Version: 0.1.0
Release:    4
Group:      System/X Hardware Support
License:    MIT
Source0:    %{name}-%{version}.tar.gz
BuildRequires:  pkgconfig(xorg-server)
BuildRequires:  xorg-x11-proto-gesture
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(inputproto)
BuildRequires:  pkgconfig(xorg-macros)

%description
 This package provides the driver for recognizing gesture(s) using button
and motion events inside X server.


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

%description devel
xorg-x11-drv-gesture development files


%prep
%setup -q 

%build

autoreconf -vfi
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
#./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS -D__DETAIL_DEBUG__ -D__DEBUG_EVENT_HANDLER__ " LDFLAGS="$LDFLAGS"

make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install

%remove_docs

%files
%{_libdir}/xorg/modules/input/gesture_drv.so

%files devel
%{_libdir}/pkgconfig/xorg-gesture.pc