blob: 0761cc03f911570a642b5e4eab2927738f0950f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
Name: xcb-proto
Version: 1.8
Release: 1
License: MIT
Summary: X C Binding - protocol descriptions
Url: http://www.x.org
Group: Development/X11 Protocols
Source0: %{name}-%{version}.tar.bz2
Source1001: xcb-proto.manifest
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: pkgconfig(xorg-macros)
Requires: python-xcb-proto
%description
The xcb-proto package provides the XML-XCB protocol
descriptions that libxcb uses to generate the majority of
its code and API.
%package -n python-xcb-proto
Summary: Python libraries mandatory for XML-XCB Development
Group: Development/X11 Protocols
Requires: python = %{py_ver}
%description -n python-xcb-proto
Language-independent Python
libraries that used to parse an XML description and create objects
used by Python code generators in individual language bindings.
%prep
%setup -q
cp %{SOURCE1001} .
%build
%configure --disable-static \
--libdir=%{_datadir} \
--without-xmlto
make %{?_smp_mflags}
%install
%make_install
%remove_docs
%files
%manifest %{name}.manifest
%license COPYING
%{_datadir}/pkgconfig/xcb-proto.pc
%dir %{_datadir}/xcb/
%{_datadir}/xcb/*.xsd
%{_datadir}/xcb/*.xml
%files -n python-xcb-proto
%manifest %{name}.manifest
%python_sitelib/xcbgen/
|