1 Summary: XCB util-image module
2 Summary(pl.UTF-8): Moduł XCB util-image
8 Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
9 # Source0-md5: a67bfac2eff696170259ef1f5ce1b611
10 URL: https://xcb.freedesktop.org/XcbUtil/
11 BuildRequires: libxcb-devel >= 1.4
12 BuildRequires: pkgconfig
13 BuildRequires: tar >= 1:1.22
14 BuildRequires: xcb-proto >= 1.6
15 BuildRequires: xcb-util-devel >= 0.4.0
16 BuildRequires: xorg-proto-xproto-devel >= 7.0.8
18 Requires: libxcb >= 1.4
19 Requires: xcb-util >= 0.4.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The xcb-util module provides a number of libraries which sit on top of
24 libxcb, the core X protocol library, and some of the extension
25 libraries. These experimental libraries provide convenience functions
26 and interfaces which make the raw X protocol more usable. Some of the
27 libraries also provide client-side code which is not strictly part of
28 the X protocol but which have traditionally been provided by Xlib.
30 XCB util-image module provides the following library:
31 - image: Port of Xlib's XImage and XShmImage functions.
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.
41 Moduł XCB util-image udostępnia następującą biliotekę:
42 - image: port funkcji XImage i XShmImage z Xlib.
45 Summary: Header files for XCB util-image library
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XCB util-image
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: libxcb-devel >= 1.4
50 Requires: xcb-util-devel >= 0.4.0
53 Header files for XCB util-image library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki XCB util-image.
59 Summary: Static XCB util-image library
60 Summary(pl.UTF-8): Statyczna biblioteka XCB util-image
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static XCB util-image library.
67 %description static -l pl.UTF-8
68 Statyczna biblioteka XCB util-image.
75 --disable-silent-rules
79 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
84 # obsoleted by pkg-config
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxcb-image.la
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
95 %doc ChangeLog NEWS README.md
96 %attr(755,root,root) %{_libdir}/libxcb-image.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libxcb-image.so.0
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libxcb-image.so
102 %{_includedir}/xcb/xcb_bitops.h
103 %{_includedir}/xcb/xcb_image.h
104 %{_includedir}/xcb/xcb_pixel.h
105 %{_pkgconfigdir}/xcb-image.pc
108 %defattr(644,root,root,755)
109 %{_libdir}/libxcb-image.a