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