]> git.pld-linux.org Git - packages/xcb-proto.git/blob - xcb-proto.spec
fb02f4b88ef1cc6cdb78f47a64431a44893fd728
[packages/xcb-proto.git] / xcb-proto.spec
1 Summary:        XML-XCB protocol description files
2 Summary(pl.UTF-8):      Pliki opisu protokołu XML-XCB
3 Name:           xcb-proto
4 Version:        1.6
5 Release:        3
6 License:        MIT
7 Group:          Development/Libraries
8 Source0:        http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
9 # Source0-md5:  04313e1d914b44d0e457f6c494fc178b
10 URL:            http://xcb.freedesktop.org/
11 BuildRequires:  python >= 1:2.5
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.219
14 %pyrequires_eq  python
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 xcb-proto provides the XML-XCB protocol descriptions that libxcb uses
19 to generate the majority of its code and API. They are provided
20 separately from libxcb to allow reuse by other projects, such as
21 additional language bindings, protocol dissectors, or documentation
22 generators.
23
24 %description -l pl.UTF-8
25 xcb-proto zawiera opisy protokołu XML-XCB używane przez libxcb do
26 generowania większości swojego kodu i API. Są dostarczane osobno, aby
27 umożliwić wykorzystanie przez inne projekty, takie jak dodatkowe
28 dowiązania dla innych języków, analizatory protokołu czy generatory
29 dokumentacji.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %py_comp $RPM_BUILD_ROOT
45 %py_ocomp $RPM_BUILD_ROOT
46 %py_postclean
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc COPYING NEWS README TODO doc/xml-xcb.txt
54 %{_datadir}/xcb
55 %{_pkgconfigdir}/xcb-proto.pc
56 %{py_sitescriptdir}/xcbgen
This page took 0.463454 seconds and 2 git commands to generate.