Branch, tag, and add .changes for 2.0alpha branch
[profile/ivi/xorg-x11-drv-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 BuildRequires:  pkgconfig(libdrm)
16
17 %description
18  This package provides the driver for recognizing gesture(s) using button
19 and motion events inside X server.
20
21
22 %package devel
23 Summary:    Development files for xorg gesture driver
24 Group:      Development/Libraries
25 Requires:   %{name} = %{version}-%{release}
26
27 %description devel
28 xorg-x11-drv-gesture development files
29
30
31 %prep
32 %setup -q
33
34 %build
35
36 autoreconf -vfi
37 ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
38 #./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS -D__DETAIL_DEBUG__ -D__DEBUG_EVENT_HANDLER__ " LDFLAGS="$LDFLAGS"
39
40 make %{?jobs:-j%jobs}
41
42 %install
43 rm -rf %{buildroot}
44 %make_install
45
46 %remove_docs
47
48 %files
49 %{_libdir}/xorg/modules/input/gesture_drv.so
50
51 %files devel
52 %{_libdir}/pkgconfig/xorg-gesture.pc
53