Hi,
I'm working on packaging Salome (The Open Source Integration Platform for Numerical Simulation) [1], and the cmake scripts there install tons of binaries and python scripts to the /usr/bin/salome folder. Is this acceptable?
Thanks, Sandro
2014-05-29 18:27 GMT-03:00 Sandro Mani manisandro@gmail.com:
Hi,
Hi,
I'm working on packaging Salome (The Open Source Integration Platform for Numerical Simulation) [1], and the cmake scripts there install tons of
I packaged and maintained it packaged in Mandriva for a few years. If I recall correctly, it is (kind of) salome "solution" to avoid name clashes.
binaries and python scripts to the /usr/bin/salome folder. Is this acceptable?
I believe a symbolic link should be acceptable. Actually creating a subdir would probably have a lot of opposition, but it should be possible to reconfigure salome to use %_libexecdir/salome or %_libdir/salome
Thanks, Sandro
Paulo
binaries and python scripts to the /usr/bin/salome folder. Is this acceptable?
I believe a symbolic link should be acceptable. Actually creating a subdir would probably have a lot of opposition, but it should be possible to reconfigure salome to use %_libexecdir/salome or %_libdir/salome
Yeah reconfiguring is not an issue, and if the symlink solution is accepted I'd be happy. I'd just prefer not to break the install hierarchy too much so that various documentation and stuff on the net also applies to Fedora as far as possible.
Thanks, Sandro
On Thu, May 29, 2014 at 11:56:02PM +0200, Sandro Mani wrote:
binaries and python scripts to the /usr/bin/salome folder. Is this acceptable?
I believe a symbolic link should be acceptable. Actually creating a subdir would probably have a lot of opposition, but it should be possible to reconfigure salome to use %_libexecdir/salome or %_libdir/salome
Yeah reconfiguring is not an issue, and if the symlink solution is accepted I'd be happy. I'd just prefer not to break the install hierarchy too much so that various documentation and stuff on the net also applies to Fedora as far as possible.
<nod> Probably %{_libdir}/salome/REAL_FILES and %{_bindir}/SYMLINKS_TO_REAL_FILES. If there is a concern that salome's files will conflict with other things in %{_bindir} the symlinks probably need to have a prefix like salome-SYMLINK.
-Toshio
On 05/29/2014 11:27 PM, Sandro Mani wrote:
Hi,
I'm working on packaging Salome (The Open Source Integration Platform for Numerical Simulation) [1], and the cmake scripts there install tons of binaries and python scripts to the /usr/bin/salome folder. Is this acceptable?
No. /usr/bin is not supposed to carry subdirs.
Depending on what these files actually are (I don't know anything about this package), installing them to %{_libexecdir} or %{libdir}/<package> might be advisable.
Ralf
On 05/30/2014 12:28 PM, Kevin Kofler wrote:
Ralf Corsepius wrote:
Depending on what these files actually are (I don't know anything about this package), installing them to %{_libexecdir} or %{libdir}/<package> might be advisable.
IMHO, %{_libexecdir}/salome/ is the best place.
Absolutly - The %{_libexecdir} above was an oversight on my part. Sorry for the confusion.
Ralf
On 30.05.2014 14:08, Ralf Corsepius wrote:
On 05/30/2014 12:28 PM, Kevin Kofler wrote:
Ralf Corsepius wrote:
Depending on what these files actually are (I don't know anything about this package), installing them to %{_libexecdir} or %{libdir}/<package> might be advisable.
IMHO, %{_libexecdir}/salome/ is the best place.
Absolutly - The %{_libexecdir} above was an oversight on my part. Sorry for the confusion.
Ralf
Ok, I'll do that.
Thanks, Sandro