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