1 |
< |
### RPM external meschach 1.2.pCMS1-CMS19 |
1 |
> |
### RPM external meschach 1.2.pCMS1 |
2 |
|
Source: http://www.math.uiowa.edu/~dstewart/meschach/mesch12b.tar.gz |
3 |
|
Patch: meschach-1.2-slc4 |
4 |
|
Patch1: meschach-1.2b-fPIC |
19 |
|
mkdir -p %i/lib |
20 |
|
cp *.h %i/include |
21 |
|
cp meschach.a %i/lib/libmeschach.a |
22 |
– |
# SCRAM ToolBox toolfile |
23 |
– |
mkdir -p %i/etc/scram.d |
24 |
– |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
25 |
– |
<doc type=BuildSystem::ToolDoc version=1.0> |
26 |
– |
<Tool name=Meschach version=%v> |
27 |
– |
<info url=http://www.meschach.com></info> |
28 |
– |
<lib name=meschach> |
29 |
– |
<Client> |
30 |
– |
<Environment name=MESCHACH_BASE default="%i"></Environment> |
31 |
– |
<Environment name=LIBDIR default="$MESCHACH_BASE/lib"></Environment> |
32 |
– |
<Environment name=INCLUDE default="$MESCHACH_BASE/include"></Environment> |
33 |
– |
</Client> |
34 |
– |
</Tool> |
35 |
– |
EOF_TOOLFILE |
36 |
– |
|
37 |
– |
%post |
38 |
– |
%{relocateConfig}etc/scram.d/%n |
39 |
– |
|