upgrade for xorg-server 1.12.99.905 (for 1.13 RC)
[adaptation/xorg/driver/xserver-xorg-input-gesture.git] / packaging / xorg-x11-drv-gesture.spec
1 #sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-gesture xorg-x11-drv-gesture 0.1.0 fb1092a8ea453d658b38d5c28e67a58462d7c931
2 Name:   xorg-x11-drv-gesture
3 Summary:    X.Org X server -- Xserver gesture driver
4 Version: 0.1.0
5 Release:    4
6 Group:      System/X Hardware Support
7 License:    MIT
8 Source0:    %{name}-%{version}.tar.gz
9 BuildRequires:  pkgconfig(xorg-server)
10 BuildRequires:  xorg-x11-proto-gesture
11 BuildRequires:  pkgconfig(xproto)
12 BuildRequires:  pkgconfig(inputproto)
13 BuildRequires:  pkgconfig(resourceproto)
14 BuildRequires:  pkgconfig(xorg-macros)
15
16 %description
17  This package provides the driver for recognizing gesture(s) using button
18 and motion events inside X server.
19
20
21 %package devel
22 Summary:    Development files for xorg gesture driver
23 Group:      Development/Libraries
24 Requires:   %{name} = %{version}-%{release}
25
26 %description devel
27 xorg-x11-drv-gesture development files
28
29
30 %prep
31 %setup -q
32
33 %build
34
35 autoreconf -vfi
36 ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
37 #./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS -D__DETAIL_DEBUG__ -D__DEBUG_EVENT_HANDLER__ " LDFLAGS="$LDFLAGS"
38
39 make %{?jobs:-j%jobs}
40
41 %install
42 rm -rf %{buildroot}
43 %make_install
44
45 %remove_docs
46
47 %files
48 %{_libdir}/xorg/modules/input/gesture_drv.so
49
50 %files devel
51 %{_libdir}/pkgconfig/xorg-gesture.pc
52