1 | Name: xcb-util |
---|
2 | Version: 0.3.6 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Convenience libraries sitting on top of libxcb |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: MIT |
---|
8 | URL: http://xcb.freedesktop.org |
---|
9 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | BuildRequires: gperf, pkgconfig, libxcb-devel >= 1.4, m4, xorg-x11-proto-devel |
---|
12 | BuildRequires: chrpath |
---|
13 | |
---|
14 | |
---|
15 | %description |
---|
16 | The xcb-util module provides a number of libraries which sit on top of |
---|
17 | libxcb, the core X protocol library, and some of the extension |
---|
18 | libraries. These experimental libraries provide convenience functions |
---|
19 | and interfaces which make the raw X protocol more usable. Some of the |
---|
20 | libraries also provide client-side code which is not strictly part of |
---|
21 | the X protocol but which have traditionally been provided by Xlib. |
---|
22 | |
---|
23 | |
---|
24 | %package devel |
---|
25 | Summary: Development and header files for xcb-util |
---|
26 | Group: System Environment/Libraries |
---|
27 | Requires: %{name} = %{version}-%{release}, pkgconfig |
---|
28 | %description devel |
---|
29 | Development files for xcb-util. |
---|
30 | |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | |
---|
35 | |
---|
36 | %build |
---|
37 | %configure --with-pic --disable-static |
---|
38 | |
---|
39 | make %{?_smp_mflags} |
---|
40 | |
---|
41 | |
---|
42 | %check |
---|
43 | |
---|
44 | make check |
---|
45 | |
---|
46 | |
---|
47 | %install |
---|
48 | rm -rf %{buildroot} |
---|
49 | |
---|
50 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
51 | |
---|
52 | # remove RPATH |
---|
53 | chrpath --delete $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libxcb-*.so.* |
---|
54 | |
---|
55 | rm %{buildroot}%{_libdir}/*.la |
---|
56 | |
---|
57 | |
---|
58 | %post -p /sbin/ldconfig |
---|
59 | |
---|
60 | |
---|
61 | %postun -p /sbin/ldconfig |
---|
62 | |
---|
63 | |
---|
64 | %clean |
---|
65 | rm -rf %{buildroot} |
---|
66 | |
---|
67 | |
---|
68 | %files |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %doc README |
---|
71 | %{_libdir}/libxcb-atom.so.1* |
---|
72 | %{_libdir}/libxcb-aux.so.0* |
---|
73 | %{_libdir}/libxcb-event.so.1* |
---|
74 | %{_libdir}/libxcb-icccm.so.1* |
---|
75 | %{_libdir}/libxcb-image.so.0* |
---|
76 | %{_libdir}/libxcb-keysyms.so.1* |
---|
77 | %{_libdir}/libxcb-property.so.1* |
---|
78 | %{_libdir}/libxcb-render-util.so.0* |
---|
79 | %{_libdir}/libxcb-reply.so.1* |
---|
80 | |
---|
81 | %files devel |
---|
82 | %defattr(-,root,root,-) |
---|
83 | %{_libdir}/pkgconfig/*.pc |
---|
84 | %{_libdir}/*.so |
---|
85 | %{_includedir}/xcb/*.h |
---|
86 | |
---|
87 | |
---|
88 | %changelog |
---|
89 | * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-1 |
---|
90 | - initial build for Vine Linux |
---|
91 | |
---|
92 | * Fri Aug 28 2009 Michal Nowak <mnowak@redhat.com> - 0.3.6-1 |
---|
93 | - 0.3.6 |
---|
94 | |
---|
95 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
97 | |
---|
98 | * Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 0.3.5-1 |
---|
99 | - xcb-util 0.3.5 |
---|
100 | |
---|
101 | * Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.3.4-2 |
---|
102 | - Explicitly list DSOs so we're notified of version changes. |
---|
103 | |
---|
104 | * Sat Jun 13 2009 Michal Nowak <mnowak@redhat.com> - 0.3.4-1 |
---|
105 | - 0.3.4; needed for Awesome 3.3 |
---|
106 | |
---|
107 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2 |
---|
108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
109 | |
---|
110 | * Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> - 0.3.3-1 |
---|
111 | - 0.3.3 |
---|
112 | - removed patches already in git (and 0.3.3) |
---|
113 | |
---|
114 | * Fri Dec 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-2 |
---|
115 | - hack the sed lines after %%configure out and hack chrpath in |
---|
116 | - make check is running again |
---|
117 | |
---|
118 | * Thu Dec 18 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-1 |
---|
119 | - 0.3.2 |
---|
120 | - remove rpath (x86-64) |
---|
121 | - xcb_keysyms: remove xcb_lookup_t |
---|
122 | - Revert "keysyms: use xcb_key_lookup_t type for col paramter" |
---|
123 | - temporary disabled %%check due to RPATH regression |
---|
124 | |
---|
125 | * Thu Dec 4 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-2 |
---|
126 | - patch for exit() in aux library (Peter Harris) |
---|
127 | - slight changes in spec file |
---|
128 | |
---|
129 | * Mon Nov 24 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-1 |
---|
130 | - 0.3.1 |
---|
131 | - fix license issue (Jonathan Landis) |
---|
132 | |
---|
133 | * Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.0-1 |
---|
134 | - bump to 0.3.0 |
---|
135 | |
---|
136 | * Sun Aug 17 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-2 |
---|
137 | - new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel |
---|
138 | - not installing *.a files anymore |
---|
139 | - configure with --with-pic |
---|
140 | |
---|
141 | * Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-1 |
---|
142 | - initial package |
---|
143 | |
---|