1 Summary: XCB util-xrm module
7 Source0: https://github.com/Airblader/xcb-util-xrm/releases/download/v%{version}/%{name}-%{version}.tar.bz2
8 # Source0-md5: 6b5249f1e4e4e1c5e367d894d27dd0c0
9 URL: https://github.com/Airblader/xcb-util-xrm
10 BuildRequires: autoconf >= 2.62
11 BuildRequires: automake
12 BuildRequires: libtool
13 BuildRequires: libxcb-devel >= 1.4
14 BuildRequires: pkgconfig
15 BuildRequires: xcb-proto >= 1.6
16 BuildRequires: xcb-util-devel
17 BuildRequires: xorg-lib-libX11-devel
18 BuildRequires: xorg-util-util-macros >= 1.16
19 Requires: libxcb >= 1.4
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-xrm module provides the following library:
31 - xrm: utility functions for the X resource manager
34 Summary: Header files for XCB util-xrm library
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libxcb-devel >= 1.4
40 Header files for XCB util-xrm library.
43 Summary: Static XCB util-xrm library
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
48 Static XCB util-xrm library.
59 --disable-silent-rules
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %doc COPYING ChangeLog README
77 %attr(755,root,root) %{_libdir}/libxcb-xrm.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libxcb-xrm.so.0
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libxcb-xrm.so
83 %{_libdir}/libxcb-xrm.la
84 %{_includedir}/xcb/xcb_xrm.h
85 %{_pkgconfigdir}/xcb-xrm.pc
88 %defattr(644,root,root,755)
89 %{_libdir}/libxcb-xrm.a