source: spec/trunk/SPECS/os2-base.spec@ 115

Last change on this file since 115 was 115, checked in by Yuri Dario, 15 years ago

spec: os2-base scriptlets must take account of number of installations before modifying config.sys.

File size: 5.0 KB
Line 
1
2Summary: OS/2 - eComStation 2.0 base
3Name: os2-base
4Version: 0.0.0
5Release: 2%{?dist}
6
7License: free
8
9Requires: cube
10Requires: os2-release
11
12Provides: ansicall
13Provides: asiacol
14Provides: bdbvh
15Provides: bdcall32
16Provides: bdcalls
17Provides: bdime
18Provides: bdview
19Provides: bdwpcls
20Provides: bidipm
21Provides: bkscalls
22Provides: bmscalls
23Provides: bvhinit
24Provides: bvhmpa
25Provides: bvhsvga
26Provides: bvhvga
27Provides: bvhwndw
28Provides: bvscalls
29Provides: cdtbl
30Provides: chkdsk32
31Provides: cidlog
32Provides: cometdll
33Provides: cyrime
34Provides: dibdrvr
35Provides: display
36Provides: dmiapi
37Provides: dmiquery
38Provides: dmqsprof
39Provides: doscall1
40Provides: doscalls
41Provides: dosrfico
42Provides: dspimri
43Provides: dspres
44Provides: ehxdlmri
45Provides: engine
46Provides: errlog
47Provides: errtxt
48Provides: ffconfig
49Provides: ffdump
50Provides: ffgui
51Provides: ffipc
52Provides: ffpct
53Provides: ffprobe
54Provides: ffst
55Provides: filever
56Provides: fka
57Provides: fw2dll
58Provides: gbm
59Provides: gengradd
60Provides: genpmi
61Provides: glocmri
62Provides: glut
63Provides: gre2vman
64Provides: helpmgr
65Provides: hpmgrmri
66Provides: hwdvpd
67Provides: ibmdev32
68Provides: ibmgpmi
69Provides: ibmhmgr
70Provides: ibmvga32
71Provides: imp
72Provides: inscfg32
73Provides: inspgm32
74Provides: inst32
75Provides: install
76Provides: instres
77Provides: ivm
78Provides: kbdcalls
79Provides: lfapi
80Provides: libaux
81Provides: libcm
82Provides: libcn
83Provides: libcs
84Provides: libtk
85Provides: libuni
86Provides: lmdll
87Provides: locale
88Provides: lvm
89Provides: mdmi
90Provides: minxmri
91Provides: minxobj
92Provides: mipmini
93Provides: mirrors
94Provides: mmioi
95Provides: mmpmcrts
96Provides: mmpmini
97Provides: mmsniff
98Provides: moncalls
99Provides: moucalls
100Provides: msg
101Provides: namedsp
102Provides: namefw
103Provides: namerexx
104Provides: nampipes
105Provides: nls
106Provides: npfimri
107Provides: npxemltr
108Provides: nwiapi
109Provides: oasis
110Provides: objdata
111Provides: opengl
112Provides: orexutil
113Provides: orexx
114Provides: orexxsc
115Provides: orexxsom
116Provides: orexxwps
117Provides: os2char
118Provides: os2mm
119Provides: os2om30
120Provides: os2oooc
121Provides: os2oor3u
122Provides: os2sm
123Provides: panogrex
124Provides: picv
125Provides: pmatm
126Provides: pmbidi
127Provides: pmbind
128Provides: pmchkdsk
129Provides: pmclip
130Provides: pmctls
131Provides: pmdde
132Provides: pmddeml
133Provides: pmdfmsg
134Provides: pmdrag
135Provides: pmex
136Provides: pmformat
137Provides: pmgpi
138Provides: pmgre
139Provides: pmi10c8
140Provides: pmi102b
141Provides: pmi102c
142Provides: pmi1002
143Provides: pmi1023
144Provides: pmi5333
145Provides: pmmerge
146Provides: pmmle
147Provides: pmmrgres
148Provides: pmpic
149Provides: pmpre
150Provides: pmrexxio
151Provides: pmsdmri
152Provides: pmshapi
153Provides: pmshltkt
154Provides: pmspl
155Provides: pmtkt
156Provides: pmunif
157Provides: pmvdmh
158Provides: pmvdmp
159Provides: pmviop
160Provides: pmwin
161Provides: pmwinx
162Provides: pmwp
163Provides: pmwpmri
164Provides: pnp
165Provides: pnpmri
166Provides: prodmri
167Provides: prog
168Provides: progfldr
169Provides: quecalls
170Provides: registry
171Provides: rexx
172Provides: rexxapi
173Provides: rexxcrt
174Provides: rexxinit
175Provides: rexxsom
176Provides: rexxutil
177Provides: rminfo
178Provides: rspimri
179Provides: rxvidcfg
180Provides: s3pmi
181Provides: sbfilter
182Provides: scenter
183Provides: seamless
184Provides: sesmgr
185Provides: shield
186Provides: shpiinst
187Provides: softdraw
188Provides: som
189Provides: somd
190Provides: somem
191Provides: somir
192Provides: soms
193Provides: somsec
194Provides: somtc
195Provides: somu
196Provides: somuc
197Provides: spl1b
198Provides: spoolcp
199Provides: svga
200Provides: svgaimri
201Provides: svgainst
202Provides: svgamri
203Provides: sysfont
204Provides: syslogpm
205Provides: thailib
206Provides: tracedll
207Provides: trcformt
208Provides: truetype
209Provides: ucdfs
210Provides: uconv
211Provides: uhpfs
212Provides: ujfs
213Provides: unikbd
214Provides: uudf
215Provides: vbe2grad
216Provides: vcfgmri
217Provides: vgagradd
218Provides: videocfg
219Provides: videopmi
220Provides: viocalls
221Provides: vman
222Provides: wcfgmri
223Provides: wincfg
224Provides: winprf
225Provides: wpcomet
226Provides: wpconfig
227Provides: wpconmri
228Provides: wpdserv
229Provides: wpdsrvp
230Provides: wpinet
231Provides: wpinstal
232Provides: wpintmri
233Provides: wpnls
234Provides: wppansys
235Provides: wpprint
236Provides: wpprtmri
237Provides: wpstkmou
238Provides: wpstkmri
239Provides: wpvidsys
240
241
242%description
243Virtual package for OS/2 base shared libraries packaging.
244
245
246%prep
247# nothing to do
248
249%build
250# nothing to do
251
252%install
253# nothing to do
254
255%clean
256# nothing to do
257
258%files
259# no files in a virtual package
260
261%post
262if [ "$1" = 1 ] ; then
263#execute only on first install
264%cube {ADDSTRING "%UNIXROOT%\usr\sbin;%UNIXROOT%\usr\bin;%UNIXROOT%\sbin;%UNIXROOT%\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys c:\config.sys.yum > NUL
265%cube {ADDSTRING "%UNIXROOT%\usr\lib;" IN "LIBPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
266%cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
267%cube {ADDLINE "SET UNIXROOT=%UNIXROOT%"} c:\config.sys > NUL
268fi
269
270%postun
271if [ "$1" = 0 ] ; then
272#execute only on last uninstall
273%cube {DELSTRING "%UNIXROOT%\usr\sbin;%UNIXROOT%\usr\bin;%UNIXROOT%\sbin;%UNIXROOT%\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
274%cube {DELSTRING "%UNIXROOT%\usr\lib;" IN "LIBPATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
275%cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
276fi
Note: See TracBrowser for help on using the repository browser.