summaryrefslogtreecommitdiff
path: root/packaging/xorg-x11-proto-gesture.spec
blob: 864767b4027c991eeee805a91b9ca5d2f46d1814 (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
%bcond_with x

Name:     xorg-x11-proto-gesture
Summary:  X.Org X11 Protocol gestureproto
Version:  0.1.0
Release:  3
Group:    Development/System
License:  MIT
URL:      http://www.x.org
Source0:  %{name}-%{version}.tar.gz
Source1001: 	xorg-x11-proto-gesture.manifest
Provides: gestureproto

BuildRoot:  %{_tmppath}/%{name}-%{version}-build

BuildRequires: pkgconfig
BuildRequires:  pkgconfig(xorg-macros)

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

%description
Description: %{summary}
This package provides development headers describing the wire protocol
for the Gesture extension, used to control all manner of options related
to gesture event handling.

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 X.org gestureproto proto module.

%prep
%setup -q
cp %{SOURCE1001} .

%build

./autogen.sh
%reconfigure --disable-static \
             --libdir=%{_datadir} \
             --without-xmlto

# Call make instruction with smp support
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install

%remove_docs

%clean
rm -rf %{buildroot}

%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/X11/extensions/*.h
%{_datadir}/pkgconfig/*.pc