]>
Commit | Line | Data |
---|---|---|
c15de8ac JB |
1 | Summary: XCB util-keysyms module |
2 | Summary(pl.UTF-8): Moduł XCB util-keysyms | |
3 | Name: xcb-util-keysyms | |
5a18489a JB |
4 | Version: 0.4.1 |
5 | Release: 1 | |
c15de8ac JB |
6 | License: MIT |
7 | Group: Libraries | |
5a18489a JB |
8 | Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz |
9 | # Source0-md5: fbdc05f86f72f287ed71b162f1a9725a | |
10 | URL: https://xcb.freedesktop.org/XcbUtil/ | |
c15de8ac | 11 | BuildRequires: libxcb-devel >= 1.4 |
c15de8ac | 12 | BuildRequires: pkgconfig |
5a18489a | 13 | BuildRequires: tar >= 1:1.22 |
c15de8ac | 14 | BuildRequires: xcb-proto >= 1.6 |
c15de8ac | 15 | BuildRequires: xorg-proto-xproto-devel >= 7.0.8 |
5a18489a | 16 | BuildRequires: xz |
f73dbf0b | 17 | Requires: libxcb >= 1.4 |
c6411f9a | 18 | Conflicts: xcb-util < 0.3.8 |
c15de8ac 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-keysyms module provides the following library: | |
30 | - keysyms: Standard X key constants and conversion to/from keycodes. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej | |
34 | biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te | |
35 | eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy | |
36 | czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki | |
37 | udostępniają także kod kliencki nie będący ściśle częścią protokołu X, | |
38 | ale tradycyjnie dostarczany przez Xlib. | |
39 | ||
40 | Moduł XCB util-keysyms udostępnia następującą biliotekę: | |
f73dbf0b JB |
41 | - keysyms: standardowe stałe i konwersje klawiszy X z/do kodów |
42 | klawiszy. | |
c15de8ac JB |
43 | |
44 | %package devel | |
45 | Summary: Header files for XCB util-keysyms library | |
46 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XCB util-keysyms | |
47 | Group: Development/Libraries | |
48 | Requires: %{name} = %{version}-%{release} | |
49 | Requires: libxcb-devel >= 1.4 | |
c6411f9a | 50 | Conflicts: xcb-util-devel < 0.3.8 |
c15de8ac JB |
51 | |
52 | %description devel | |
53 | Header files for XCB util-keysyms library. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
56 | Pliki nagłówkowe biblioteki XCB util-keysyms. | |
57 | ||
58 | %package static | |
59 | Summary: Static XCB util-keysyms library | |
60 | Summary(pl.UTF-8): Statyczna biblioteka XCB util-keysyms | |
61 | Group: Development/Libraries | |
62 | Requires: %{name}-devel = %{version}-%{release} | |
63 | ||
64 | %description static | |
65 | Static XCB util-keysyms library. | |
66 | ||
67 | %description static -l pl.UTF-8 | |
68 | Statyczna biblioteka XCB util-keysyms. | |
69 | ||
70 | %prep | |
71 | %setup -q | |
72 | ||
73 | %build | |
74 | %configure \ | |
75 | --disable-silent-rules | |
76 | %{__make} | |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT | |
83 | ||
5a18489a JB |
84 | # obsoleted by pkg-config |
85 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxcb-keysyms.la | |
86 | ||
c15de8ac JB |
87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %post -p /sbin/ldconfig | |
91 | %postun -p /sbin/ldconfig | |
92 | ||
93 | %files | |
94 | %defattr(644,root,root,755) | |
5a18489a | 95 | %doc ChangeLog NEWS README.md |
c15de8ac JB |
96 | %attr(755,root,root) %{_libdir}/libxcb-keysyms.so.*.*.* |
97 | %attr(755,root,root) %ghost %{_libdir}/libxcb-keysyms.so.1 | |
98 | ||
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
101 | %attr(755,root,root) %{_libdir}/libxcb-keysyms.so | |
c15de8ac JB |
102 | %{_includedir}/xcb/xcb_keysyms.h |
103 | %{_pkgconfigdir}/xcb-keysyms.pc | |
104 | ||
105 | %files static | |
106 | %defattr(644,root,root,755) | |
107 | %{_libdir}/libxcb-keysyms.a |