Description of problem: Programmers that want to use the API/ABI provided by gettext to access PO files from a C program currently cannot do so because the libraries and headers are not packaged (only the .la file is packaged, which is not useful by itself for development). Version-Release number of selected component (if applicable): gettext-0.14.1-2.1 Steps to Reproduce: 1. rpm -ql gettext | grep -i libgettext 2. or alternatively, try to compile the sample code in gettext.info in the node libgettextpo Additional info: Other vendors RPMs do include the development files (see rpmfind.net)-- although it could be debated as to whether they belong in gettext or gettext-devel
We have been using --disable-shared for a while the *.so is not included. I did not know the reason of previous maintainer disabling it but i think it is good idea to include it. What do you think is favorable way to pacakge the *.so? Majority of people do not need those API so I would think putting them into gettext-devel maybe better. What do you think?
Comment 1: as end users would never use them, libgettextpo.so* and the gettext-po.h obviously belong in the subpackage gettext-devel
Thanks for the report! this should be fixed on 0.14.1. please confirm the new package when you can.
s/0.14.1/0.14.1-3/
I'm looking over 0.14.1-3 right now. There sure are a lot of files in gettext-devel! However, I've noticed something strange: the info pages in 0.14.1-3, in the section "Manipulating PO files", no longer contains documentation for libgettextpo! IOW, the menu item * libgettextpo:: Writing your own programs that process PO files in gettext.info exists in 0.12.1-1, but not in 0.14.1-3 (which has support for the API-- ironic)