]> git.pld-linux.org Git - packages/xcb-util-xrm.git/blob - xcb-util-xrm.spec
up to 1.3
[packages/xcb-util-xrm.git] / xcb-util-xrm.spec
1 Summary:        XCB util-xrm module
2 Name:           xcb-util-xrm
3 Version:        1.3
4 Release:        1
5 License:        MIT
6 Group:          Libraries
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)
21
22 %description
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.
29
30 XCB util-xrm module provides the following library:
31 - xrm: utility functions for the X resource manager
32
33 %package devel
34 Summary:        Header files for XCB util-xrm library
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libxcb-devel >= 1.4
38
39 %description devel
40 Header files for XCB util-xrm library.
41
42 %package static
43 Summary:        Static XCB util-xrm library
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static XCB util-xrm library.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure \
59         --disable-silent-rules
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
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
79
80 %files devel
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
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/libxcb-xrm.a
This page took 0.111424 seconds and 4 git commands to generate.