summaryrefslogtreecommitdiff
path: root/packaging/xcb-util.spec
blob: 3f3268e8d79b831e8c34e3695a4ca3ff31e8d4b2 (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
60
Name:           xcb-util
Version:        0.3.9
Release:        0
License:        MIT
Summary:        utility libraries for X C Binding
Url:            http://xcb.freedesktop.org/
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2

BuildRequires:  gperf
BuildRequires:  libxcb-devel >= 1.4
BuildRequires:  m4
BuildRequires:  pkgconfig(xorg-macros)
BuildRequires:  pkgconfig(xproto)

%description
Description: %{summary}
The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.

%package 	devel
Summary:        Development and header files for xcb-util
Group:          System Environment/Libraries
Requires:       %{name} = %{version}
Requires:       pkgconfig

%description	devel
Development files for xcb-util.

%prep
%setup -q

%build
%configure --disable-static

make %{?_smp_mflags}

%install
%make_install

%remove_docs

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_libdir}/libxcb-util.so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/xcb/*.h