]> git.pld-linux.org Git - packages/xcb-proto.git/blob - xcb-proto.spec
- up to 1.3
[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.3
5 Release:        1
6 License:        MIT
7 Group:          Development/Libraries
8 Source0:        http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d9275a714e83ab9c1f9b260c6eff1609
10 URL:            http://xcb.freedesktop.org/
11 BuildRequires:  python
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.078483 seconds and 4 git commands to generate.