]> 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 4cc2635e836919a139d76aea33a1d6c784e73970..ab7eaa465e9574d98881e9dc793153811af7fe15 100644 (file)
@@ -1,20 +1,30 @@
-Summary:       XCB protocol files
-Summary(pl):   Pliki opisu protoko³u XCB
+Summary:       XML-XCB protocol description files
+Summary(pl.UTF-8):     Pliki opisu protokołu XML-XCB
 Name:          xcb-proto
-Version:       0.9.91
-Release:       1
+Version:       1.2
+Release:       2
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
-# Source0-md5: 830cac0c81e43807849dd172bf7e65e2
+# Source0-md5: 09f912486d8a2353bb4b99ddc28ba3c7
 URL:           http://xcb.freedesktop.org/
+BuildRequires: python
+%pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-XCB protocol files.
-
-%description -l pl
-Pliki opisu protoko³u XCB.
+xcb-proto provides the XML-XCB protocol descriptions that libxcb uses
+to generate the majority of its code and API. They are provided
+separately from libxcb to allow reuse by other projects, such as
+additional language bindings, protocol dissectors, or documentation
+generators.
+
+%description -l pl.UTF-8
+xcb-proto zawiera opisy protokołu XML-XCB używane przez libxcb do
+generowania większości swojego kodu i API. Są dostarczane osobno, aby
+umożliwić wykorzystanie przez inne projekty, takie jak dodatkowe
+dowiązania dla innych języków, analizatory protokołu czy generatory
+dokumentacji.
 
 %prep
 %setup -q
@@ -29,11 +39,16 @@ 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
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING TODO doc/xml-xcb.txt
+%doc COPYING NEWS README TODO doc/xml-xcb.txt
 %{_datadir}/xcb
 %{_pkgconfigdir}/xcb-proto.pc
+%{py_sitescriptdir}/xcbgen
This page took 0.101963 seconds and 4 git commands to generate.