1 |
|
---|
2 | Summary: OS/2 - eComStation 2.0 - ArcaOS 5.0 base
|
---|
3 | Name: os2-base
|
---|
4 | Version: 0.0.0
|
---|
5 | Release: 17%{?dist}
|
---|
6 |
|
---|
7 | License: free
|
---|
8 |
|
---|
9 | Requires: os2-release
|
---|
10 | Requires: os2-rpm >= 0-4
|
---|
11 |
|
---|
12 | Provides: ansicall.dll
|
---|
13 | Provides: asiacol.dll
|
---|
14 | Provides: bdbvh.dll
|
---|
15 | Provides: bdcall32.dll
|
---|
16 | Provides: bdcalls.dll
|
---|
17 | Provides: bdime.dll
|
---|
18 | Provides: bdview.dll
|
---|
19 | Provides: bdwpcls.dll
|
---|
20 | Provides: bidipm.dll
|
---|
21 | Provides: bkscalls.dll
|
---|
22 | Provides: bmscalls.dll
|
---|
23 | Provides: bvhinit.dll
|
---|
24 | Provides: bvhmpa.dll
|
---|
25 | Provides: bvhsvga.dll
|
---|
26 | Provides: bvhvga.dll
|
---|
27 | Provides: bvhwndw.dll
|
---|
28 | Provides: bvscalls.dll
|
---|
29 | Provides: cdtbl.dll
|
---|
30 | Provides: chkdsk32.dll
|
---|
31 | Provides: cidlog.dll
|
---|
32 | Provides: cometdll.dll
|
---|
33 | Provides: cyrime.dll
|
---|
34 | Provides: dibdrvr.dll
|
---|
35 | Provides: display.dll
|
---|
36 | Provides: dmiapi.dll
|
---|
37 | Provides: dmiquery.dll
|
---|
38 | Provides: dmqsprof.dll
|
---|
39 | Provides: doscall1.dll
|
---|
40 | Provides: doscalls.dll
|
---|
41 | Provides: dosrfico.dll
|
---|
42 | Provides: dspimri.dll
|
---|
43 | Provides: dspres.dll
|
---|
44 | Provides: ehxdlmri.dll
|
---|
45 | Provides: engine.dll
|
---|
46 | Provides: errlog.dll
|
---|
47 | Provides: errtxt.dll
|
---|
48 | Provides: ffconfig.dll
|
---|
49 | Provides: ffdump.dll
|
---|
50 | Provides: ffgui.dll
|
---|
51 | Provides: ffipc.dll
|
---|
52 | Provides: ffpct.dll
|
---|
53 | Provides: ffprobe.dll
|
---|
54 | Provides: ffst.dll
|
---|
55 | Provides: filever.dll
|
---|
56 | Provides: fka.dll
|
---|
57 | Provides: fw2dll.dll
|
---|
58 | Provides: gbm.dll
|
---|
59 | Provides: gengradd.dll
|
---|
60 | Provides: genpmi.dll
|
---|
61 | Provides: glocmri.dll
|
---|
62 | Provides: glut.dll
|
---|
63 | Provides: gre2vman.dll
|
---|
64 | Provides: helpmgr.dll
|
---|
65 | Provides: hpmgrmri.dll
|
---|
66 | Provides: hwdvpd.dll
|
---|
67 | Provides: ibmdev32.dll
|
---|
68 | Provides: ibmgpmi.dll
|
---|
69 | Provides: ibmhmgr.dll
|
---|
70 | Provides: ibmvga32.dll
|
---|
71 | Provides: imp.dll
|
---|
72 | Provides: inscfg32.dll
|
---|
73 | Provides: inspgm32.dll
|
---|
74 | Provides: inst32.dll
|
---|
75 | Provides: install.dll
|
---|
76 | Provides: instres.dll
|
---|
77 | Provides: ivm.dll
|
---|
78 | Provides: kbdcalls.dll
|
---|
79 | Provides: lfapi.dll
|
---|
80 | Provides: libaux.dll
|
---|
81 | Provides: libcm.dll
|
---|
82 | Provides: libcn.dll
|
---|
83 | Provides: libcs.dll
|
---|
84 | Provides: libtk.dll
|
---|
85 | Provides: libuni.dll
|
---|
86 | Provides: lmdll.dll
|
---|
87 | Provides: locale.dll
|
---|
88 | Provides: lvm.dll
|
---|
89 | Provides: mdmi.dll
|
---|
90 | Provides: minxmri.dll
|
---|
91 | Provides: minxobj.dll
|
---|
92 | Provides: mipmini.dll
|
---|
93 | Provides: mirrors.dll
|
---|
94 | Provides: mmio.dll
|
---|
95 | Provides: mmpmcrts.dll
|
---|
96 | Provides: mmpmini.dll
|
---|
97 | Provides: mmsniff.dll
|
---|
98 | Provides: moncalls.dll
|
---|
99 | Provides: moucalls.dll
|
---|
100 | Provides: msg.dll
|
---|
101 | Provides: namedsp.dll
|
---|
102 | Provides: namefw.dll
|
---|
103 | Provides: namerexx.dll
|
---|
104 | Provides: nampipes.dll
|
---|
105 | Provides: nls.dll
|
---|
106 | Provides: npfimri.dll
|
---|
107 | Provides: npxemltr.dll
|
---|
108 | Provides: nwiapi.dll
|
---|
109 | Provides: oasis.dll
|
---|
110 | Provides: objdata.dll
|
---|
111 | Provides: opengl.dll
|
---|
112 | Provides: orexutil.dll
|
---|
113 | Provides: orexx.dll
|
---|
114 | Provides: orexxsc.dll
|
---|
115 | Provides: orexxsom.dll
|
---|
116 | Provides: orexxwps.dll
|
---|
117 | Provides: os2char.dll
|
---|
118 | Provides: os2mm.dll
|
---|
119 | Provides: os2om30.dll
|
---|
120 | Provides: os2oooc.dll
|
---|
121 | Provides: os2oor3u.dll
|
---|
122 | Provides: os2sm.dll
|
---|
123 | Provides: panogrex.dll
|
---|
124 | Provides: picv.dll
|
---|
125 | Provides: pmatm.dll
|
---|
126 | Provides: pmbidi.dll
|
---|
127 | Provides: pmbind.dll
|
---|
128 | Provides: pmchkdsk.dll
|
---|
129 | Provides: pmclip.dll
|
---|
130 | Provides: pmctls.dll
|
---|
131 | Provides: pmdde.dll
|
---|
132 | Provides: pmddeml.dll
|
---|
133 | Provides: pmdfmsg.dll
|
---|
134 | Provides: pmdrag.dll
|
---|
135 | Provides: pmex.dll
|
---|
136 | Provides: pmformat.dll
|
---|
137 | Provides: pmgpi.dll
|
---|
138 | Provides: pmgre.dll
|
---|
139 | Provides: pmi10c8.dll
|
---|
140 | Provides: pmi102b.dll
|
---|
141 | Provides: pmi102c.dll
|
---|
142 | Provides: pmi1002.dll
|
---|
143 | Provides: pmi1023.dll
|
---|
144 | Provides: pmi5333.dll
|
---|
145 | Provides: pmmerge.dll
|
---|
146 | Provides: pmmle.dll
|
---|
147 | Provides: pmmrgres.dll
|
---|
148 | Provides: pmpic.dll
|
---|
149 | Provides: pmpre.dll
|
---|
150 | Provides: pmrexxio.dll
|
---|
151 | Provides: pmsdmri.dll
|
---|
152 | Provides: pmshapi.dll
|
---|
153 | Provides: pmshltkt.dll
|
---|
154 | Provides: pmspl.dll
|
---|
155 | Provides: pmtkt.dll
|
---|
156 | Provides: pmunif.dll
|
---|
157 | Provides: pmvdmh.dll
|
---|
158 | Provides: pmvdmp.dll
|
---|
159 | Provides: pmviop.dll
|
---|
160 | Provides: pmwin.dll
|
---|
161 | Provides: pmwinx.dll
|
---|
162 | Provides: pmwp.dll
|
---|
163 | Provides: pmwpmri.dll
|
---|
164 | Provides: pnp.dll
|
---|
165 | Provides: pnpmri.dll
|
---|
166 | Provides: prodmri.dll
|
---|
167 | Provides: prog.dll
|
---|
168 | Provides: progfldr.dll
|
---|
169 | Provides: quecalls.dll
|
---|
170 | Provides: registry.dll
|
---|
171 | Provides: rexx.dll
|
---|
172 | Provides: rexxapi.dll
|
---|
173 | Provides: rexxcrt.dll
|
---|
174 | Provides: rexxinit.dll
|
---|
175 | Provides: rexxsom.dll
|
---|
176 | Provides: rexxutil.dll
|
---|
177 | Provides: rminfo.dll
|
---|
178 | Provides: rspimri.dll
|
---|
179 | Provides: rxvidcfg.dll
|
---|
180 | Provides: s3pmi.dll
|
---|
181 | Provides: sbfilter.dll
|
---|
182 | Provides: scenter.dll
|
---|
183 | Provides: seamless.dll
|
---|
184 | Provides: sesmgr.dll
|
---|
185 | Provides: shield.dll
|
---|
186 | Provides: shpiinst.dll
|
---|
187 | Provides: softdraw.dll
|
---|
188 | Provides: som.dll
|
---|
189 | Provides: somd.dll
|
---|
190 | Provides: somem.dll
|
---|
191 | Provides: somir.dll
|
---|
192 | Provides: soms.dll
|
---|
193 | Provides: somsec.dll
|
---|
194 | Provides: somtc.dll
|
---|
195 | Provides: somu.dll
|
---|
196 | Provides: somuc.dll
|
---|
197 | Provides: spl1b.dll
|
---|
198 | Provides: spoolcp.dll
|
---|
199 | Provides: svga.dll
|
---|
200 | Provides: svgaimri.dll
|
---|
201 | Provides: svgainst.dll
|
---|
202 | Provides: svgamri.dll
|
---|
203 | Provides: sysfont.dll
|
---|
204 | Provides: syslogpm.dll
|
---|
205 | Provides: thailib.dll
|
---|
206 | Provides: tracedll.dll
|
---|
207 | Provides: trcformt.dll
|
---|
208 | Provides: truetype.dll
|
---|
209 | Provides: ucdfs.dll
|
---|
210 | Provides: uconv.dll
|
---|
211 | Provides: uhpfs.dll
|
---|
212 | Provides: ujfs.dll
|
---|
213 | Provides: unikbd.dll
|
---|
214 | Provides: uudf.dll
|
---|
215 | Provides: vbe2grad.dll
|
---|
216 | Provides: vcfgmri.dll
|
---|
217 | Provides: vgagradd.dll
|
---|
218 | Provides: videocfg.dll
|
---|
219 | Provides: videopmi.dll
|
---|
220 | Provides: viocalls.dll
|
---|
221 | Provides: vman.dll
|
---|
222 | Provides: wcfgmri.dll
|
---|
223 | Provides: wincfg.dll
|
---|
224 | Provides: winprf.dll
|
---|
225 | Provides: wpcomet.dll
|
---|
226 | Provides: wpconfig.dll
|
---|
227 | Provides: wpconmri.dll
|
---|
228 | Provides: wpdserv.dll
|
---|
229 | Provides: wpdsrvp.dll
|
---|
230 | Provides: wpinet.dll
|
---|
231 | Provides: wpinstal.dll
|
---|
232 | Provides: wpintmri.dll
|
---|
233 | Provides: wpnls.dll
|
---|
234 | Provides: wppansys.dll
|
---|
235 | Provides: wpprint.dll
|
---|
236 | Provides: wpprtmri.dll
|
---|
237 | Provides: wpstkmou.dll
|
---|
238 | Provides: wpstkmri.dll
|
---|
239 | Provides: wpvidsys.dll
|
---|
240 |
|
---|
241 | %description
|
---|
242 | Virtual package for OS/2 base shared libraries packaging.
|
---|
243 |
|
---|
244 | %package fhs
|
---|
245 | License: free
|
---|
246 | Summary: Provides a /@unixroot/bin directory for posix compatibility.
|
---|
247 |
|
---|
248 | %description fhs
|
---|
249 | Adds /bin to provide posix directory compatibility for shell script execution
|
---|
250 | (as /bin/sh) as FHS http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs
|
---|
251 |
|
---|
252 | %package unixtools-path
|
---|
253 | License: free
|
---|
254 | Summary: Makes unix tools from findutils and coreutils first in PATH.
|
---|
255 |
|
---|
256 | %description unixtools-path
|
---|
257 | Adds /@unixroot/usr/libexec/bin at beginning of system PATH, to allow conflicting
|
---|
258 | tools from findutils and coreutils to be used instead of default OS/2 tools.
|
---|
259 |
|
---|
260 |
|
---|
261 | %prep
|
---|
262 | # nothing to do
|
---|
263 |
|
---|
264 | %build
|
---|
265 | # nothing to do
|
---|
266 |
|
---|
267 | %install
|
---|
268 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
269 | %{__mkdir_p} -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/rpm
|
---|
270 | echo i686-OS/2-OS/2 > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform
|
---|
271 |
|
---|
272 | %{__mkdir_p} %{buildroot}%{os2_bookdir}
|
---|
273 | %{__mkdir_p} %{buildroot}%{os2_helpdir}
|
---|
274 | %{__mkdir_p} %{buildroot}%{os2_langdir}
|
---|
275 |
|
---|
276 | %clean
|
---|
277 | # nothing to do
|
---|
278 |
|
---|
279 |
|
---|
280 | %files
|
---|
281 | %defattr(-,root,root,-)
|
---|
282 | %config(noreplace) %{_sysconfdir}/rpm/platform
|
---|
283 | %dir %{os2_bookdir}
|
---|
284 | %dir %{os2_helpdir}
|
---|
285 | %dir %{os2_langdir}
|
---|
286 |
|
---|
287 | %files fhs
|
---|
288 | %defattr(-,root,root,-)
|
---|
289 | # no files in a virtual package
|
---|
290 |
|
---|
291 | %files unixtools-path
|
---|
292 | %defattr(-,root,root,-)
|
---|
293 | # no files in a virtual package
|
---|
294 |
|
---|
295 |
|
---|
296 | %post
|
---|
297 | if [ "$1" = 1 ] ; then
|
---|
298 | #execute only on first install
|
---|
299 | %cube {ADDSTRING "%{os2_dos_path %{_sbindir};%{_bindir}};" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys c:\config.sys.yum > NUL
|
---|
300 | %cube {ADDSTRING "%{os2_dos_path %{_libdir}};" IN "LIBPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
301 | %cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
|
---|
302 | %cube {ADDLINE "SET UNIXROOT=%UNIXROOT%" (ALWAYS)} c:\config.sys > NUL
|
---|
303 | fi
|
---|
304 | %cube {ADDLINE "SET TERM=os2" (IFNOT "SET TERM=")} c:\config.sys > NUL
|
---|
305 | %cube {ADDLINE "REM [ Default shell values ]" (IFNOT "REM [ Default shell values ]")} c:\config.sys > NUL
|
---|
306 | %cube {ADDLINE "SET SHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET SHELL=")} c:\config.sys > NUL
|
---|
307 | %cube {ADDLINE "SET EMXSHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET EMXSHELL=")} c:\config.sys > NUL
|
---|
308 | %cube {ADDLINE "SET CONFIG_SHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET CONFIG_SHELL=")} c:\config.sys > NUL
|
---|
309 | %cube {ADDLINE "SET MAKESHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET MAKESHELL=")} c:\config.sys > NUL
|
---|
310 | %cube {ADDLINE "SET EXECSHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET EXECSHELL=")} c:\config.sys > NUL
|
---|
311 | %cube {ADDLINE "REM [ Temporary directory ]" (IFNOT "REM [ Temporary directory ]")} c:\config.sys > NUL
|
---|
312 | %cube {ADDLINE "SET TMP=%{os2_dos_path /@unixroot/var/tmp}" (IFNOT "SET TMP=")} c:\config.sys > NUL
|
---|
313 | %cube {ADDLINE "SET TEMP=%{os2_dos_path /@unixroot/var/tmp}" (IFNOT "SET TEMP=")} c:\config.sys > NUL
|
---|
314 | %cube {ADDLINE "SET TMPDIR=%{os2_dos_path /@unixroot/var/tmp}" (IFNOT "SET TMPDIR=")} c:\config.sys > NUL
|
---|
315 | %cube {ADDSTRING "%{os2_dos_path %{os2_bookdir}};" IN "SET BOOKSHELF=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
316 | %cube {ADDSTRING "%{os2_dos_path %{os2_helpdir}};" IN "SET HELP=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
317 | %cube {ADDSTRING "%{os2_dos_path %{os2_langdir}};" IN "SET DPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
318 |
|
---|
319 | %postun
|
---|
320 | if [ "$1" = 0 ] ; then
|
---|
321 | #execute only on last uninstall
|
---|
322 | %cube {DELSTRING "%{os2_dos_path %{_sbindir};%{_bindir}};" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
323 | %cube {DELSTRING "%{os2_dos_path %{_libdir}};" IN "LIBPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
324 | %cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
|
---|
325 | %cube {DELSTRING "%{os2_dos_path %{os2_bookdir}};" IN "SET BOOKSHELF=" (FIRST} c:\config.sys > NUL
|
---|
326 | %cube {DELSTRING "%{os2_dos_path %{os2_helpdir}};" IN "SET HELP=" (FIRST} c:\config.sys > NUL
|
---|
327 | %cube {DELSTRING "%{os2_dos_path %{os2_langdir}};" IN "SET DPATH=" (FIRST} c:\config.sys > NUL
|
---|
328 | fi
|
---|
329 |
|
---|
330 | %post fhs
|
---|
331 | if [ "$1" = 1 ] ; then
|
---|
332 | #execute only on first install
|
---|
333 | ln -s /@unixroot/usr/bin /@unixroot/bin
|
---|
334 | fi
|
---|
335 |
|
---|
336 | %postun fhs
|
---|
337 | if [ "$1" = 0 ] ; then
|
---|
338 | #execute only on last uninstall
|
---|
339 | rm /@unixroot/bin
|
---|
340 | fi
|
---|
341 |
|
---|
342 | %post unixtools-path
|
---|
343 | if [ "$1" = 1 ] ; then
|
---|
344 | #execute only on first install
|
---|
345 | %cube {ADDSTRING "%UNIXROOT%\usr\libexec\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys c:\config.sys.yum > NUL
|
---|
346 | fi
|
---|
347 |
|
---|
348 | %postun unixtools-path
|
---|
349 | if [ "$1" = 0 ] ; then
|
---|
350 | #execute only on last uninstall
|
---|
351 | %cube {DELSTRING "%UNIXROOT%\usr\libexec\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
---|
352 | fi
|
---|
353 |
|
---|
354 |
|
---|
355 | %changelog
|
---|
356 | * Fri Jul 28 2017 Dmitriy Kuminov <coding@dmik.org> 0.0.0-17
|
---|
357 | - Use handy os2_dos_path, os2_langdir etc. macros from os2-rpm.
|
---|
358 | - Make os2-base own os2_langdir.
|
---|
359 |
|
---|
360 | * Fri Jun 9 2017 Dmitriy Kuminov <coding@dmik.org> 0.0.0-16
|
---|
361 | - Make os2-rpm a requirement for os2-base (contains essential macros used in scriptlets).
|
---|
362 |
|
---|
363 | * Mon Feb 20 2017 scs, hb <herwig,bauernfeind@bitwiseworks.com> 0.0.0-15
|
---|
364 | - Add SHELL statements
|
---|
365 | - Add ArcaOS to summary
|
---|
366 |
|
---|
367 | * Mon Jan 30 2017 hb <herwig,bauernfeind@bitwiseworks.com> 0.0.0-14
|
---|
368 | - Correct typo from mmioi.dll to mmio.dll
|
---|
369 |
|
---|
370 | * Wed Jun 08 2016 yd <yd@os2power.com> 0.0.0-13
|
---|
371 | - Add special UNIXROOT lang directory to DPATH in config.sys.
|
---|
372 |
|
---|
373 | * Wed Jan 27 2016 Dmitriy Kuminov <coding@dmik.org> 0.0.0-12
|
---|
374 | - Add special UNIXROOT directories to BOOKSHELF and HELP in config.sys.
|
---|
375 |
|
---|
376 | * Thu Dec 17 2015 yd <yd@os2power.com> 0.0.0-11
|
---|
377 | - set i686 as default platform.
|
---|
378 |
|
---|
379 | * Tue Feb 17 2015 yd <yd@os2power.com> 0.0.0-10
|
---|
380 | - set TERM to os2 only if undefined.
|
---|
381 |
|
---|
382 | * Sat Feb 14 2015 yd <yd@os2power.com> 0.0.0-8
|
---|
383 | - force TERM to ansi (texinfo requirement).
|
---|
384 |
|
---|
385 | * Tue Jul 30 2013 yd
|
---|
386 | - add unixtool-path package to prepend /@unixroot/usr/libexec/bin to PATH.
|
---|
387 |
|
---|
388 | * Wed Jul 24 2013 yd
|
---|
389 | - put /bin into unixroot drive (requires scripting).
|
---|
390 |
|
---|
391 | * Thu Mar 21 2013 yd
|
---|
392 | - added fhs package to provide /bin symlink (for FHS script compatibility).
|
---|