summaryrefslogtreecommitdiff
path: root/packaging/xorg-x11-drv-evdev.spec
blob: 74732350f8e4ff3885500505130651ef503b6c3a (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
#sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-evdev xserver-xorg-input-evdev 2.3.2 1bd95071427e460187b090bc5ff5a2d880fe156a
Name:	xorg-x11-drv-evdev
Summary:    Xorg X11 evdev input driver
Version: 2.3.2
Release:    4
Group:      System/X Hardware Support
License:    MIT
URL:        http://www.x.org/
Source0:    %{name}-%{version}.tar.gz
#Requires:   xorg-server
Requires:   xorg-x11-server-Xorg
BuildRequires:  pkgconfig(xorg-macros)
BuildRequires:  xorg-x11-server-devel
#BuildRequires:  pkgconfig(xorg-server)
BuildRequires:  pkgconfig(xkbfile)
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(inputproto)
BuildRequires:  pkgconfig(xrandr)
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(xextproto)


%description
The Xorg X11 evdev input driver


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

%description devel
This package contains xorg evdev development files


%prep
%setup -q

%build

%reconfigure --disable-static CFLAGS="$CFLAGS -Wall -g -D_F_INIT_ABS_ONLY_FOR_POINTER_ -D_F_EVDEV_CONFINE_REGION_"
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install

%remove_docs

%files
%defattr(-,root,root,-)
%(pkg-config xorg-server --variable=moduledir )/input/evdev_drv.so

%files devel
%defattr(-,root,root,-)
%{_includedir}/xorg/evdev-properties.h
%{_libdir}/pkgconfig/xorg-evdev.pc