1 Summary: XML-XCB protocol description files
2 Summary(pl.UTF-8): Pliki opisu protokołu XML-XCB
7 Group: Development/Libraries
8 #Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
9 Source0: https://xorg.freedesktop.org/releases/individual/proto/%{name}-%{version}.tar.xz
10 # Source0-md5: 4a053ca2456007a343024a0452dbf13b
11 URL: https://xcb.freedesktop.org/
12 BuildRequires: libxml2-progs
13 BuildRequires: python >= 1:2.5
14 BuildRequires: rpm-pythonprov
15 BuildRequires: rpmbuild(macros) >= 1.219
16 BuildRequires: tar >= 1:1.22
18 Requires: python >= 1:2.5
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 xcb-proto provides the XML-XCB protocol descriptions that libxcb uses
23 to generate the majority of its code and API. They are provided
24 separately from libxcb to allow reuse by other projects, such as
25 additional language bindings, protocol dissectors, or documentation
28 %description -l pl.UTF-8
29 xcb-proto zawiera opisy protokołu XML-XCB używane przez libxcb do
30 generowania większości swojego kodu i API. Są dostarczane osobno, aby
31 umożliwić wykorzystanie przez inne projekty, takie jak dodatkowe
32 dowiązania dla innych języków, analizatory protokołu czy generatory
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
48 %py_comp $RPM_BUILD_ROOT
49 %py_ocomp $RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc COPYING NEWS README.md TODO doc/xml-xcb.txt
59 %{_pkgconfigdir}/xcb-proto.pc
60 %{py_sitescriptdir}/xcbgen