summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-08 12:11:44 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-08 12:11:44 -0800
commit8972551e314ed9186bf5c560771af8b5a30681fd (patch)
tree8ce72728acf4c69077186efe8676398e96b0f45b
parent4f1a42f85bb16d006429c7ce867be939a222fc25 (diff)
downloadxcb-proto-8972551e314ed9186bf5c560771af8b5a30681fd.tar.gz
xcb-proto-8972551e314ed9186bf5c560771af8b5a30681fd.tar.bz2
xcb-proto-8972551e314ed9186bf5c560771af8b5a30681fd.zip
add packaging
-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