summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xcb-proto.spec35
1 files changed, 35 insertions, 0 deletions
diff --git a/packaging/xcb-proto.spec b/packaging/xcb-proto.spec
new file mode 100644
index 0000000..a32a9f1
--- /dev/null
+++ b/packaging/xcb-proto.spec
@@ -0,0 +1,35 @@
+Name: xcb-proto
+Version: 1.8
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+
+%build
+
+%configure --disable-static \
+ --libdir=%{_datadir} \
+ --without-xmlto
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%remove_docs
+
+%files
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/*.h
+%{_datadir}/pkgconfig/*.pc