]> git.pld-linux.org Git - packages/xcb-proto.git/blobdiff - xcb-proto.spec
- rel 2; include xcbgen in python
[packages/xcb-proto.git] / xcb-proto.spec
index 92edbda526ccd59f001e224aa4cf075a1c33c603..ab7eaa465e9574d98881e9dc793153811af7fe15 100644 (file)
@@ -1,13 +1,15 @@
 Summary:       XML-XCB protocol description files
 Summary(pl.UTF-8):     Pliki opisu protokoĊ‚u XML-XCB
 Name:          xcb-proto
-Version:       1.0
-Release:       1
+Version:       1.2
+Release:       2
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
-# Source0-md5: d31407eaae7e52d100645217767a41aa
+# Source0-md5: 09f912486d8a2353bb4b99ddc28ba3c7
 URL:           http://xcb.freedesktop.org/
+BuildRequires: python
+%pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,6 +39,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%py_comp $RPM_BUILD_ROOT
+%py_ocomp $RPM_BUILD_ROOT
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -45,3 +51,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc COPYING NEWS README TODO doc/xml-xcb.txt
 %{_datadir}/xcb
 %{_pkgconfigdir}/xcb-proto.pc
+%{py_sitescriptdir}/xcbgen
This page took 0.075511 seconds and 4 git commands to generate.