]>
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 | |
57ce81f1 | 12 | BuildRequires: libxcb-devel >= 1.3 |
c4fff950 AM |
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 | ||
23b9b7c4 JB |
42 | %description -l pl.UTF-8 |
43 | xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej | |
44 | biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te | |
45 | eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy | |
46 | czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki | |
47 | udostępniają także kod kliencki nie będący ściśle częścią protokołu X, | |
48 | ale tradycyjnie dostarczany przez Xlib. | |
49 | ||
50 | Załączone biblioteki w kolejności dojrzałości to: | |
51 | ||
52 | render-util: wygodne funkcje do rozszerzenia Render. | |
53 | ||
54 | aux: wygodny dostęp do konfiguracji połączenia i niektórych głównych | |
55 | żądań. | |
56 | ||
57 | atom: standardowe stałe atomowe X i buforowanie atomowe. | |
58 | ||
59 | property: obsługa wywołań zwrotnych przy zmianie własności X. | |
60 | ||
61 | icccm: funkcje pomocnicze dla klientów i zarządców okien do ICCCM. | |
62 | ||
63 | keysyms: standardowe stałe i konwersje klawiszy X z/do kodów klawiszy. | |
64 | ||
65 | event: obsługa wywołań zwrotnych dla zdarzeń X. | |
66 | ||
67 | image: port funkcji XImage i XShmImage z Xlib. | |
68 | ||
c4fff950 AM |
69 | %package devel |
70 | Summary: Header files for XCB util libraries | |
23b9b7c4 | 71 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek XCB util |
c4fff950 AM |
72 | Group: Development/Libraries |
73 | Requires: %{name} = %{version}-%{release} | |
23b9b7c4 | 74 | Requires: libxcb-devel >= 1.0 |
c4fff950 AM |
75 | |
76 | %description devel | |
77 | Header files for XCB util libraries. | |
78 | ||
23b9b7c4 JB |
79 | %description devel -l pl.UTF-8 |
80 | Pliki nagłówkowe bibliotek XCB util. | |
81 | ||
c4fff950 AM |
82 | %package static |
83 | Summary: Static XCB util libraries | |
23b9b7c4 | 84 | Summary(pl.UTF-8): Statyczne biblioteki XCB util |
c4fff950 AM |
85 | Group: Development/Libraries |
86 | Requires: %{name}-devel = %{version}-%{release} | |
87 | ||
88 | %description static | |
89 | Static XCB util libraries. | |
90 | ||
23b9b7c4 JB |
91 | %description static -l pl.UTF-8 |
92 | Statyczne biblioteki XCB util. | |
93 | ||
c4fff950 AM |
94 | %prep |
95 | %setup -q | |
96 | ||
97 | %build | |
98 | %configure | |
99 | %{__make} | |
100 | ||
101 | %install | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %{__make} install \ | |
105 | DESTDIR=$RPM_BUILD_ROOT | |
106 | ||
107 | rm -rf $RPM_BUILD_ROOT%{_docdir}/libxcb | |
108 | ||
109 | %clean | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %post -p /sbin/ldconfig | |
113 | %postun -p /sbin/ldconfig | |
114 | ||
115 | %files | |
116 | %defattr(644,root,root,755) | |
0e27cc99 | 117 | %doc README |
6f339a79 | 118 | %attr(755,root,root) %{_libdir}/libxcb-atom.so.*.*.* |
0e27cc99 | 119 | %attr(755,root,root) %ghost %{_libdir}/libxcb-atom.so.1 |
6f339a79 JB |
120 | %attr(755,root,root) %{_libdir}/libxcb-aux.so.*.*.* |
121 | %attr(755,root,root) %ghost %{_libdir}/libxcb-aux.so.0 | |
122 | %attr(755,root,root) %{_libdir}/libxcb-event.so.*.*.* | |
0e27cc99 | 123 | %attr(755,root,root) %ghost %{_libdir}/libxcb-event.so.1 |
6f339a79 | 124 | %attr(755,root,root) %{_libdir}/libxcb-icccm.so.*.*.* |
0e27cc99 | 125 | %attr(755,root,root) %ghost %{_libdir}/libxcb-icccm.so.1 |
6f339a79 JB |
126 | %attr(755,root,root) %{_libdir}/libxcb-image.so.*.*.* |
127 | %attr(755,root,root) %ghost %{_libdir}/libxcb-image.so.0 | |
128 | %attr(755,root,root) %{_libdir}/libxcb-keysyms.so.*.*.* | |
0a9bca52 | 129 | %attr(755,root,root) %ghost %{_libdir}/libxcb-keysyms.so.1 |
6f339a79 | 130 | %attr(755,root,root) %{_libdir}/libxcb-property.so.*.*.* |
0e27cc99 | 131 | %attr(755,root,root) %ghost %{_libdir}/libxcb-property.so.1 |
6f339a79 JB |
132 | %attr(755,root,root) %{_libdir}/libxcb-render-util.so.*.*.* |
133 | %attr(755,root,root) %ghost %{_libdir}/libxcb-render-util.so.0 | |
134 | %attr(755,root,root) %{_libdir}/libxcb-reply.so.*.*.* | |
0e27cc99 | 135 | %attr(755,root,root) %ghost %{_libdir}/libxcb-reply.so.1 |
c4fff950 AM |
136 | |
137 | %files devel | |
138 | %defattr(644,root,root,755) | |
6f339a79 JB |
139 | %attr(755,root,root) %{_libdir}/libxcb-atom.so |
140 | %attr(755,root,root) %{_libdir}/libxcb-aux.so | |
141 | %attr(755,root,root) %{_libdir}/libxcb-event.so | |
142 | %attr(755,root,root) %{_libdir}/libxcb-icccm.so | |
143 | %attr(755,root,root) %{_libdir}/libxcb-image.so | |
144 | %attr(755,root,root) %{_libdir}/libxcb-keysyms.so | |
145 | %attr(755,root,root) %{_libdir}/libxcb-property.so | |
146 | %attr(755,root,root) %{_libdir}/libxcb-render-util.so | |
147 | %attr(755,root,root) %{_libdir}/libxcb-reply.so | |
6f339a79 JB |
148 | %{_libdir}/libxcb-atom.la |
149 | %{_libdir}/libxcb-aux.la | |
150 | %{_libdir}/libxcb-event.la | |
151 | %{_libdir}/libxcb-icccm.la | |
152 | %{_libdir}/libxcb-image.la | |
153 | %{_libdir}/libxcb-keysyms.la | |
154 | %{_libdir}/libxcb-property.la | |
155 | %{_libdir}/libxcb-render-util.la | |
156 | %{_libdir}/libxcb-reply.la | |
23b9b7c4 | 157 | %{_includedir}/xcb/xcb_*.h |
6f339a79 JB |
158 | %{_pkgconfigdir}/xcb-atom.pc |
159 | %{_pkgconfigdir}/xcb-aux.pc | |
160 | %{_pkgconfigdir}/xcb-event.pc | |
161 | %{_pkgconfigdir}/xcb-icccm.pc | |
162 | %{_pkgconfigdir}/xcb-image.pc | |
163 | %{_pkgconfigdir}/xcb-keysyms.pc | |
164 | %{_pkgconfigdir}/xcb-property.pc | |
165 | %{_pkgconfigdir}/xcb-renderutil.pc | |
166 | %{_pkgconfigdir}/xcb-reply.pc | |
c4fff950 AM |
167 | |
168 | %files static | |
169 | %defattr(644,root,root,755) | |
6f339a79 JB |
170 | %{_libdir}/libxcb-atom.a |
171 | %{_libdir}/libxcb-aux.a | |
172 | %{_libdir}/libxcb-event.a | |
173 | %{_libdir}/libxcb-icccm.a | |
174 | %{_libdir}/libxcb-image.a | |
175 | %{_libdir}/libxcb-keysyms.a | |
176 | %{_libdir}/libxcb-property.a | |
177 | %{_libdir}/libxcb-render-util.a | |
178 | %{_libdir}/libxcb-reply.a |