]> git.pld-linux.org Git - packages/xcb-util.git/blob - xcb-util.spec
c856fcb559cd0cb3749c8d2cbd5e2e521d0268af
[packages/xcb-util.git] / xcb-util.spec
1 Summary:        XCB support library
2 Summary(pl.UTF-8):      Biblioteka wspomagająca XCB
3 Name:           xcb-util
4 Version:        0.4.0
5 Release:        2
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2e97feed81919465a04ccc71e4073313
10 URL:            http://xcb.freedesktop.org/XcbUtil/
11 BuildRequires:  libxcb-devel >= 1.4
12 BuildRequires:  pkgconfig
13 BuildRequires:  xcb-proto >= 1.6
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The xcb-util module provides a number of libraries which sit on top of
18 libxcb, the core X protocol library, and some of the extension
19 libraries. These experimental libraries provide convenience functions
20 and interfaces which make the raw X protocol more usable. Some of the
21 libraries also provide client-side code which is not strictly part of
22 the X protocol but which have traditionally been provided by Xlib.
23
24 XCB util module provides the following library:
25 - aux: Convenient access to connection setup and some core requests.
26 - atom: Standard core X atom constants and atom caching.
27 - event: Callback X event handling.
28
29 %description -l pl.UTF-8
30 xcb-util udostępnia wiele bibliotek opartych powyżej libxcb (głównej
31 biblioteki protokołu X) oraz trochę bibliotek rozszerzeń. Te
32 eksperymentalne biblioteki udostępniają wygodne funkcje i interfejsy
33 czyniące surowy protokół X bardziej używalnym. Niektóre biblioteki
34 udostępniają także kod kliencki nie będący ściśle częścią protokołu X,
35 ale tradycyjnie dostarczany przez Xlib.
36
37 Moduł XCB util udostępnia następujące biblioteki:
38 - aux: wygodny dostęp do konfiguracji połączenia i niektórych głównych
39   żądań.
40 - atom: standardowe stałe atomowe X i buforowanie atomowe.
41 - event: obsługa wywołań zwrotnych dla zdarzeń X.
42
43 %package devel
44 Summary:        Header files for XCB util library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki XCB util
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       libxcb-devel >= 1.4
49
50 %description devel
51 Header files for XCB util library.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki XCB util.
55
56 %package static
57 Summary:        Static XCB util library
58 Summary(pl.UTF-8):      Statyczna biblioteka XCB util
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static XCB util library.
64
65 %description static -l pl.UTF-8
66 Statyczna biblioteka XCB util.
67
68 %prep
69 %setup -q
70
71 %build
72 %configure
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc ChangeLog NEWS README
90 %attr(755,root,root) %{_libdir}/libxcb-util.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libxcb-util.so.1
92
93 %files devel
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libxcb-util.so
96 %{_libdir}/libxcb-util.la
97 %{_includedir}/xcb/xcb_atom.h
98 %{_includedir}/xcb/xcb_aux.h
99 %{_includedir}/xcb/xcb_event.h
100 %{_includedir}/xcb/xcb_util.h
101 %{_pkgconfigdir}/xcb-atom.pc
102 %{_pkgconfigdir}/xcb-aux.pc
103 %{_pkgconfigdir}/xcb-event.pc
104 %{_pkgconfigdir}/xcb-util.pc
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/libxcb-util.a
This page took 0.056506 seconds and 2 git commands to generate.