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