imap support is needed for other packages to work.
there is an static library that could be used on a -devel
package for linking with packages the need imap support
(php comes to mind)
the only thing that is really needed is to copy the
c-client.a library to /usr/lib and copy the include files to
/usr/include/imap, hopefully, we could have a .so imap
on every package that needs imap support adding -I
/usr/include/imap and /usr/lib/c-client.a to source files
will be all what is needed. actually, i am crossposting a
bug for php package for adding this link and taking the full
source out of spec.
the following should be added to imap.spec to get this
Summary: Development tools for programs which will use the
This package contains the header files and static libraries
for developing programs which will use the imap library.
mkdir -p $RPM_BUILD_ROOT/usr/lib
install -m 644 ./c-client/c-client.a $RPM_BUILD_ROOT/usr/lib
mkdir -p $RPM_BUILD_ROOT/usr/include/imap
install -m 644 ./c-client/*.h
install -m 644 ./src/osdep/tops-20/shortsym.h
fixed for 6.2. A static development library has been provided, if people wish
to install it.