1 | # Define this to link to which library version eg. /lib64/ld-lsb-x86-64.so.3 |
---|
2 | %define lsbsover 3 |
---|
3 | |
---|
4 | %ifarch %{ix86} |
---|
5 | %define ldso ld-linux.so.2 |
---|
6 | %define lsbldso ld-lsb.so |
---|
7 | %endif |
---|
8 | |
---|
9 | %ifarch ia64 |
---|
10 | %define ldso ld-linux-ia64.so.2 |
---|
11 | %define lsbldso ld-lsb-ia64.so |
---|
12 | %endif |
---|
13 | |
---|
14 | %ifarch ppc |
---|
15 | %define ldso ld.so.1 |
---|
16 | %define lsbldso ld-lsb-ppc32.so |
---|
17 | %endif |
---|
18 | |
---|
19 | %ifarch ppc64 |
---|
20 | %define ldso ld64.so.1 |
---|
21 | %define lsbldso ld-lsb-ppc64.so |
---|
22 | %endif |
---|
23 | |
---|
24 | %ifarch s390 |
---|
25 | %define ldso ld.so.1 |
---|
26 | %define lsbldso ld-lsb-s390.so |
---|
27 | %endif |
---|
28 | |
---|
29 | %ifarch s390x |
---|
30 | %define ldso ld64.so.1 |
---|
31 | %define lsbldso ld-lsb-s390x.so |
---|
32 | %endif |
---|
33 | |
---|
34 | %ifarch x86_64 |
---|
35 | %define ldso ld-linux-x86-64.so.2 |
---|
36 | %define lsbldso ld-lsb-x86-64.so |
---|
37 | %endif |
---|
38 | |
---|
39 | %ifarch ia64 ppc64 s390x x86_64 |
---|
40 | %define qual ()(64bit) |
---|
41 | %else |
---|
42 | %define qual %{nil} |
---|
43 | %endif |
---|
44 | |
---|
45 | %define upstreamlsbrelver 2.0 |
---|
46 | %define lsbrelver 4.0 |
---|
47 | %define srcrelease 1 |
---|
48 | |
---|
49 | Summary: LSB support for Vine Linux |
---|
50 | Summary(ja): Vine Linux の LSB サポート |
---|
51 | Name: lsb |
---|
52 | Version: 4.0 |
---|
53 | Release: 3%{?_dist_release} |
---|
54 | URL: http://www.linuxfoundation.org/ |
---|
55 | Source0: %{name}-vine-%{version}.tar.bz2 |
---|
56 | License: GPLv2 |
---|
57 | Group: System Environment/Base |
---|
58 | BuildRoot: %{_tmppath}/%{name}-root |
---|
59 | BuildRequires: glibc-static |
---|
60 | # dependency for primary LSB application for v1.3 |
---|
61 | Provides: lsb = %{version} |
---|
62 | # dependency for primary LSB application for v2.0, v3.0 and v4.0 |
---|
63 | %ifarch %{ix86} |
---|
64 | %define archname ia32 |
---|
65 | %endif |
---|
66 | %ifarch ia64 |
---|
67 | %define archname ia64 |
---|
68 | %endif |
---|
69 | %ifarch ppc |
---|
70 | %define archname ppc32 |
---|
71 | %endif |
---|
72 | %ifarch ppc64 |
---|
73 | %define archname ppc64 |
---|
74 | %endif |
---|
75 | %ifarch s390 |
---|
76 | %define archname s390 |
---|
77 | %endif |
---|
78 | %ifarch s390x |
---|
79 | %define archname s390x |
---|
80 | %endif |
---|
81 | %ifarch x86_64 |
---|
82 | %define archname amd64 |
---|
83 | %endif |
---|
84 | Provides: lsb-core-%{archname} = %{version} |
---|
85 | Provides: lsb-graphics-%{archname} = %{version} |
---|
86 | Provides: lsb-core-noarch = %{version} |
---|
87 | Provides: lsb-graphics-noarch = %{version} |
---|
88 | Provides: lsb-printing-%{archname} = %{version} |
---|
89 | Provides: lsb-printing-noarch = %{version} |
---|
90 | |
---|
91 | ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x |
---|
92 | |
---|
93 | %ifarch %{ix86} |
---|
94 | # archLSB IA32 Base Libraries |
---|
95 | Requires: libatk-1.0.so.0 |
---|
96 | Requires: libc.so.6 |
---|
97 | Requires: libcrypt.so.1 |
---|
98 | Requires: libdl.so.2 |
---|
99 | Requires: libgcc_s.so.1 |
---|
100 | Requires: libgdk-x11-2.0.so.0 |
---|
101 | Requires: libgdk_pixbuf-2.0.so.0 |
---|
102 | Requires: libgdk_pixbuf_xlib-2.0.so.0 |
---|
103 | Requires: libglib-2.0.so.0 |
---|
104 | Requires: libgmodule-2.0.so.0 |
---|
105 | Requires: libgobject-2.0.so.0 |
---|
106 | Requires: libgthread-2.0.so.0 |
---|
107 | Requires: libgtk-x11-2.0.so.0 |
---|
108 | Requires: libm.so.6 |
---|
109 | Requires: libncurses.so.5 |
---|
110 | Requires: libpango-1.0.so.0 |
---|
111 | Requires: libpangoft2-1.0.so.0 |
---|
112 | Requires: libpangoxft-1.0.so.0 |
---|
113 | Requires: libpthread.so.0 |
---|
114 | Requires: libqt-mt.so.3 |
---|
115 | Requires: libQtCore.so.4 |
---|
116 | Requires: libQtGui.so.4 |
---|
117 | Requires: libQtNetwork.so.4 |
---|
118 | Requires: libQtOpenGL.so.4 |
---|
119 | Requires: libQtSql.so.4 |
---|
120 | Requires: libQtSvg.so.4 |
---|
121 | Requires: libQtXml.so.4 |
---|
122 | Requires: libstdc++.so.6 |
---|
123 | Requires: libutil.so.1 |
---|
124 | Requires: libz.so.1 |
---|
125 | %endif |
---|
126 | |
---|
127 | %ifarch ia64 |
---|
128 | # archLSB IA64 Base Libraries |
---|
129 | Requires: libatk-1.0.so.0()(64bit) |
---|
130 | Requires: libc.so.6.1()(64bit) |
---|
131 | Requires: libcrypt.so.1()(64bit) |
---|
132 | Requires: libdl.so.2()(64bit) |
---|
133 | Requires: libgcc_s.so.1()(64bit) |
---|
134 | Requires: libgdk-x11-2.0.so.0()(64bit) |
---|
135 | Requires: libgdk_pixbuf-2.0.so.0()(64bit) |
---|
136 | Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit) |
---|
137 | Requires: libglib-2.0.so.0()(64bit) |
---|
138 | Requires: libgmodule-2.0.so.0()(64bit) |
---|
139 | Requires: libgobject-2.0.so.0()(64bit) |
---|
140 | Requires: libgthread-2.0.so.0()(64bit) |
---|
141 | Requires: libgtk-x11-2.0.so.0()(64bit) |
---|
142 | Requires: libm.so.6.1()(64bit) |
---|
143 | Requires: libncurses.so.5()(64bit) |
---|
144 | Requires: libpango-1.0.so.0()(64bit) |
---|
145 | Requires: libpangoft2-1.0.so.0()(64bit) |
---|
146 | Requires: libpangoxft-1.0.so.0()(64bit) |
---|
147 | Requires: libpthread.so.0()(64bit) |
---|
148 | Requires: libqt-mt.so.3()(64bit) |
---|
149 | Requires: libQtCore.so.4()(64bit) |
---|
150 | Requires: libQtGui.so.4()(64bit) |
---|
151 | Requires: libQtNetwork.so.4()(64bit) |
---|
152 | Requires: libQtOpenGL.so.4()(64bit) |
---|
153 | Requires: libQtSql.so.4()(64bit) |
---|
154 | Requires: libQtSvg.so.4()(64bit) |
---|
155 | Requires: libQtXml.so.4()(64bit) |
---|
156 | Requires: libstdc++.so.6()(64bit) |
---|
157 | Requires: libutil.so.1()(64bit) |
---|
158 | Requires: libz.so.1()(64bit) |
---|
159 | %endif |
---|
160 | |
---|
161 | %ifarch ppc |
---|
162 | # archLSB PPC32 Base Libraries |
---|
163 | Requires: libatk-1.0.so.0 |
---|
164 | Requires: libc.so.6 |
---|
165 | Requires: libcrypt.so.1 |
---|
166 | Requires: libdl.so.2 |
---|
167 | Requires: libgcc_s.so.1 |
---|
168 | Requires: libgdk-x11-2.0.so.0 |
---|
169 | Requires: libgdk_pixbuf-2.0.so.0 |
---|
170 | Requires: libgdk_pixbuf_xlib-2.0.so.0 |
---|
171 | Requires: libglib-2.0.so.0 |
---|
172 | Requires: libgmodule-2.0.so.0 |
---|
173 | Requires: libgobject-2.0.so.0 |
---|
174 | Requires: libgthread-2.0.so.0 |
---|
175 | Requires: libgtk-x11-2.0.so.0 |
---|
176 | Requires: libm.so.6 |
---|
177 | Requires: libncurses.so.5 |
---|
178 | Requires: libpango-1.0.so.0 |
---|
179 | Requires: libpangoft2-1.0.so.0 |
---|
180 | Requires: libpangoxft-1.0.so.0 |
---|
181 | Requires: libpthread.so.0 |
---|
182 | Requires: libqt-mt.so.3 |
---|
183 | Requires: libQtCore.so.4 |
---|
184 | Requires: libQtGui.so.4 |
---|
185 | Requires: libQtNetwork.so.4 |
---|
186 | Requires: libQtOpenGL.so.4 |
---|
187 | Requires: libQtSql.so.4 |
---|
188 | Requires: libQtSvg.so.4 |
---|
189 | Requires: libQtXml.so.4 |
---|
190 | Requires: libstdc++.so.6 |
---|
191 | Requires: libutil.so.1 |
---|
192 | Requires: libz.so.1 |
---|
193 | %endif |
---|
194 | |
---|
195 | %ifarch ppc64 |
---|
196 | # archLSB PPC64 Base Libraries |
---|
197 | Requires: libatk-1.0.so.0()(64bit) |
---|
198 | Requires: libc.so.6()(64bit) |
---|
199 | Requires: libcrypt.so.1()(64bit) |
---|
200 | Requires: libdl.so.2()(64bit) |
---|
201 | Requires: libgcc_s.so.1()(64bit) |
---|
202 | Requires: libgdk-x11-2.0.so.0()(64bit) |
---|
203 | Requires: libgdk_pixbuf-2.0.so.0()(64bit) |
---|
204 | Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit) |
---|
205 | Requires: libglib-2.0.so.0()(64bit) |
---|
206 | Requires: libgmodule-2.0.so.0()(64bit) |
---|
207 | Requires: libgobject-2.0.so.0()(64bit) |
---|
208 | Requires: libgthread-2.0.so.0()(64bit) |
---|
209 | Requires: libgtk-x11-2.0.so.0()(64bit) |
---|
210 | Requires: libm.so.6()(64bit) |
---|
211 | Requires: libncurses.so.5()(64bit) |
---|
212 | Requires: libpango-1.0.so.0()(64bit) |
---|
213 | Requires: libpangoft2-1.0.so.0()(64bit) |
---|
214 | Requires: libpangoxft-1.0.so.0()(64bit) |
---|
215 | Requires: libpthread.so.0()(64bit) |
---|
216 | Requires: libqt-mt.so.3()(64bit) |
---|
217 | Requires: libQtCore.so.4()(64bit) |
---|
218 | Requires: libQtGui.so.4()(64bit) |
---|
219 | Requires: libQtNetwork.so.4()(64bit) |
---|
220 | Requires: libQtOpenGL.so.4()(64bit) |
---|
221 | Requires: libQtSql.so.4()(64bit) |
---|
222 | Requires: libQtSvg.so.4()(64bit) |
---|
223 | Requires: libQtXml.so.4()(64bit) |
---|
224 | Requires: libstdc++.so.6()(64bit) |
---|
225 | Requires: libutil.so.1()(64bit) |
---|
226 | Requires: libz.so.1()(64bit) |
---|
227 | %endif |
---|
228 | |
---|
229 | %ifarch s390 |
---|
230 | # archLSB S390 Base Libraries |
---|
231 | Requires: libatk-1.0.so.0 |
---|
232 | Requires: libc.so.6 |
---|
233 | Requires: libcrypt.so.1 |
---|
234 | Requires: libdl.so.2 |
---|
235 | Requires: libgcc_s.so.1 |
---|
236 | Requires: libgdk-x11-2.0.so.0 |
---|
237 | Requires: libgdk_pixbuf-2.0.so.0 |
---|
238 | Requires: libgdk_pixbuf_xlib-2.0.so.0 |
---|
239 | Requires: libglib-2.0.so.0 |
---|
240 | Requires: libgmodule-2.0.so.0 |
---|
241 | Requires: libgobject-2.0.so.0 |
---|
242 | Requires: libgthread-2.0.so.0 |
---|
243 | Requires: libgtk-x11-2.0.so.0 |
---|
244 | Requires: libm.so.6 |
---|
245 | Requires: libncurses.so.5 |
---|
246 | Requires: libpango-1.0.so.0 |
---|
247 | Requires: libpangoft2-1.0.so.0 |
---|
248 | Requires: libpangoxft-1.0.so.0 |
---|
249 | Requires: libpthread.so.0 |
---|
250 | Requires: libqt-mt.so.3 |
---|
251 | Requires: libQtCore.so.4 |
---|
252 | Requires: libQtGui.so.4 |
---|
253 | Requires: libQtNetwork.so.4 |
---|
254 | Requires: libQtOpenGL.so.4 |
---|
255 | Requires: libQtSql.so.4 |
---|
256 | Requires: libQtSvg.so.4 |
---|
257 | Requires: libQtXml.so.4 |
---|
258 | Requires: libstdc++.so.6 |
---|
259 | Requires: libutil.so.1 |
---|
260 | Requires: libz.so.1 |
---|
261 | %endif |
---|
262 | |
---|
263 | %ifarch s390x |
---|
264 | # archLSB S390X Base Libraries |
---|
265 | Requires: libatk-1.0.so.0()(64bit) |
---|
266 | Requires: libc.so.6()(64bit) |
---|
267 | Requires: libcrypt.so.1()(64bit) |
---|
268 | Requires: libdl.so.2()(64bit) |
---|
269 | Requires: libgcc_s.so.1()(64bit) |
---|
270 | Requires: libgdk-x11-2.0.so.0()(64bit) |
---|
271 | Requires: libgdk_pixbuf-2.0.so.0()(64bit) |
---|
272 | Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit) |
---|
273 | Requires: libglib-2.0.so.0()(64bit) |
---|
274 | Requires: libgmodule-2.0.so.0()(64bit) |
---|
275 | Requires: libgobject-2.0.so.0()(64bit) |
---|
276 | Requires: libgthread-2.0.so.0()(64bit) |
---|
277 | Requires: libgtk-x11-2.0.so.0()(64bit) |
---|
278 | Requires: libm.so.6()(64bit) |
---|
279 | Requires: libncurses.so.5()(64bit) |
---|
280 | Requires: libpango-1.0.so.0()(64bit) |
---|
281 | Requires: libpangoft2-1.0.so.0()(64bit) |
---|
282 | Requires: libpangoxft-1.0.so.0()(64bit) |
---|
283 | Requires: libpthread.so.0()(64bit) |
---|
284 | Requires: libqt-mt.so.3()(64bit) |
---|
285 | Requires: libQtCore.so.4()(64bit) |
---|
286 | Requires: libQtGui.so.4()(64bit) |
---|
287 | Requires: libQtNetwork.so.4()(64bit) |
---|
288 | Requires: libQtOpenGL.so.4()(64bit) |
---|
289 | Requires: libQtSql.so.4()(64bit) |
---|
290 | Requires: libQtSvg.so.4()(64bit) |
---|
291 | Requires: libQtXml.so.4()(64bit) |
---|
292 | Requires: libstdc++.so.6()(64bit) |
---|
293 | Requires: libutil.so.1()(64bit) |
---|
294 | Requires: libz.so.1()(64bit) |
---|
295 | %endif |
---|
296 | |
---|
297 | %ifarch x86_64 |
---|
298 | # archLSB AMD64 Base Libraries |
---|
299 | Requires: libatk-1.0.so.0()(64bit) |
---|
300 | Requires: libc.so.6()(64bit) |
---|
301 | Requires: libcrypt.so.1()(64bit) |
---|
302 | Requires: libdl.so.2()(64bit) |
---|
303 | Requires: libgcc_s.so.1()(64bit) |
---|
304 | Requires: libgdk-x11-2.0.so.0()(64bit) |
---|
305 | Requires: libgdk_pixbuf-2.0.so.0()(64bit) |
---|
306 | Requires: libgdk_pixbuf_xlib-2.0.so.0()(64bit) |
---|
307 | Requires: libglib-2.0.so.0()(64bit) |
---|
308 | Requires: libgmodule-2.0.so.0()(64bit) |
---|
309 | Requires: libgobject-2.0.so.0()(64bit) |
---|
310 | Requires: libgthread-2.0.so.0()(64bit) |
---|
311 | Requires: libgtk-x11-2.0.so.0()(64bit) |
---|
312 | Requires: libm.so.6()(64bit) |
---|
313 | Requires: libncurses.so.5()(64bit) |
---|
314 | Requires: libpango-1.0.so.0()(64bit) |
---|
315 | Requires: libpangoft2-1.0.so.0()(64bit) |
---|
316 | Requires: libpangoxft-1.0.so.0()(64bit) |
---|
317 | Requires: libpthread.so.0()(64bit) |
---|
318 | Requires: libqt-mt.so.3()(64bit) |
---|
319 | Requires: libQtCore.so.4()(64bit) |
---|
320 | Requires: libQtGui.so.4()(64bit) |
---|
321 | Requires: libQtNetwork.so.4()(64bit) |
---|
322 | Requires: libQtOpenGL.so.4()(64bit) |
---|
323 | Requires: libQtSql.so.4()(64bit) |
---|
324 | Requires: libQtSvg.so.4()(64bit) |
---|
325 | Requires: libQtXml.so.4()(64bit) |
---|
326 | Requires: libstdc++.so.6()(64bit) |
---|
327 | Requires: libutil.so.1()(64bit) |
---|
328 | Requires: libz.so.1()(64bit) |
---|
329 | %endif |
---|
330 | |
---|
331 | # gLSB Base/Utility/Stdc++/Graphics Libraries |
---|
332 | Requires: libasound.so.2%{qual} |
---|
333 | Requires: libatk-1.0.so.0%{qual} |
---|
334 | Requires: libcrypt.so.1%{qual} |
---|
335 | Requires: libcups.so.2%{qual} |
---|
336 | Requires: libcupsimage.so.2%{qual} |
---|
337 | Requires: libdl.so.2%{qual} |
---|
338 | Requires: libfontconfig.so.1%{qual} |
---|
339 | Requires: libfreetype.so.6%{qual} |
---|
340 | Requires: libgcc_s.so.1%{qual} |
---|
341 | Requires: libgdk-x11-2.0.so.0%{qual} |
---|
342 | Requires: libgdk_pixbuf-2.0.so.0%{qual} |
---|
343 | Requires: libgdk_pixbuf_xlib-2.0.so.0%{qual} |
---|
344 | Requires: libGL.so.1%{qual} |
---|
345 | Requires: libglib-2.0.so.0%{qual} |
---|
346 | Requires: libgmodule-2.0.so.0%{qual} |
---|
347 | Requires: libgobject-2.0.so.0%{qual} |
---|
348 | Requires: libgthread-2.0.so.0%{qual} |
---|
349 | Requires: libgtk-x11-2.0.so.0%{qual} |
---|
350 | Requires: libICE.so.6%{qual} |
---|
351 | Requires: libjpeg.so.62%{qual} |
---|
352 | Requires: libncurses.so.5%{qual} |
---|
353 | Requires: libpam.so.0%{qual} |
---|
354 | Requires: libpango-1.0.so.0%{qual} |
---|
355 | Requires: libpangoft2-1.0.so.0%{qual} |
---|
356 | Requires: libpangoxft-1.0.so.0%{qual} |
---|
357 | Requires: libpng16.so.16%{qual} |
---|
358 | Requires: libpthread.so.0%{qual} |
---|
359 | Requires: libqt-mt.so.3%{qual} |
---|
360 | Requires: libQtCore.so.4%{qual} |
---|
361 | Requires: libQtGui.so.4%{qual} |
---|
362 | Requires: libQtNetwork.so.4%{qual} |
---|
363 | Requires: libQtOpenGL.so.4%{qual} |
---|
364 | Requires: libQtSql.so.4%{qual} |
---|
365 | Requires: libQtSvg.so.4%{qual} |
---|
366 | Requires: libQtXml.so.4%{qual} |
---|
367 | Requires: librt.so.1%{qual} |
---|
368 | Requires: libSM.so.6%{qual} |
---|
369 | Requires: libstdc++.so.6%{qual} |
---|
370 | Requires: libutil.so.1%{qual} |
---|
371 | Requires: libX11.so.6%{qual} |
---|
372 | Requires: libXext.so.6%{qual} |
---|
373 | Requires: libXft.so.2%{qual} |
---|
374 | Requires: libXi.so.6%{qual} |
---|
375 | Requires: libxml2.so.2%{qual} |
---|
376 | Requires: libXrender.so.1%{qual} |
---|
377 | Requires: libXt.so.6%{qual} |
---|
378 | Requires: libz.so.1%{qual} |
---|
379 | |
---|
380 | # gLSB Command and Utilities |
---|
381 | Requires: /bin/awk |
---|
382 | Requires: /bin/basename |
---|
383 | Requires: /bin/cat |
---|
384 | Requires: /bin/chgrp |
---|
385 | Requires: /bin/chmod |
---|
386 | Requires: /bin/chown |
---|
387 | Requires: /bin/cp |
---|
388 | Requires: /bin/cpio |
---|
389 | Requires: /bin/cut |
---|
390 | Requires: /bin/date |
---|
391 | Requires: /bin/dd |
---|
392 | Requires: /bin/df |
---|
393 | Requires: /bin/dmesg |
---|
394 | Requires: /bin/echo |
---|
395 | Requires: /bin/ed |
---|
396 | Requires: /bin/egrep |
---|
397 | Requires: /bin/env |
---|
398 | Requires: /bin/false |
---|
399 | Requires: /bin/fgrep |
---|
400 | Requires: /bin/gettext |
---|
401 | Requires: /bin/grep |
---|
402 | Requires: /bin/gunzip |
---|
403 | Requires: /bin/gzip |
---|
404 | Requires: /bin/hostname |
---|
405 | Requires: /bin/kill |
---|
406 | Requires: /bin/ln |
---|
407 | Requires: /bin/ls |
---|
408 | Requires: mailx |
---|
409 | Requires: /bin/mkdir |
---|
410 | Requires: /bin/mknod |
---|
411 | Requires: /bin/mktemp |
---|
412 | Requires: /bin/more |
---|
413 | Requires: /bin/mount |
---|
414 | Requires: /bin/mv |
---|
415 | Requires: /bin/nice |
---|
416 | Requires: /bin/ps |
---|
417 | Requires: /bin/pwd |
---|
418 | Requires: /bin/rm |
---|
419 | Requires: /bin/rmdir |
---|
420 | Requires: /bin/sed |
---|
421 | Requires: /bin/sh |
---|
422 | Requires: /bin/sleep |
---|
423 | Requires: /bin/sort |
---|
424 | Requires: /bin/stty |
---|
425 | Requires: /bin/su |
---|
426 | Requires: /bin/sync |
---|
427 | Requires: /bin/tar |
---|
428 | Requires: /bin/touch |
---|
429 | Requires: /bin/true |
---|
430 | Requires: /bin/umount |
---|
431 | Requires: /bin/uname |
---|
432 | Requires: /bin/zcat |
---|
433 | Requires: /sbin/fuser |
---|
434 | Requires: /sbin/pidof |
---|
435 | Requires: /sbin/shutdown |
---|
436 | Requires: /usr/bin/[ |
---|
437 | Requires: /usr/bin/ar |
---|
438 | Requires: /usr/bin/at |
---|
439 | Requires: /usr/bin/batch |
---|
440 | Requires: /usr/bin/bc |
---|
441 | Requires: /usr/bin/chfn |
---|
442 | Requires: /usr/bin/chsh |
---|
443 | Requires: /usr/bin/cksum |
---|
444 | Requires: /usr/bin/cmp |
---|
445 | Requires: /usr/bin/col |
---|
446 | Requires: /usr/bin/comm |
---|
447 | Requires: /usr/bin/crontab |
---|
448 | Requires: /usr/bin/csplit |
---|
449 | Requires: /usr/bin/diff |
---|
450 | Requires: /usr/bin/dirname |
---|
451 | Requires: /usr/bin/du |
---|
452 | Requires: /usr/bin/expand |
---|
453 | Requires: /usr/bin/expr |
---|
454 | Requires: /usr/bin/fc-cache |
---|
455 | Requires: /usr/bin/fc-list |
---|
456 | Requires: /usr/bin/fc-match |
---|
457 | Requires: /usr/bin/file |
---|
458 | Requires: /usr/bin/find |
---|
459 | Requires: /usr/bin/fold |
---|
460 | Requires: /usr/bin/foomatic-rip |
---|
461 | Requires: /usr/bin/gencat |
---|
462 | Requires: /usr/bin/getconf |
---|
463 | Requires: /usr/bin/groups |
---|
464 | Requires: /usr/bin/gs |
---|
465 | Requires: /usr/bin/head |
---|
466 | Requires: /usr/bin/iconv |
---|
467 | Requires: /usr/bin/id |
---|
468 | Requires: /usr/bin/install |
---|
469 | Requires: /usr/bin/ipcrm |
---|
470 | Requires: /usr/bin/ipcs |
---|
471 | Requires: /usr/bin/join |
---|
472 | Requires: /usr/bin/killall |
---|
473 | Requires: /usr/bin/locale |
---|
474 | Requires: /usr/bin/localedef |
---|
475 | Requires: /usr/bin/logger |
---|
476 | Requires: /usr/bin/logname |
---|
477 | Requires: /usr/bin/lp |
---|
478 | Requires: /usr/bin/lpr |
---|
479 | Requires: /usr/bin/m4 |
---|
480 | Requires: /usr/bin/make |
---|
481 | Requires: /usr/bin/man |
---|
482 | Requires: /usr/bin/md5sum |
---|
483 | Requires: /usr/bin/mkfifo |
---|
484 | Requires: /usr/bin/msgfmt |
---|
485 | Requires: /usr/bin/newgrp |
---|
486 | Requires: /usr/bin/nl |
---|
487 | Requires: /usr/bin/nohup |
---|
488 | Requires: /usr/bin/od |
---|
489 | Requires: /usr/bin/passwd |
---|
490 | Requires: /usr/bin/paste |
---|
491 | Requires: /usr/bin/patch |
---|
492 | Requires: /usr/bin/pathchk |
---|
493 | # better POSIX compatible |
---|
494 | Requires: spax |
---|
495 | Requires: /usr/bin/perl |
---|
496 | Requires: /usr/bin/pr |
---|
497 | Requires: /usr/bin/printf |
---|
498 | Requires: /usr/bin/python |
---|
499 | Requires: /usr/bin/renice |
---|
500 | Requires: /usr/bin/split |
---|
501 | Requires: /usr/bin/strip |
---|
502 | Requires: /usr/bin/tail |
---|
503 | Requires: /usr/bin/tee |
---|
504 | Requires: /usr/bin/test |
---|
505 | Requires: /usr/bin/time |
---|
506 | Requires: /usr/bin/tr |
---|
507 | Requires: /usr/bin/tsort |
---|
508 | Requires: /usr/bin/tty |
---|
509 | Requires: /usr/bin/unexpand |
---|
510 | Requires: /usr/bin/uniq |
---|
511 | Requires: /usr/bin/wc |
---|
512 | Requires: /usr/bin/xargs |
---|
513 | Requires: /usr/sbin/groupadd |
---|
514 | Requires: /usr/sbin/groupdel |
---|
515 | Requires: /usr/sbin/groupmod |
---|
516 | Requires: /usr/sbin/sendmail |
---|
517 | Requires: /usr/sbin/useradd |
---|
518 | Requires: /usr/sbin/userdel |
---|
519 | Requires: /usr/sbin/usermod |
---|
520 | |
---|
521 | %description |
---|
522 | The Linux Standard Base (LSB) is an attempt to develop a set of |
---|
523 | standards that will increase compatibility among Linux distributions. |
---|
524 | The lsb package provides utilities needed for LSB Compliant |
---|
525 | Applications. It also contains requirements that will ensure that all |
---|
526 | components required by the LSB that are provided by Red Hat Linux are |
---|
527 | installed on the system. |
---|
528 | |
---|
529 | %prep |
---|
530 | %setup -q -n %{name}-vine-%{version} |
---|
531 | |
---|
532 | %build |
---|
533 | cd lsb-release-%{upstreamlsbrelver} |
---|
534 | make |
---|
535 | |
---|
536 | %install |
---|
537 | rm -rf $RPM_BUILD_ROOT |
---|
538 | # LSB uses /usr/lib rather than /usr/lib64 even for 64bit OS |
---|
539 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} $RPM_BUILD_ROOT/%{_lib} $RPM_BUILD_ROOT%{_mandir} \ |
---|
540 | $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT/usr/lib/lsb \ |
---|
541 | $RPM_BUILD_ROOT%{_sysconfdir}/lsb-release.d/ $RPM_BUILD_ROOT%{_sbindir} |
---|
542 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
543 | cd lsb-release-%{upstreamlsbrelver} |
---|
544 | make mandir=$RPM_BUILD_ROOT/%{_mandir} prefix=$RPM_BUILD_ROOT/%{_prefix} install |
---|
545 | cd .. |
---|
546 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-4.0-%{archname} |
---|
547 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-4.0-noarch |
---|
548 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-4.0-%{archname} |
---|
549 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-4.0-noarch |
---|
550 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/printing-4.0-%{archname} |
---|
551 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/printing-4.0-noarch |
---|
552 | # and claim LSB 3.1/3.2 is supported as well |
---|
553 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.2-%{archname} |
---|
554 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.2-noarch |
---|
555 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.2-%{archname} |
---|
556 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.2-noarch |
---|
557 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.1-%{archname} |
---|
558 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.1-noarch |
---|
559 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.1-%{archname} |
---|
560 | touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.1-noarch |
---|
561 | |
---|
562 | for LSBVER in %{lsbsover}; do |
---|
563 | ln -s %{ldso} $RPM_BUILD_ROOT/%{_lib}/%{lsbldso}.$LSBVER |
---|
564 | done |
---|
565 | |
---|
566 | mkdir -p $RPM_BUILD_ROOT/bin |
---|
567 | |
---|
568 | # LSB uses /usr/lib rather than /usr/lib64 even for 64bit OS |
---|
569 | # According to the lsb-core documentation provided by |
---|
570 | # http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic.pdf |
---|
571 | # it's OK to put non binary in /usr/lib. |
---|
572 | ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/install_initd |
---|
573 | ln -snf ../../../sbin/chkconfig $RPM_BUILD_ROOT/usr/lib/lsb/remove_initd |
---|
574 | ln -snf mail $RPM_BUILD_ROOT/bin/mailx |
---|
575 | |
---|
576 | gcc $RPM_OPT_FLAGS -Os -static -o lsb_vine_trigger{.%{_target_cpu},.c} -DLSBSOVER='"%{lsbsover}"' \ |
---|
577 | -DLDSO='"%{ldso}"' -DLSBLDSO='"/%{_lib}/%{lsbldso}"' -D_GNU_SOURCE |
---|
578 | install -m 700 lsb_vine_trigger.%{_target_cpu} \ |
---|
579 | $RPM_BUILD_ROOT%{_sbindir}/lsb_vine_trigger.%{_target_cpu} |
---|
580 | |
---|
581 | cp -p lsb_vine_init $RPM_BUILD_ROOT/bin/lsb_vine_init |
---|
582 | |
---|
583 | %clean |
---|
584 | rm -rf $RPM_BUILD_ROOT |
---|
585 | |
---|
586 | %triggerpostun -- glibc |
---|
587 | if [ -x /usr/sbin/lsb_vine_trigger.%{_target_cpu} ]; then |
---|
588 | /usr/sbin/lsb_vine_trigger.%{_target_cpu} |
---|
589 | fi |
---|
590 | |
---|
591 | %ifnarch %{ix86} |
---|
592 | /sbin/sln %{ldso} /%{_lib}/%{lsbldso} || : |
---|
593 | %else |
---|
594 | if [ -f /emul/ia32-linux/lib/%{ldso} ]; then |
---|
595 | for LSBVER in %{lsbsover}; do |
---|
596 | /sbin/sln /emul/ia32-linux/lib/%{ldso} /%{_lib}/%{lsbldso}.$LSBVER || : |
---|
597 | done |
---|
598 | else |
---|
599 | for LSBVER in %{lsbsover}; do |
---|
600 | /sbin/sln %{ldso} /%{_lib}/%{lsbldso}.$LSBVER || : |
---|
601 | done |
---|
602 | fi |
---|
603 | %endif |
---|
604 | |
---|
605 | %ifarch %{ix86} |
---|
606 | %post |
---|
607 | # make this softlink again for /emul |
---|
608 | if [ -f /emul/ia32-linux/lib/%{ldso} ]; then |
---|
609 | for LSBVER in %{lsbsover}; do |
---|
610 | /sbin/sln /emul/ia32-linux/lib/%{ldso} /%{_lib}/%{lsbldso}.$LSBVER || : |
---|
611 | done |
---|
612 | fi |
---|
613 | %endif |
---|
614 | |
---|
615 | %files |
---|
616 | %defattr(-,root,root) |
---|
617 | %{_sysconfdir}/lsb-vine |
---|
618 | %dir %{_sysconfdir}/lsb-release.d |
---|
619 | %{_sysconfdir}/lsb-release.d/* |
---|
620 | %{_mandir}/*/* |
---|
621 | %{_bindir}/* |
---|
622 | /bin/lsb_vine_init |
---|
623 | /usr/lib/lsb |
---|
624 | /%{_lib}/*so* |
---|
625 | /lib/lsb* |
---|
626 | %{_sbindir}/lsb_vine_trigger.%{_target_cpu} |
---|
627 | /bin/mailx |
---|
628 | |
---|
629 | %changelog |
---|
630 | * Wed Jan 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.0-3 |
---|
631 | - change Requires: libpng16.so.16 instead of libpng12.so.0 |
---|
632 | |
---|
633 | * Tue Jun 17 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.0-2 |
---|
634 | - require spax instead of pax (more POSIX compatible) |
---|
635 | |
---|
636 | * Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1 |
---|
637 | - update to LSB4.0 |
---|
638 | - add Provide lsb-printing{,-noarch} |
---|
639 | - add BR: glibc-static |
---|
640 | |
---|
641 | * Fri Oct 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2-1 |
---|
642 | - initial build for Vine Linux |
---|
643 | |
---|
644 | * Thu Aug 28 2008 Hao Liu <hliu@redhat.com> 3.2-2 |
---|
645 | - Modify "Requires: /usr/bin/mailx" to "Requires: mailx" (Bug #460249) |
---|
646 | |
---|
647 | * Mon Aug 18 2008 Hao Liu <hliu@redhat.com> 3.2-1 |
---|
648 | - Port forward to LSB 3.2 |
---|
649 | - Remove symlink for mailx if user is upgrading from the redhat-lsb of older version |
---|
650 | - Since F10 put mailx under /usr/bin, change the corresponding requires |
---|
651 | |
---|
652 | * Tue Aug 5 2008 Hao Liu <hliu@redhat.com> - 3.1-22 |
---|
653 | - Remove 2 requires which provided by redhat-lsb |
---|
654 | - Add comments explaining why hard-coded path is kept |
---|
655 | - Resolve some hard-coded path problems |
---|
656 | - Add comments explaining why importing '-static' option while compiling redhat_lsb_trigger |
---|
657 | - Replace %{_libdir}/lsb with /usr/lib/lsb |
---|
658 | - Replace /%{_lib}/* with /%{_lib}/*so* |
---|
659 | - Replace /lib/lsb with /lib/lsb* |
---|
660 | |
---|
661 | * Thu Jul 31 2008 Lawrence Lim <llim@redhat.com> - 3.1-21 |
---|
662 | - remove symlink for mailx (Bug #457241) |
---|
663 | |
---|
664 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1-20 |
---|
665 | - Autorebuild for GCC 4.3 |
---|
666 | |
---|
667 | * Wed Oct 3 2007 Lawrence Lim <llim@redhat.com> - 3.1-19 |
---|
668 | - fix build issue on ppc - (.opd+0x10): multiple definition of `__libc_start_main' |
---|
669 | |
---|
670 | * Fri Sep 21 2007 Lawrence Lim <llim@redhat.com> - 3.1-18 |
---|
671 | - fix build issue in minimal build root (Bug #265241) |
---|
672 | |
---|
673 | * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.1-17 |
---|
674 | - Rebuild for selinux ppc32 issue. |
---|
675 | |
---|
676 | * Mon Aug 20 2007 Lawrence Lim <llim@redhat.com> - 3.1-16 |
---|
677 | - update spec file in accordance to feedback provided through merge review - merge-review.patch - #226363 |
---|
678 | |
---|
679 | * Wed Jul 18 2007 Lawrence Lim <llim@redhat.com> - 3.1-15.f8 |
---|
680 | - Resolved: #239842 - /lib/lsb/init-functions shall use aliases but not functions |
---|
681 | - forward port the patch from 3.1-12.3.EL which fix #217566, #233530, #240916 |
---|
682 | |
---|
683 | * Wed May 2 2007 Lawrence Lim <llim@redhat.com> - 3.1-14.fc7 |
---|
684 | - fixed Bug 232918 for new glibc version |
---|
685 | |
---|
686 | * Wed Feb 21 2007 Lawrence Lim <llim@redhat.com> - 3.1-13 |
---|
687 | - fixed Bug 226363 |
---|
688 | |
---|
689 | * Wed Nov 29 2006 Lawrence Lim <llim@redhat.com> - 3.1-12 |
---|
690 | - replaced aliases with functions in /lib/lsb/init-functions; Bug 217566 |
---|
691 | |
---|
692 | * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.1-11 |
---|
693 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
694 | |
---|
695 | * Thu Sep 21 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.3 |
---|
696 | - Fix upgrade issue; Bug 202548 |
---|
697 | |
---|
698 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1-10.2.1 |
---|
699 | - rebuild |
---|
700 | |
---|
701 | * Thu Jul 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.2 |
---|
702 | - for some strange reason, ld-lsb-x86-64.so need to be ld-lsb-x86-64.so.3 (LSB3.0) rather than ld-lsb-x86-64.so.3.1 (LSB3.1) |
---|
703 | |
---|
704 | * Thu Jul 6 2006 Lawrence Lim <llim@redhat.com> - 3.1-10.1 |
---|
705 | - generate spec file on RHEL5-Alpha system |
---|
706 | - fix vsw4 test suite setup by creating symlink for X11 SecurityPolicy and XFontPath |
---|
707 | |
---|
708 | * Thu Jun 22 2006 Lawrence Lim <llim@redhat.com> - 3.0-10 |
---|
709 | - Rewrite most part of the mkredhat-lsb to obtain information directly via specdb |
---|
710 | rather than sniffing through sgml |
---|
711 | - remove redundent script and bump up tarball version |
---|
712 | |
---|
713 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.2 |
---|
714 | - bump again for double-long bug on ppc(64) |
---|
715 | |
---|
716 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0-9.1 |
---|
717 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
718 | |
---|
719 | * Fri Jan 13 2006 Leon Ho <llch@redhat.com> 3.0-9 |
---|
720 | - Migrated back to rawhide |
---|
721 | |
---|
722 | * Wed Aug 3 2005 Leon Ho <llch@redhat.com> 3.0-8.EL |
---|
723 | - Added libstdc++.so.6/libGL.so.1 requirement (RH#154605) |
---|
724 | |
---|
725 | * Wed Aug 3 2005 Leon Ho <llch@redhat.com> 3.0-7.EL |
---|
726 | - Fixed multilib problem on lsb_release not to read /etc/lsb-release and solely |
---|
727 | depends on /etc/lsb-release.d/ (Advised by LSB committee) |
---|
728 | - Removed /etc/lsb-release (Advised by LSB committee) |
---|
729 | |
---|
730 | * Mon Aug 1 2005 Leon Ho <llch@redhat.com> 3.0-6.EL |
---|
731 | - Made the /etc/lsb-release useful (RH#154605) |
---|
732 | - Added redhat_lsb_trigger to fix RH#160585 (Jakub Jelinek) |
---|
733 | - Fixed AMD64 base libraries requirement parsing (RH#154605) |
---|
734 | |
---|
735 | * Tue Jul 26 2005 Leon Ho <llch@redhat.com> 3.0-5.EL |
---|
736 | - Fixed redhat-lsb's mkredhat-lsb on fetching lib and |
---|
737 | cmd requirements |
---|
738 | |
---|
739 | * Mon Jul 18 2005 Leon Ho <llch@redhat.com> 3.0-4.EL |
---|
740 | - Rebuilt |
---|
741 | |
---|
742 | * Tue Jul 05 2005 Leon Ho <llch@redhat.com> 3.0-3.EL |
---|
743 | - Disabled support for LSB 1.3 and 2.0 |
---|
744 | |
---|
745 | * Mon Jun 20 2005 Leon Ho <llch@redhat.com> 3.0-2.EL |
---|
746 | - Upgraded to lsb-release 2.0 |
---|
747 | |
---|
748 | * Thu Jun 09 2005 Leon Ho <llch@redhat.com> 3.0-1.EL |
---|
749 | - Moved to LSB 3.0 |
---|
750 | |
---|
751 | * Wed Apr 13 2005 Leon Ho <llch@redhat.com> 1.3-10 |
---|
752 | - Fixed ix86 package with ia32 emul support |
---|
753 | |
---|
754 | * Tue Feb 01 2005 Leon Ho <llch@redhat.com> 1.3-9 |
---|
755 | - Sync what we have changed on the branches |
---|
756 | Wed Nov 24 2004 Harald Hoyer <harald@redhat.com> |
---|
757 | - added post section to recreate the softlink in emul mode (bug 140739) |
---|
758 | Mon Nov 15 2004 Phil Knirsch <pknirsch@redhat.com> |
---|
759 | Tiny correction of bug in new triggers |
---|
760 | |
---|
761 | * Mon Jan 24 2005 Leon Ho <llch@redhat.com> 1.3-8 |
---|
762 | - Add support provide on lsb-core-* for each arch |
---|
763 | |
---|
764 | * Fri Jan 21 2005 Leon Ho <llch@redhat.com> 1.3-7 |
---|
765 | - Add to support multiple LSB test suite version |
---|
766 | - Add %%endif in trigger postun |
---|
767 | |
---|
768 | * Thu Nov 11 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-6 |
---|
769 | - Fixed invalid sln call for trigger in postun on ia64 (#137647) |
---|
770 | |
---|
771 | * Mon Aug 09 2004 Phil Knirsch <pknirsch@redhat.com> 1.3-4 |
---|
772 | - Bump release and rebuilt for RHEL4. |
---|
773 | |
---|
774 | * Thu Jul 24 2003 Matt Wilson <msw@redhat.com> 1.3-3 |
---|
775 | - fix lsb ld.so name for ia64 (#100613) |
---|
776 | |
---|
777 | * Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2 |
---|
778 | - use /usr/lib/lsb for install_initd, remove_initd |
---|
779 | |
---|
780 | * Fri May 23 2003 Matt Wilson <msw@redhat.com> 1.3-2 |
---|
781 | - add ia64 x86_64 ppc ppc64 s390 s390x |
---|
782 | |
---|
783 | * Tue Feb 18 2003 Matt Wilson <msw@redhat.com> 1.3-1 |
---|
784 | - 1.3 |
---|
785 | |
---|
786 | * Wed Sep 4 2002 Matt Wilson <msw@redhat.com> |
---|
787 | - 1.2.0 |
---|
788 | |
---|
789 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
790 | - automated rebuild |
---|
791 | |
---|
792 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
793 | - automated rebuild |
---|
794 | |
---|
795 | * Wed Mar 27 2002 Matt Wilson <msw@redhat.com> |
---|
796 | - addeed trigger on glibc to re-establish the ld-lsb.so.1 symlink in the |
---|
797 | forced downgrade case. |
---|
798 | |
---|
799 | * Tue Mar 12 2002 Bill Nottingham <notting@redhat.com> |
---|
800 | - add initscripts support |
---|
801 | |
---|
802 | * Thu Jan 24 2002 Matt Wilson <msw@redhat.com> |
---|
803 | - Initial build. |
---|
804 | |
---|