]>
Commit | Line | Data |
---|---|---|
2e0bf985 JB |
1 | Summary: XCB support library |
2 | Summary(pl.UTF-8): Biblioteka wspomagająca XCB | |
c4fff950 | 3 | Name: xcb-util |
fe269b62 | 4 | Version: 0.4.0 |
2e0bf985 | 5 | Release: 1 |
c4fff950 AM |
6 | License: MIT |
7 | Group: Libraries | |
8 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 | |
fe269b62 | 9 | # Source0-md5: 2e97feed81919465a04ccc71e4073313 |
111c327c | 10 | URL: http://xcb.freedesktop.org/XcbUtil/ |
0089d5cd | 11 | BuildRequires: libxcb-devel >= 1.4 |
c4fff950 | 12 | BuildRequires: pkgconfig |
2e0bf985 | 13 | BuildRequires: xcb-proto >= 1.6 |
c4fff950 AM |
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 | ||
2e0bf985 JB |
24 | XCB util module provides the following library: |
25 | - aux: Convenient access to connection setup and some core requests. | |
26 | - atom: Standard core X atom constants and atom caching. | |
27 | - event: Callback X event handling. | |
23b9b7c4 | 28 | |
23b9b7c4 JB |
29 | %description -l pl.UTF-8 |
30 | xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej | |
31 | biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te | |
32 | eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy | |
33 | czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki | |
34 | udostępniają także kod kliencki nie będący ściśle częścią protokołu X, | |
35 | ale tradycyjnie dostarczany przez Xlib. | |
36 | ||
2e0bf985 JB |
37 | Moduł XCB util udostępnia następujące biblioteki: |
38 | - aux: wygodny dostęp do konfiguracji połączenia i niektórych głównych | |
39 | żądań. | |
40 | - atom: standardowe stałe atomowe X i buforowanie atomowe. | |
41 | - event: obsługa wywołań zwrotnych dla zdarzeń X. | |
23b9b7c4 | 42 | |
c4fff950 | 43 | %package devel |
2e0bf985 JB |
44 | Summary: Header files for XCB util library |
45 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XCB util | |
c4fff950 AM |
46 | Group: Development/Libraries |
47 | Requires: %{name} = %{version}-%{release} | |
2e0bf985 | 48 | Requires: libxcb-devel >= 1.4 |
c4fff950 AM |
49 | |
50 | %description devel | |
2e0bf985 | 51 | Header files for XCB util library. |
c4fff950 | 52 | |
23b9b7c4 | 53 | %description devel -l pl.UTF-8 |
2e0bf985 | 54 | Pliki nagłówkowe biblioteki XCB util. |
23b9b7c4 | 55 | |
c4fff950 | 56 | %package static |
2e0bf985 JB |
57 | Summary: Static XCB util library |
58 | Summary(pl.UTF-8): Statyczna biblioteka XCB util | |
c4fff950 AM |
59 | Group: Development/Libraries |
60 | Requires: %{name}-devel = %{version}-%{release} | |
61 | ||
62 | %description static | |
2e0bf985 | 63 | Static XCB util library. |
c4fff950 | 64 | |
23b9b7c4 | 65 | %description static -l pl.UTF-8 |
2e0bf985 | 66 | Statyczna biblioteka XCB util. |
23b9b7c4 | 67 | |
c4fff950 AM |
68 | %prep |
69 | %setup -q | |
70 | ||
71 | %build | |
72 | %configure | |
73 | %{__make} | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
c4fff950 AM |
81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
2e0bf985 JB |
89 | %doc ChangeLog NEWS README |
90 | %attr(755,root,root) %{_libdir}/libxcb-util.so.*.*.* | |
a1192258 | 91 | %attr(755,root,root) %ghost %{_libdir}/libxcb-util.so.1 |
c4fff950 AM |
92 | |
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
2e0bf985 JB |
95 | %attr(755,root,root) %{_libdir}/libxcb-util.so |
96 | %{_libdir}/libxcb-util.la | |
97 | %{_includedir}/xcb/xcb_atom.h | |
98 | %{_includedir}/xcb/xcb_aux.h | |
2e0bf985 JB |
99 | %{_includedir}/xcb/xcb_event.h |
100 | %{_includedir}/xcb/xcb_util.h | |
6f339a79 JB |
101 | %{_pkgconfigdir}/xcb-atom.pc |
102 | %{_pkgconfigdir}/xcb-aux.pc | |
103 | %{_pkgconfigdir}/xcb-event.pc | |
2e0bf985 | 104 | %{_pkgconfigdir}/xcb-util.pc |
c4fff950 AM |
105 | |
106 | %files static | |
107 | %defattr(644,root,root,755) | |
2e0bf985 | 108 | %{_libdir}/libxcb-util.a |