summaryrefslogtreecommitdiff
path: root/packaging/xorg-x11-proto-gesture.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/xorg-x11-proto-gesture.spec')
-rw-r--r--packaging/xorg-x11-proto-gesture.spec54
1 files changed, 54 insertions, 0 deletions
diff --git a/packaging/xorg-x11-proto-gesture.spec b/packaging/xorg-x11-proto-gesture.spec
new file mode 100644
index 0000000..fbd1828
--- /dev/null
+++ b/packaging/xorg-x11-proto-gesture.spec
@@ -0,0 +1,54 @@
+Name: xorg-x11-proto-gesture
+Summary: X.Org X11 Protocol gestureproto
+Version: 0.1.0
+Release: 1
+Group: Development/System
+License: MIT
+URL: http://www.x.org
+Source0: %{name}-%{version}.tar.gz
+Provides: gestureproto
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%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
+
+%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
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc \ No newline at end of file