Hi!
On Jul 24, 2013 9:04 AM, "Antonio Trande" <anto.trande(a)gmail.com> wrote:
I'm editing .spec file of MUMPS package to conform it to the MPI
packaging guidelines (
http://fedoraproject.org/wiki/Packaging:MPI). I
have a modest experience in this particular case so I need some
suggestions.
This is initial .spec file of MUMPS:
http://pkgs.fedoraproject.org/cgit/MUMPS.git/tree/MUMPS.spec
This is that adjusted according to the MPI packaging guidelines:
http://sagitter.fedorapeople.org/MUMPS/MUMPS.mod.spec
As you see, I have created the packages
- - MUMPS-openmpi
- - MUMPS-openmpi-devel
- - MUMPS-common
Upstream provides illustrative test programs showing how MUMPS can be
used in examples/ directory; Can I package these programs in
'MUMPS-common' package ? They are located in dedicated directory in
/usr/share.
Yes, but usually examples are shipped in /usr/share/doc via %doc, not
directly in /usr/share.
'MUMPS-openmpi' contains all versioned libraries; I don't
know if it's
correct or the package must be named 'MUMPS-openmpi-libs'
No, a -libs subpackage would only be necessary if the main MUMPS-openmpi
package contained more than libraries.
Should all .h files be in a '-headers' subpackage ?
Now, they are 'MUMPS-openmpi-devel'.
No, -devel is the correct location for the headers.
This phrase in MPI guidelines is little clear for me:
"Software that supports MPI MUST be packaged also in serial mode [i.e.
no MPI], if it is supported by upstream."
What does mean "serial mode" ? :)
-T.C.