1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Name: xcb-util |
---|
4 | Version: 0.4.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: Convenience libraries sitting on top of libxcb |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: MIT |
---|
10 | URL: http://xcb.freedesktop.org |
---|
11 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | BuildRequires: gperf |
---|
15 | BuildRequires: pkgconfig |
---|
16 | BuildRequires: m4 |
---|
17 | BuildRequires: libxcb-devel >= 1.4 |
---|
18 | BuildRequires: xorg-x11-proto-devel |
---|
19 | BuildRequires: xorg-x11-util-macros |
---|
20 | BuildRequires: chrpath |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | The xcb-util module provides a number of libraries which sit on top of |
---|
27 | libxcb, the core X protocol library, and some of the extension |
---|
28 | libraries. These experimental libraries provide convenience functions |
---|
29 | and interfaces which make the raw X protocol more usable. Some of the |
---|
30 | libraries also provide client-side code which is not strictly part of |
---|
31 | the X protocol but which have traditionally been provided by Xlib. |
---|
32 | |
---|
33 | |
---|
34 | %package devel |
---|
35 | Summary: Development and header files for xcb-util |
---|
36 | Summary(ja): xcb-util の開発用ファイル |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: pkgconfig |
---|
40 | |
---|
41 | %description devel |
---|
42 | Development files for xcb-util. |
---|
43 | |
---|
44 | |
---|
45 | # compat32 |
---|
46 | %package -n compat32-%{name} |
---|
47 | Summary: Convenience libraries sitting on top of libxcb |
---|
48 | Group: System Environment/Libraries |
---|
49 | Requires: %{name} = %{version}-%{release} |
---|
50 | |
---|
51 | %description -n compat32-%{name} |
---|
52 | The xcb-util module provides a number of libraries which sit on top of |
---|
53 | libxcb, the core X protocol library, and some of the extension |
---|
54 | libraries. These experimental libraries provide convenience functions |
---|
55 | and interfaces which make the raw X protocol more usable. Some of the |
---|
56 | libraries also provide client-side code which is not strictly part of |
---|
57 | the X protocol but which have traditionally been provided by Xlib. |
---|
58 | |
---|
59 | |
---|
60 | %package -n compat32-%{name}-devel |
---|
61 | Summary: Development and header files for xcb-util |
---|
62 | Summary(ja): xcb-util の開発用ファイル |
---|
63 | Group: Development/Libraries |
---|
64 | Requires: compat32-%{name} = %{version}-%{release} |
---|
65 | Requires: %{name}-devel = %{version}-%{release} |
---|
66 | |
---|
67 | %description -n compat32-%{name}-devel |
---|
68 | Development files for xcb-util. |
---|
69 | |
---|
70 | |
---|
71 | %prep |
---|
72 | %setup -q |
---|
73 | |
---|
74 | |
---|
75 | %build |
---|
76 | %configure --with-pic --disable-static |
---|
77 | |
---|
78 | make %{?_smp_mflags} |
---|
79 | |
---|
80 | %install |
---|
81 | rm -rf %{buildroot} |
---|
82 | |
---|
83 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
84 | |
---|
85 | # remove RPATH |
---|
86 | chrpath --delete $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libxcb-*.so.* |
---|
87 | |
---|
88 | rm %{buildroot}%{_libdir}/*.la |
---|
89 | |
---|
90 | |
---|
91 | %check |
---|
92 | make check |
---|
93 | |
---|
94 | %post -p /sbin/ldconfig |
---|
95 | %postun -p /sbin/ldconfig |
---|
96 | |
---|
97 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
98 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
99 | |
---|
100 | %clean |
---|
101 | rm -rf %{buildroot} |
---|
102 | |
---|
103 | |
---|
104 | %files |
---|
105 | %defattr(-,root,root,-) |
---|
106 | %license COPYING |
---|
107 | %doc NEWS README |
---|
108 | %{_libdir}/libxcb-util.so.* |
---|
109 | |
---|
110 | %files devel |
---|
111 | %defattr(-,root,root,-) |
---|
112 | %{_libdir}/pkgconfig/*.pc |
---|
113 | %{_libdir}/libxcb-util.so |
---|
114 | %{_includedir}/xcb/*.h |
---|
115 | |
---|
116 | # compat32 |
---|
117 | %if %{build_compat32} |
---|
118 | %files -n compat32-%{name} |
---|
119 | %defattr(-,root,root,-) |
---|
120 | %{_libdir}/libxcb-util.so.* |
---|
121 | |
---|
122 | %files -n compat32-%{name}-devel |
---|
123 | %defattr(-,root,root,-) |
---|
124 | %{_libdir}/libxcb-util.so |
---|
125 | %endif |
---|
126 | |
---|
127 | |
---|
128 | %changelog |
---|
129 | * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.0-2 |
---|
130 | - rebuilt with current environment. |
---|
131 | |
---|
132 | * Fri Oct 31 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 0.4.0-1 |
---|
133 | - new upstream release |
---|
134 | - moved devel package to Development/Libraries Group |
---|
135 | |
---|
136 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-2 |
---|
137 | - rebuild with VineSeed environment |
---|
138 | |
---|
139 | * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-1 |
---|
140 | - new upstream release |
---|
141 | |
---|
142 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1 |
---|
143 | - new upstream release |
---|
144 | - add BuildRequires: xorg-x11-util-macros |
---|
145 | |
---|
146 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-2 |
---|
147 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
148 | |
---|
149 | * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-1 |
---|
150 | - initial build for Vine Linux |
---|
151 | |
---|
152 | * Fri Aug 28 2009 Michal Nowak <mnowak@redhat.com> - 0.3.6-1 |
---|
153 | - 0.3.6 |
---|
154 | |
---|
155 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2 |
---|
156 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
157 | |
---|
158 | * Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 0.3.5-1 |
---|
159 | - xcb-util 0.3.5 |
---|
160 | |
---|
161 | * Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.3.4-2 |
---|
162 | - Explicitly list DSOs so we're notified of version changes. |
---|
163 | |
---|
164 | * Sat Jun 13 2009 Michal Nowak <mnowak@redhat.com> - 0.3.4-1 |
---|
165 | - 0.3.4; needed for Awesome 3.3 |
---|
166 | |
---|
167 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2 |
---|
168 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
169 | |
---|
170 | * Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> - 0.3.3-1 |
---|
171 | - 0.3.3 |
---|
172 | - removed patches already in git (and 0.3.3) |
---|
173 | |
---|
174 | * Fri Dec 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-2 |
---|
175 | - hack the sed lines after %%configure out and hack chrpath in |
---|
176 | - make check is running again |
---|
177 | |
---|
178 | * Thu Dec 18 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-1 |
---|
179 | - 0.3.2 |
---|
180 | - remove rpath (x86-64) |
---|
181 | - xcb_keysyms: remove xcb_lookup_t |
---|
182 | - Revert "keysyms: use xcb_key_lookup_t type for col paramter" |
---|
183 | - temporary disabled %%check due to RPATH regression |
---|
184 | |
---|
185 | * Thu Dec 4 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-2 |
---|
186 | - patch for exit() in aux library (Peter Harris) |
---|
187 | - slight changes in spec file |
---|
188 | |
---|
189 | * Mon Nov 24 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-1 |
---|
190 | - 0.3.1 |
---|
191 | - fix license issue (Jonathan Landis) |
---|
192 | |
---|
193 | * Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.0-1 |
---|
194 | - bump to 0.3.0 |
---|
195 | |
---|
196 | * Sun Aug 17 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-2 |
---|
197 | - new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel |
---|
198 | - not installing *.a files anymore |
---|
199 | - configure with --with-pic |
---|
200 | |
---|
201 | * Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-1 |
---|
202 | - initial package |
---|
203 | |
---|