]> git.pld-linux.org Git - packages/xcb-proto.git/blob - xcb-proto.spec
- updated to 1.14
[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.14
5 Release:        1
6 License:        MIT
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
17 BuildRequires:  xz
18 Requires:       python >= 1:2.5
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
27
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
33 dokumentacji.
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
48 %py_comp $RPM_BUILD_ROOT
49 %py_ocomp $RPM_BUILD_ROOT
50 %py_postclean
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc COPYING NEWS README.md TODO doc/xml-xcb.txt
58 %{_datadir}/xcb
59 %{_pkgconfigdir}/xcb-proto.pc
60 %{py_sitescriptdir}/xcbgen
This page took 0.09285 seconds and 4 git commands to generate.