I figured I'd start a new thread now that I have packages building.
Here's the result of the main package (minus documentation and header
files, those are packaged separately):
$ rpm -qlp OpenImageIO-0.10.0-1.fc14.x86_64.rpm
/usr/bin/iconvert
/usr/bin/idiff
/usr/bin/igrep
/usr/bin/iinfo
/usr/bin/iprocess
/usr/bin/iv
/usr/bin/maketx
/usr/lib64/libOpenImageIO.so.0.10
/usr/lib64/libOpenImageIO.so.0.10.0
/usr/lib64/python2.7/site-packages/OpenImageIO.so
/usr/share/doc/OpenImageIO-0.10.0
/usr/share/doc/OpenImageIO-0.10.0/CHANGES
/usr/share/doc/OpenImageIO-0.10.0/INSTALL
/usr/share/doc/OpenImageIO-0.10.0/LICENSE
Does this look correct? "make install" puts OpenImageIO.so in
/usr/python which doesn't exist. I assumed it is a C++ based python
library hence the location "/usr/lib{,64}/python2.X/site-packages/"
Some remaining issues:
1. Make install doesn't need to copy over CHANGES, INSTALL, &
LICENSE... the %doc macro takes care of that, and even if it did need
to put them somewhere, /usr isn't it.
2. Right now I'm putting the libraries in /usr/lib{,64} which means I
need to run ldconfig. Is this the correct location or would a named
subdirectory be more appropriate? (i.e. /usr/lib{,64}/OpenImageIO/)
3. There's no man pages for the binaries. It's not an absolute
requirement for Fedora but it's *STRONGLY* recommend for any command
line program.
If anyone is interested in looking at the spec file:
http://pastebin.com/79k1cz94
Thanks,
Richard
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org