[Mono-list] RPM spec file

Ferguson, Neale Neale.Ferguson@SoftwareAG-USA.com
Wed, 19 Feb 2003 09:52:58 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C2D826.97632810
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2D826.97632810"


------_=_NextPart_001_01C2D826.97632810
Content-Type: text/plain;
	charset="iso-8859-1"

To get the RPMs to build on S390 I need to make the following changes to the
spec file. 
 
--- mono-orig.spec      2003-02-19 14:46:59.000000000 -0500
+++ mono.spec   2003-01-24 16:30:52.000000000 -0500
@@ -35,10 +35,11 @@
 
 %install
 rm -rf %{buildroot}
 (cd mono*;
 %makeinstall
+cp mono/interpreter/mint %{buildroot}/usr/bin/mono
 )
 
 %clean
 rm -rf %{buildroot}
 
@@ -57,11 +58,11 @@
 %{_bindir}/monosn
 %{_bindir}/mint
 %{_bindir}/mcs
 %{_bindir}/mcs.exe
 %{_bindir}/monoresgen.exe
-%{_libdir}/*.so.*
+# %{_libdir}/*.so.*
 %{_libdir}/*.dll
 %{_mandir}/man1/mono.*
 %{_mandir}/man1/mcs.*
 %{_mandir}/man1/monostyle.*
 %{_mandir}/man1/monoburg.*
@@ -69,12 +70,12 @@
 %{_mandir}/man1/mint.*
 %{_mandir}/man5/*
 
 %files devel
 %defattr(-, root, root)
-%{_libdir}/*.a
-%{_libdir}/*.la
-%{_libdir}/*.so
+# %{_libdir}/*.a
+# %{_libdir}/*.la
+# %{_libdir}/*.so
 %{_libdir}/pkgconfig/*
 %{_includedir}/*
 %{_datadir}/%{name}/*

How can I incorporate these changes to the base spec files? I tried doing
things like:
 
#ifnarch s390
%{_libdir}/*.so
#endif
 
But it didn't appear to work.
 
 

Neale Ferguson 
R&D Fellow 
Software AG 

 

------_=_NextPart_001_01C2D826.97632810
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial size=3D2>To =
get the RPMs to=20
build on S390 I need to make the following changes to the spec file.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New" =
size=3D2>---=20
mono-orig.spec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2003-02-19 =
14:46:59.000000000=20
-0500<BR>+++ mono.spec&nbsp;&nbsp; 2003-01-24 16:30:52.000000000 =
-0500<BR>@@=20
-35,10 +35,11 @@</FONT></SPAN></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New"=20
size=3D2>&nbsp;%install<BR>&nbsp;rm -rf %{buildroot}<BR>&nbsp;(cd=20
mono*;<BR>&nbsp;%makeinstall<BR>+cp mono/interpreter/mint=20
%{buildroot}/usr/bin/mono<BR>&nbsp;)</FONT></SPAN></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New"=20
size=3D2>&nbsp;%clean<BR>&nbsp;rm -rf %{buildroot}</FONT></SPAN></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New" =
size=3D2>@@ -57,11=20
+58,11=20
@@<BR>&nbsp;%{_bindir}/monosn<BR>&nbsp;%{_bindir}/mint<BR>&nbsp;%{_bindi=
r}/mcs<BR>&nbsp;%{_bindir}/mcs.exe<BR>&nbsp;%{_bindir}/monoresgen.exe<BR=
>-%{_libdir}/*.so.*<BR>+#=20
%{_libdir}/*.so.*<BR>&nbsp;%{_libdir}/*.dll<BR>&nbsp;%{_mandir}/man1/mon=
o.*<BR>&nbsp;%{_mandir}/man1/mcs.*<BR>&nbsp;%{_mandir}/man1/monostyle.*<=
BR>&nbsp;%{_mandir}/man1/monoburg.*<BR>@@=20
-69,12 +70,12=20
@@<BR>&nbsp;%{_mandir}/man1/mint.*<BR>&nbsp;%{_mandir}/man5/*</FONT></SP=
AN></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial size=3D2><FONT =

face=3D"Courier New">&nbsp;%files devel<BR>&nbsp;%defattr(-, root,=20
root)<BR>-%{_libdir}/*.a<BR>-%{_libdir}/*.la<BR>-%{_libdir}/*.so<BR>+#=20
%{_libdir}/*.a<BR>+# %{_libdir}/*.la<BR>+#=20
%{_libdir}/*.so<BR>&nbsp;%{_libdir}/pkgconfig/*<BR>&nbsp;%{_includedir}/=
*<BR>&nbsp;%{_datadir}/%{name}/*</FONT><BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial size=3D2>How =
can I=20
incorporate these changes to the base spec files? I tried doing things=20
like:</FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New" =
size=3D2>#ifnarch=20
s390</FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New"=20
size=3D2>%{_libdir}/*.so</FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3D"Courier New"=20
size=3D2>#endif</FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial size=3D2>But =
it didn't appear=20
to work.</FONT></SPAN></DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D121175214-19022003><FONT face=3DArial=20
size=3D2>&nbsp;</DIV></FONT></SPAN>
<P><FONT face=3D"Monotype Corsiva">Neale Ferguson</FONT> <BR><FONT =
face=3DArial=20
size=3D2>R&amp;D Fellow</FONT> <BR><FONT face=3DArial size=3D2>Software =
AG</FONT> </P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C2D826.97632810--

------_=_NextPart_000_01C2D826.97632810
Content-Type: application/octet-stream;
	name="Ferguson, Neale.vcf"
Content-Disposition: attachment;
	filename="Ferguson, Neale.vcf"

BEGIN:VCARD
VERSION:2.1
N:Ferguson;Neale
FN:Ferguson, Neale
ORG:Software AG, Inc.;IBM Product Compatibility Test - 504170
TITLE:Fellow, R&D
TEL;WORK;VOICE:(703) 390-7451
TEL;HOME;VOICE:(703) 669-9385
TEL;CELL;VOICE:(703) 209-7004
TEL;PAGER;VOICE: 
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;Reston - Toll Road;11180 Sunrise Vly Drive=0D=0AMailstop TR-310;Reston;VA;2=
0191-4367;US
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Reston - Toll Road=0D=0A11180 Sunrise Vly Drive=0D=0AMailstop TR-310=0D=0ARe=
ston, VA 20191-4367=0D=0AUS
EMAIL;PREF;INTERNET:Neale.Ferguson@SoftwareAG-USA.com
REV:20020719T193837Z
END:VCARD

------_=_NextPart_000_01C2D826.97632810--