]>
Commit | Line | Data |
---|---|---|
7792b399 JB |
1 | Summary: XCB util-wm module |
2 | Summary(pl.UTF-8): Moduł XCB util-wm | |
3 | Name: xcb-util-wm | |
0c81b741 JB |
4 | Version: 0.4.2 |
5 | Release: 1 | |
7792b399 JB |
6 | License: MIT |
7 | Group: Libraries | |
0c81b741 JB |
8 | Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 581b3a092e3c0c1b4de6416d90b969c3 | |
10 | URL: https://xcb.freedesktop.org/XcbUtil/ | |
7792b399 JB |
11 | BuildRequires: gperf |
12 | BuildRequires: libxcb-devel >= 1.4 | |
13 | BuildRequires: m4 | |
14 | BuildRequires: pkgconfig | |
0c81b741 | 15 | BuildRequires: tar >= 1:1.22 |
7792b399 | 16 | BuildRequires: xcb-proto >= 1.6 |
fc8e4749 | 17 | BuildRequires: xorg-util-util-macros >= 1.16.0 |
0c81b741 | 18 | BuildRequires: xz |
dca689bf | 19 | Requires: libxcb >= 1.4 |
ce5fb063 | 20 | Conflicts: xcb-util < 0.3.8 |
7792b399 JB |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | The xcb-util module provides a number of libraries which sit on top of | |
25 | libxcb, the core X protocol library, and some of the extension | |
26 | libraries. These experimental libraries provide convenience functions | |
27 | and interfaces which make the raw X protocol more usable. Some of the | |
28 | libraries also provide client-side code which is not strictly part of | |
29 | the X protocol but which have traditionally been provided by Xlib. | |
30 | ||
31 | XCB util-wm module provides the following libraries: | |
32 | - ewmh: Both client and window-manager helpers for EWMH. | |
33 | - icccm: Both client and window-manager helpers for ICCCM. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej | |
37 | biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te | |
38 | eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy | |
39 | czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki | |
40 | udostępniają także kod kliencki nie będący ściśle częścią protokołu X, | |
41 | ale tradycyjnie dostarczany przez Xlib. | |
42 | ||
43 | Moduł XCB util-wm udostępnia następującą biliotekę: | |
44 | - ewmh: funkcje pomocnicze dla klientów i zarządców okien do EWMH. | |
45 | - icccm: funkcje pomocnicze dla klientów i zarządców okien do ICCCM. | |
46 | ||
47 | %package devel | |
48 | Summary: Header files for XCB util-wm libraries | |
49 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek XCB util-wm | |
50 | Group: Development/Libraries | |
51 | Requires: %{name} = %{version}-%{release} | |
52 | Requires: libxcb-devel >= 1.4 | |
ce5fb063 | 53 | Conflicts: xcb-util < 0.3.8 |
7792b399 JB |
54 | |
55 | %description devel | |
56 | Header files for XCB util-wm libraries. | |
57 | ||
58 | %description devel -l pl.UTF-8 | |
59 | Pliki nagłówkowe bibliotek XCB util-wm. | |
60 | ||
61 | %package static | |
62 | Summary: Static XCB util-wm libraries | |
63 | Summary(pl.UTF-8): Statyczne biblioteki XCB util-wm | |
64 | Group: Development/Libraries | |
65 | Requires: %{name}-devel = %{version}-%{release} | |
66 | ||
67 | %description static | |
68 | Static XCB util-wm libraries. | |
69 | ||
70 | %description static -l pl.UTF-8 | |
71 | Statyczne biblioteki XCB util-wm. | |
72 | ||
73 | %prep | |
74 | %setup -q | |
75 | ||
76 | %build | |
77 | %configure \ | |
78 | --disable-silent-rules | |
79 | %{__make} | |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %{__make} install \ | |
85 | DESTDIR=$RPM_BUILD_ROOT | |
86 | ||
0c81b741 JB |
87 | # obsoleted by pkg-config |
88 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxcb-{ewmh,icccm}.la | |
89 | ||
7792b399 JB |
90 | %clean |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files | |
97 | %defattr(644,root,root,755) | |
0c81b741 | 98 | %doc ChangeLog NEWS README.md |
7792b399 JB |
99 | %attr(755,root,root) %{_libdir}/libxcb-icccm.so.*.*.* |
100 | %attr(755,root,root) %ghost %{_libdir}/libxcb-icccm.so.4 | |
101 | %attr(755,root,root) %{_libdir}/libxcb-ewmh.so.*.*.* | |
dca689bf | 102 | %attr(755,root,root) %ghost %{_libdir}/libxcb-ewmh.so.2 |
7792b399 JB |
103 | |
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_libdir}/libxcb-ewmh.so | |
107 | %attr(755,root,root) %{_libdir}/libxcb-icccm.so | |
7792b399 JB |
108 | %{_includedir}/xcb/xcb_ewmh.h |
109 | %{_includedir}/xcb/xcb_icccm.h | |
110 | %{_pkgconfigdir}/xcb-ewmh.pc | |
111 | %{_pkgconfigdir}/xcb-icccm.pc | |
112 | ||
113 | %files static | |
114 | %defattr(644,root,root,755) | |
115 | %{_libdir}/libxcb-ewmh.a | |
116 | %{_libdir}/libxcb-icccm.a |