]>
Commit | Line | Data |
---|---|---|
c4fff950 | 1 | Summary: XCB support libraries |
23b9b7c4 | 2 | Summary(pl.UTF-8): Biblioteki wspomagające XCB |
c4fff950 | 3 | Name: xcb-util |
0e27cc99 | 4 | Version: 0.3.0 |
c4fff950 AM |
5 | Release: 1 |
6 | License: MIT | |
7 | Group: Libraries | |
8 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 | |
0e27cc99 | 9 | # Source0-md5: 5f2188492a7d12142d83f73cf0054c59 |
c4fff950 AM |
10 | URL: http://xcb.freedesktop.org/ |
11 | BuildRequires: gperf | |
12 | BuildRequires: libxcb-devel >= 1.0 | |
13 | BuildRequires: pkgconfig | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | The xcb-util module provides a number of libraries which sit on top of | |
18 | libxcb, the core X protocol library, and some of the extension | |
19 | libraries. These experimental libraries provide convenience functions | |
20 | and interfaces which make the raw X protocol more usable. Some of the | |
21 | libraries also provide client-side code which is not strictly part of | |
22 | the X protocol but which have traditionally been provided by Xlib. | |
23 | ||
24 | These libraries are currently included, roughly ordered by maturity: | |
25 | ||
23b9b7c4 JB |
26 | render-util: Convenience functions for the Render extension. |
27 | ||
28 | aux: Convenient access to connection setup and some core requests. | |
29 | ||
30 | atom: Standard core X atom constants and atom caching. | |
31 | ||
32 | property: Callback X property-change handling. | |
33 | ||
34 | icccm: Both client and window-manager helpers for ICCCM. | |
35 | ||
36 | keysyms: Standard X key constants and conversion to/from keycodes. | |
37 | ||
38 | event: Callback X event handling. | |
39 | ||
40 | image: Port of Xlib's XImage and XShmImage functions. | |
41 | ||
42 | wm: Framework for window manager implementation. | |
43 | ||
44 | %description -l pl.UTF-8 | |
45 | xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej | |
46 | biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te | |
47 | eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy | |
48 | czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki | |
49 | udostępniają także kod kliencki nie będący ściśle częścią protokołu X, | |
50 | ale tradycyjnie dostarczany przez Xlib. | |
51 | ||
52 | Załączone biblioteki w kolejności dojrzałości to: | |
53 | ||
54 | render-util: wygodne funkcje do rozszerzenia Render. | |
55 | ||
56 | aux: wygodny dostęp do konfiguracji połączenia i niektórych głównych | |
57 | żądań. | |
58 | ||
59 | atom: standardowe stałe atomowe X i buforowanie atomowe. | |
60 | ||
61 | property: obsługa wywołań zwrotnych przy zmianie własności X. | |
62 | ||
63 | icccm: funkcje pomocnicze dla klientów i zarządców okien do ICCCM. | |
64 | ||
65 | keysyms: standardowe stałe i konwersje klawiszy X z/do kodów klawiszy. | |
66 | ||
67 | event: obsługa wywołań zwrotnych dla zdarzeń X. | |
68 | ||
69 | image: port funkcji XImage i XShmImage z Xlib. | |
70 | ||
71 | wm: szkielet dla implementacji zarządców okien. | |
c4fff950 AM |
72 | |
73 | %package devel | |
74 | Summary: Header files for XCB util libraries | |
23b9b7c4 | 75 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek XCB util |
c4fff950 AM |
76 | Group: Development/Libraries |
77 | Requires: %{name} = %{version}-%{release} | |
23b9b7c4 | 78 | Requires: libxcb-devel >= 1.0 |
c4fff950 AM |
79 | |
80 | %description devel | |
81 | Header files for XCB util libraries. | |
82 | ||
23b9b7c4 JB |
83 | %description devel -l pl.UTF-8 |
84 | Pliki nagłówkowe bibliotek XCB util. | |
85 | ||
c4fff950 AM |
86 | %package static |
87 | Summary: Static XCB util libraries | |
23b9b7c4 | 88 | Summary(pl.UTF-8): Statyczne biblioteki XCB util |
c4fff950 AM |
89 | Group: Development/Libraries |
90 | Requires: %{name}-devel = %{version}-%{release} | |
91 | ||
92 | %description static | |
93 | Static XCB util libraries. | |
94 | ||
23b9b7c4 JB |
95 | %description static -l pl.UTF-8 |
96 | Statyczne biblioteki XCB util. | |
97 | ||
c4fff950 AM |
98 | %prep |
99 | %setup -q | |
100 | ||
101 | %build | |
102 | %configure | |
103 | %{__make} | |
104 | ||
105 | %install | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %{__make} install \ | |
109 | DESTDIR=$RPM_BUILD_ROOT | |
110 | ||
111 | rm -rf $RPM_BUILD_ROOT%{_docdir}/libxcb | |
112 | ||
113 | %clean | |
114 | rm -rf $RPM_BUILD_ROOT | |
115 | ||
116 | %post -p /sbin/ldconfig | |
117 | %postun -p /sbin/ldconfig | |
118 | ||
119 | %files | |
120 | %defattr(644,root,root,755) | |
0e27cc99 | 121 | %doc README |
6f339a79 | 122 | %attr(755,root,root) %{_libdir}/libxcb-atom.so.*.*.* |
0e27cc99 | 123 | %attr(755,root,root) %ghost %{_libdir}/libxcb-atom.so.1 |
6f339a79 JB |
124 | %attr(755,root,root) %{_libdir}/libxcb-aux.so.*.*.* |
125 | %attr(755,root,root) %ghost %{_libdir}/libxcb-aux.so.0 | |
126 | %attr(755,root,root) %{_libdir}/libxcb-event.so.*.*.* | |
0e27cc99 | 127 | %attr(755,root,root) %ghost %{_libdir}/libxcb-event.so.1 |
6f339a79 | 128 | %attr(755,root,root) %{_libdir}/libxcb-icccm.so.*.*.* |
0e27cc99 | 129 | %attr(755,root,root) %ghost %{_libdir}/libxcb-icccm.so.1 |
6f339a79 JB |
130 | %attr(755,root,root) %{_libdir}/libxcb-image.so.*.*.* |
131 | %attr(755,root,root) %ghost %{_libdir}/libxcb-image.so.0 | |
132 | %attr(755,root,root) %{_libdir}/libxcb-keysyms.so.*.*.* | |
133 | %attr(755,root,root) %ghost %{_libdir}/libxcb-keysyms.so.0 | |
134 | %attr(755,root,root) %{_libdir}/libxcb-property.so.*.*.* | |
0e27cc99 | 135 | %attr(755,root,root) %ghost %{_libdir}/libxcb-property.so.1 |
6f339a79 JB |
136 | %attr(755,root,root) %{_libdir}/libxcb-render-util.so.*.*.* |
137 | %attr(755,root,root) %ghost %{_libdir}/libxcb-render-util.so.0 | |
138 | %attr(755,root,root) %{_libdir}/libxcb-reply.so.*.*.* | |
0e27cc99 | 139 | %attr(755,root,root) %ghost %{_libdir}/libxcb-reply.so.1 |
6f339a79 JB |
140 | %attr(755,root,root) %{_libdir}/libxcb-wm.so.*.*.* |
141 | %attr(755,root,root) %ghost %{_libdir}/libxcb-wm.so.0 | |
c4fff950 AM |
142 | |
143 | %files devel | |
144 | %defattr(644,root,root,755) | |
6f339a79 JB |
145 | %attr(755,root,root) %{_libdir}/libxcb-atom.so |
146 | %attr(755,root,root) %{_libdir}/libxcb-aux.so | |
147 | %attr(755,root,root) %{_libdir}/libxcb-event.so | |
148 | %attr(755,root,root) %{_libdir}/libxcb-icccm.so | |
149 | %attr(755,root,root) %{_libdir}/libxcb-image.so | |
150 | %attr(755,root,root) %{_libdir}/libxcb-keysyms.so | |
151 | %attr(755,root,root) %{_libdir}/libxcb-property.so | |
152 | %attr(755,root,root) %{_libdir}/libxcb-render-util.so | |
153 | %attr(755,root,root) %{_libdir}/libxcb-reply.so | |
154 | %attr(755,root,root) %{_libdir}/libxcb-wm.so | |
155 | %{_libdir}/libxcb-atom.la | |
156 | %{_libdir}/libxcb-aux.la | |
157 | %{_libdir}/libxcb-event.la | |
158 | %{_libdir}/libxcb-icccm.la | |
159 | %{_libdir}/libxcb-image.la | |
160 | %{_libdir}/libxcb-keysyms.la | |
161 | %{_libdir}/libxcb-property.la | |
162 | %{_libdir}/libxcb-render-util.la | |
163 | %{_libdir}/libxcb-reply.la | |
164 | %{_libdir}/libxcb-wm.la | |
23b9b7c4 | 165 | %{_includedir}/xcb/xcb_*.h |
6f339a79 JB |
166 | %{_pkgconfigdir}/xcb-atom.pc |
167 | %{_pkgconfigdir}/xcb-aux.pc | |
168 | %{_pkgconfigdir}/xcb-event.pc | |
169 | %{_pkgconfigdir}/xcb-icccm.pc | |
170 | %{_pkgconfigdir}/xcb-image.pc | |
171 | %{_pkgconfigdir}/xcb-keysyms.pc | |
172 | %{_pkgconfigdir}/xcb-property.pc | |
173 | %{_pkgconfigdir}/xcb-renderutil.pc | |
174 | %{_pkgconfigdir}/xcb-reply.pc | |
175 | %{_pkgconfigdir}/xcb-wm.pc | |
c4fff950 AM |
176 | |
177 | %files static | |
178 | %defattr(644,root,root,755) | |
6f339a79 JB |
179 | %{_libdir}/libxcb-atom.a |
180 | %{_libdir}/libxcb-aux.a | |
181 | %{_libdir}/libxcb-event.a | |
182 | %{_libdir}/libxcb-icccm.a | |
183 | %{_libdir}/libxcb-image.a | |
184 | %{_libdir}/libxcb-keysyms.a | |
185 | %{_libdir}/libxcb-property.a | |
186 | %{_libdir}/libxcb-render-util.a | |
187 | %{_libdir}/libxcb-reply.a | |
188 | %{_libdir}/libxcb-wm.a |