I'm working on packaging Field3D for inclusion at Fedora so it will be available for OpenImageIO which I already maintain there.
Summary of updates:
Since rpmbuild handles putting documentation in the right place I added a INSTALL_DOCS option defaulted to ON so I could disable it.
Added a soname/soversion on the library. I'm not sure if this project is currently maintaining API/ABI compatibility so I set it to the same as the package version.
Added $LIB_SUFFIX to the library install path for multi-lib linux distros (Redhat/Fedora/Suse/Gentoo, etc.)
Changed INSTALL ( PROGRAM to INSTALL ( TARGET because PROGRAM is designed for shell scripts, not binaries. TARGET must be used for proper RPATH handling during install.
Added basic man page for f3dinfo. Currently does not get installed by cmake.
I'm working on packaging Field3D for inclusion at Fedora so it will be available for OpenImageIO which I already maintain there.
Summary of updates: