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