Bug 5098

Summary: imap doesn't make a -devel package
Product: [Retired] Red Hat Raw Hide Reporter: carenas
Component: imapAssignee: Cristian Gafton <gafton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-14 02:07:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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

%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.

%install
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
$RPM_BUILD_ROOT/usr/include/imap
install -m 644 ./src/osdep/tops-20/shortsym.h
$RPM_BUILD_ROOT/usr/include/imap

%files devel
%doc docs/*
/usr/include/imap
/usr/lib/c-client.a

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.