summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-09 21:06:16 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-09 21:06:16 -0800
commite05e532de3323287b55e790f9cae848cbe8c17c1 (patch)
tree50fefbc91f0b4cd041d34d50a5d328e9a44fc174
parent8972551e314ed9186bf5c560771af8b5a30681fd (diff)
downloadxcb-proto-e05e532de3323287b55e790f9cae848cbe8c17c1.tar.gz
xcb-proto-e05e532de3323287b55e790f9cae848cbe8c17c1.tar.bz2
xcb-proto-e05e532de3323287b55e790f9cae848cbe8c17c1.zip
split python package
-rw-r--r--packaging/xcb-proto.spec25
1 files changed, 22 insertions, 3 deletions
diff --git a/packaging/xcb-proto.spec b/packaging/xcb-proto.spec
index a32a9f1..eb14e7d 100644
--- a/packaging/xcb-proto.spec
+++ b/packaging/xcb-proto.spec
@@ -8,11 +8,24 @@ Group: Development/System
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
+BuildRequires: python
BuildRequires: pkgconfig(xorg-macros)
+Requires: python-xcb-proto
%description
%{summary}.
+
+%package -n python-xcb-proto
+Summary: Python libraries mandatory for XML-XCB Development
+Group: Development/Libraries/X11
+Requires: python = %{py_ver}
+
+%description -n python-xcb-proto
+Language-independent Python
+libraries that used to parse an XML description and create objects
+used by Python code generators in individual language bindings.
+
%prep
%setup -q
@@ -29,7 +42,13 @@ make %{?_smp_mflags}
%remove_docs
+
+
%files
-%defattr(-,root,root,-)
-%{_includedir}/X11/extensions/*.h
-%{_datadir}/pkgconfig/*.pc
+%{_datadir}/pkgconfig/xcb-proto.pc
+%dir %{_datadir}/xcb/
+%{_datadir}/xcb/*.xsd
+%{_datadir}/xcb/*.xml
+
+%files -n python-xcb-proto
+%python_sitelib/xcbgen/