]> git.pld-linux.org Git - packages/xcb-util.git/blob - xcb-util.spec
- initial pld release
[packages/xcb-util.git] / xcb-util.spec
1 Summary:        XCB support libraries
2 Name:           xcb-util
3 Version:        0.2
4 Release:        1
5 License:        MIT
6 Group:          Libraries
7 Source0:        http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
8 # Source0-md5:  b09bdebad50638709de22d8eb2dc3bf5
9 URL:            http://xcb.freedesktop.org/
10 BuildRequires:  gperf
11 BuildRequires:  libxcb-devel >= 1.0
12 BuildRequires:  pkgconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The xcb-util module provides a number of libraries which sit on top of
17 libxcb, the core X protocol library, and some of the extension
18 libraries. These experimental libraries provide convenience functions
19 and interfaces which make the raw X protocol more usable. Some of the
20 libraries also provide client-side code which is not strictly part of
21 the X protocol but which have traditionally been provided by Xlib.
22
23 These libraries are currently included, roughly ordered by maturity:
24
25 render-util: Convenience functions for the Render extension. aux:
26 Convenient access to connection setup and some core requests. atom:
27 Standard core X atom constants and atom caching. property: Callback X
28 property-change handling. icccm: Both client and window-manager
29 helpers for ICCCM. keysyms: Standard X key constants and conversion
30 to/from keycodes. event: Callback X event handling. image: Port of
31 Xlib's XImage and XShmImage functions. wm: Framework for window
32 manager implementation.
33
34 %package devel
35 Summary:        Header files for XCB util libraries
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       libxcb-devel
39
40 %description devel
41 Header files for XCB util libraries.
42
43 %package static
44 Summary:        Static XCB util libraries
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static XCB util libraries.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -rf $RPM_BUILD_ROOT%{_docdir}/libxcb
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %doc NEWS README
75 %attr(755,root,root) %{_libdir}/libxcb*.so.*.*.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/libxcb*.so
80 %{_libdir}/libxcb*.la
81 %{_includedir}/xcb
82 %{_pkgconfigdir}/xcb*.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/libxcb*.a
This page took 0.060568 seconds and 3 git commands to generate.