]> git.pld-linux.org Git - packages/xcb-util-keysyms.git/blob - xcb-util-keysyms.spec
- updated to 0.4.1, drop .la file
[packages/xcb-util-keysyms.git] / xcb-util-keysyms.spec
1 Summary:        XCB util-keysyms module
2 Summary(pl.UTF-8):      Moduł XCB util-keysyms
3 Name:           xcb-util-keysyms
4 Version:        0.4.1
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
9 # Source0-md5:  fbdc05f86f72f287ed71b162f1a9725a
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:  xorg-proto-xproto-devel >= 7.0.8
16 BuildRequires:  xz
17 Requires:       libxcb >= 1.4
18 Conflicts:      xcb-util < 0.3.8
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ę:
41 - keysyms: standardowe stałe i konwersje klawiszy X z/do kodów
42 klawiszy.
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
50 Conflicts:      xcb-util-devel < 0.3.8
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
84 # obsoleted by pkg-config
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxcb-keysyms.la
86
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)
95 %doc ChangeLog NEWS README.md
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
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
This page took 0.097068 seconds and 3 git commands to generate.