Bug 5098 - imap doesn't make a -devel package
imap doesn't make a -devel package
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: imap (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-09-13 02:40 EDT by carenas
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-13 21:07:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description carenas 1999-09-13 02:40:35 EDT
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-13 21:07:59 EST
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.