| 1 |
|
|---|
| 2 | Summary: OS/2 - eComStation 2.0 base
|
|---|
| 3 | Name: os2-base
|
|---|
| 4 | Version: 0.0.0
|
|---|
| 5 | Release: 13%{?dist}
|
|---|
| 6 |
|
|---|
| 7 | License: free
|
|---|
| 8 |
|
|---|
| 9 | Requires: cube
|
|---|
| 10 | Requires: os2-release
|
|---|
| 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: mmioi.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 |
|
|---|
| 242 | %description
|
|---|
| 243 | Virtual package for OS/2 base shared libraries packaging.
|
|---|
| 244 |
|
|---|
| 245 | %package fhs
|
|---|
| 246 | License: free
|
|---|
| 247 | Summary: Provides a /@unixroot/bin directory for posix compatibility.
|
|---|
| 248 |
|
|---|
| 249 | %description fhs
|
|---|
| 250 | Adds /bin to provide posix directory compatibility for shell script execution
|
|---|
| 251 | (as /bin/sh) as FHS http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs
|
|---|
| 252 |
|
|---|
| 253 | %package unixtools-path
|
|---|
| 254 | License: free
|
|---|
| 255 | Summary: Makes unix tools from findutils and coreutils first in PATH.
|
|---|
| 256 |
|
|---|
| 257 | %description unixtools-path
|
|---|
| 258 | Adds /@unixroot/usr/libexec/bin at beginning of system PATH, to allow conflicting
|
|---|
| 259 | tools from findutils and coreutils to be used instead of default OS/2 tools.
|
|---|
| 260 |
|
|---|
| 261 |
|
|---|
| 262 | %prep
|
|---|
| 263 | # nothing to do
|
|---|
| 264 |
|
|---|
| 265 | %build
|
|---|
| 266 | # nothing to do
|
|---|
| 267 |
|
|---|
| 268 | %install
|
|---|
| 269 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 270 | mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/rpm
|
|---|
| 271 | echo i686-OS/2-OS/2 > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform
|
|---|
| 272 |
|
|---|
| 273 | mkdir -p %{buildroot}%{_datadir}/os2/book
|
|---|
| 274 | mkdir -p %{buildroot}%{_datadir}/os2/help
|
|---|
| 275 |
|
|---|
| 276 | %clean
|
|---|
| 277 | # nothing to do
|
|---|
| 278 |
|
|---|
| 279 |
|
|---|
| 280 | %files
|
|---|
| 281 | %defattr(-,root,root,-)
|
|---|
| 282 | %config(noreplace) %{_sysconfdir}/rpm/platform
|
|---|
| 283 | %dir %{_datadir}/os2/book
|
|---|
| 284 | %dir %{_datadir}/os2/help
|
|---|
| 285 |
|
|---|
| 286 | %files fhs
|
|---|
| 287 | %defattr(-,root,root,-)
|
|---|
| 288 | # no files in a virtual package
|
|---|
| 289 |
|
|---|
| 290 | %files unixtools-path
|
|---|
| 291 | %defattr(-,root,root,-)
|
|---|
| 292 | # no files in a virtual package
|
|---|
| 293 |
|
|---|
| 294 |
|
|---|
| 295 | %post
|
|---|
| 296 | if [ "$1" = 1 ] ; then
|
|---|
| 297 | #execute only on first install
|
|---|
| 298 | %cube {ADDSTRING "%UNIXROOT%\usr\sbin;%UNIXROOT%\usr\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys c:\config.sys.yum > NUL
|
|---|
| 299 | %cube {ADDSTRING "%UNIXROOT%\usr\lib;" IN "LIBPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 300 | %cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
|
|---|
| 301 | %cube {ADDLINE "SET UNIXROOT=%UNIXROOT%" (ALWAYS)} c:\config.sys > NUL
|
|---|
| 302 | fi
|
|---|
| 303 | %cube {ADDLINE "SET TERM=os2" (IFNOT "SET TERM")} c:\config.sys > NUL
|
|---|
| 304 | %cube {ADDSTRING "%UNIXROOT%\usr\share\os2\book;" IN "SET BOOKSHELF=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 305 | %cube {ADDSTRING "%UNIXROOT%\usr\share\os2\help;" IN "SET HELP=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 306 | %cube {ADDSTRING "%UNIXROOT%\usr\share\os2\lang;" IN "SET DPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 307 |
|
|---|
| 308 | %postun
|
|---|
| 309 | if [ "$1" = 0 ] ; then
|
|---|
| 310 | #execute only on last uninstall
|
|---|
| 311 | %cube {DELSTRING "%UNIXROOT%\usr\sbin;%UNIXROOT%\usr\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 312 | %cube {DELSTRING "%UNIXROOT%\usr\lib;" IN "LIBPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 313 | %cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
|
|---|
| 314 | %cube {DELLINE "SET TERM="} c:\config.sys > NUL
|
|---|
| 315 | %cube {DELSTRING "%UNIXROOT%\usr\share\os2\book;" IN "SET BOOKSHELF=" (FIRST} c:\config.sys > NUL
|
|---|
| 316 | %cube {DELSTRING "%UNIXROOT%\usr\share\os2\help;" IN "SET HELP=" (FIRST} c:\config.sys > NUL
|
|---|
| 317 | %cube {DELSTRING "%UNIXROOT%\usr\share\os2\lang;" IN "SET DPATH=" (FIRST} c:\config.sys > NUL
|
|---|
| 318 | fi
|
|---|
| 319 |
|
|---|
| 320 | %post fhs
|
|---|
| 321 | if [ "$1" = 1 ] ; then
|
|---|
| 322 | #execute only on first install
|
|---|
| 323 | ln -s /@unixroot/usr/bin /@unixroot/bin
|
|---|
| 324 | fi
|
|---|
| 325 |
|
|---|
| 326 | %postun fhs
|
|---|
| 327 | if [ "$1" = 0 ] ; then
|
|---|
| 328 | #execute only on last uninstall
|
|---|
| 329 | rm /@unixroot/bin
|
|---|
| 330 | fi
|
|---|
| 331 |
|
|---|
| 332 | %post unixtools-path
|
|---|
| 333 | if [ "$1" = 1 ] ; then
|
|---|
| 334 | #execute only on first install
|
|---|
| 335 | %cube {ADDSTRING "%UNIXROOT%\usr\libexec\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys c:\config.sys.yum > NUL
|
|---|
| 336 | fi
|
|---|
| 337 |
|
|---|
| 338 | %postun unixtools-path
|
|---|
| 339 | if [ "$1" = 0 ] ; then
|
|---|
| 340 | #execute only on last uninstall
|
|---|
| 341 | %cube {DELSTRING "%UNIXROOT%\usr\libexec\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
|
|---|
| 342 | fi
|
|---|
| 343 |
|
|---|
| 344 |
|
|---|
| 345 | %changelog
|
|---|
| 346 | * Wed Jun 08 2016 yd <yd@os2power.com> 0.0.0-13
|
|---|
| 347 | - Add special UNIXROOT lang directory to DPATH in config.sys.
|
|---|
| 348 |
|
|---|
| 349 | * Wed Jan 27 2016 Dmitriy Kuminov <coding@dmik.org> 0.0.0-12
|
|---|
| 350 | - Add special UNIXROOT directories to BOOKSHELF and HELP in config.sys.
|
|---|
| 351 |
|
|---|
| 352 | * Thu Dec 17 2015 yd <yd@os2power.com> 0.0.0-11
|
|---|
| 353 | - set i686 as default platform.
|
|---|
| 354 |
|
|---|
| 355 | * Tue Feb 17 2015 yd <yd@os2power.com> 0.0.0-10
|
|---|
| 356 | - set TERM to os2 only if undefined.
|
|---|
| 357 |
|
|---|
| 358 | * Sat Feb 14 2015 yd <yd@os2power.com> 0.0.0-8
|
|---|
| 359 | - force TERM to ansi (texinfo requirement).
|
|---|
| 360 |
|
|---|
| 361 | * Tue Jul 30 2013 yd
|
|---|
| 362 | - add unixtool-path package to prepend /@unixroot/usr/libexec/bin to PATH.
|
|---|
| 363 |
|
|---|
| 364 | * Wed Jul 24 2013 yd
|
|---|
| 365 | - put /bin into unixroot drive (requires scripting).
|
|---|
| 366 |
|
|---|
| 367 | * Thu Mar 21 2013 yd
|
|---|
| 368 | - added fhs package to provide /bin symlink (for FHS script compatibility).
|
|---|