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