]> git.pld-linux.org Git - packages/xcb-proto.git/blobdiff - xcb-proto.spec
- updated to 1.10
[packages/xcb-proto.git] / xcb-proto.spec
index 92edbda526ccd59f001e224aa4cf075a1c33c603..cd488314946687beeca6670fd18aad3ad30a7bfc 100644 (file)
@@ -1,13 +1,18 @@
 Summary:       XML-XCB protocol description files
 Summary(pl.UTF-8):     Pliki opisu protokoĊ‚u XML-XCB
 Name:          xcb-proto
-Version:       1.0
+Version:       1.10
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
-# Source0-md5: d31407eaae7e52d100645217767a41aa
+# Source0-md5: ade74b8e9c870dc7515adfa209e66063
 URL:           http://xcb.freedesktop.org/
+BuildRequires: libxml2-progs
+BuildRequires: python >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,6 +42,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 +54,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.070704 seconds and 4 git commands to generate.