Bug 5098 - imap doesn't make a -devel package
Summary: imap doesn't make a -devel package
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: imap
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-09-13 06:40 UTC by carenas
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-01-14 02:07:37 UTC

Attachments (Terms of Use)

Description carenas 1999-09-13 06:40:35 UTC
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
library soon

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

%package devel
Summary: Development tools for programs which will use the
imap library
Group: Development/Libraries

%description devel
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

%files devel
%doc docs/*

Comment 1 Preston Brown 2000-01-14 02:07:59 UTC
fixed for 6.2.  A static development library has been provided, if people wish
to install it.

Note You need to log in before you can comment on or make changes to this bug.