]>
Commit | Line | Data |
---|---|---|
a31ed8cd | 1 | Summary: XML-XCB protocol description files |
d4c620d8 | 2 | Summary(pl.UTF-8): Pliki opisu protokołu XML-XCB |
45b8deae | 3 | Name: xcb-proto |
6bd22fd1 | 4 | Version: 1.14 |
f1374e0d | 5 | Release: 1 |
45b8deae JB |
6 | License: MIT |
7 | Group: Development/Libraries | |
6bd22fd1 JB |
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 | |
f1374e0d | 11 | URL: https://xcb.freedesktop.org/ |
cca2014e | 12 | BuildRequires: libxml2-progs |
8c8d932b | 13 | BuildRequires: python >= 1:2.5 |
278429fb JB |
14 | BuildRequires: rpm-pythonprov |
15 | BuildRequires: rpmbuild(macros) >= 1.219 | |
6bd22fd1 JB |
16 | BuildRequires: tar >= 1:1.22 |
17 | BuildRequires: xz | |
18 | Requires: python >= 1:2.5 | |
45b8deae JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
a31ed8cd JB |
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 | |
26 | generators. | |
45b8deae | 27 | |
7392d99e JR |
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 | |
a31ed8cd | 33 | dokumentacji. |
45b8deae JB |
34 | |
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %configure | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
0db5b06e AM |
48 | %py_comp $RPM_BUILD_ROOT |
49 | %py_ocomp $RPM_BUILD_ROOT | |
50 | %py_postclean | |
51 | ||
45b8deae JB |
52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
6bd22fd1 | 57 | %doc COPYING NEWS README.md TODO doc/xml-xcb.txt |
bc364925 | 58 | %{_datadir}/xcb |
45b8deae | 59 | %{_pkgconfigdir}/xcb-proto.pc |
0db5b06e | 60 | %{py_sitescriptdir}/xcbgen |