ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/openldap.spec
Revision: 1.11
Committed: Wed Aug 17 18:30:12 2011 UTC (13 years, 8 months ago) by eulisse
Branch: MAIN
CVS Tags: vs20120215-50X, da20120214-50X, CMSSW_5_0_1_patch3, daForCMSSW_5_0_1_patch3b-slc5_amd64_gcc434, daForCMSSW_5_0_1_patch3-slc5_amd64_gcc434, CMSSW_5_0_1_patch2, daForCMSSW_5_0_1_patch2c-slc5_amd64_gcc434, daForCMSSW_5_0_1_patch2b-slc5_amd64_gcc434, daForCMSSW_5_0_1_patch2-slc5_amd64_gcc434, da20120206-50X, da20120205-50X, CMSSW_5_0_1_patch1, CMSSW_5_0_0_patch2, CMSSW_5_0_1, da20120129-50X, da20120123-50X, CMSSW_5_0_0_patch1, da20120112-50X, da20120110-50X, da20120108-52X, da20120106-52X, CMSSW_5_0_0_g4emtest, da20111220-50X, da20111219-50X, sjgFor510pre1, CMSSW_5_0_0, sjgFor500, az20111214-50X, vs20111213-50X, fwFor500pre7-online, CMSSW_5_0_0_pre7pythia424, sjgFor500pre7p424b, sjgFor500pre7p424, CMSSW_5_0_0_pre7, sjgFor500pre7, da20111205-50X, sjg20111204b-50X, sjg20111204-50X, da20111202-50X, vs20111201c-50X, vs20111201temp-50X, vs20111201b-50X, vs20111201-50X, da20111201b-50X, da20111201-50X, da20111130-50X, CMSSW_5_0_0_pre6g494, da20111128-50X, sjgFor500pre6gcc494, az20111126-50X, sm20111126-50X, az20111125-50X, az20111124-50X, az20111123-50X, CMSSW_5_0_0_pre6, sjgFor500pre6, sm20111121-50X, az20111117b-50X, az20111117-50X, az20111116-50X, az20111115-50X, CMSSW_5_0_0_pre5_root532rc1, azFor500pre5r532rc1, az20111111b-50X, az20111111-50X, az20111108-50X, CMSSW_5_0_0_pre5, sjgFor500pre5, fwFor500pre4-online, az20111102b-50X, az20111102-50X, az20111031c-50X, az20111031b-50X, az20111031-50X, CMSSW_5_0_0_pre4, az20111027b-50X, az20111027-50X, sjgFor500pre4, az20111026-50X, az20111025-50X, sm20111025-50X, az20111024-50X, az20111022-50X, sjg111021d-50X, sjg111021c-50X, sjg111021b-50X, sjg111021-50X, CMSSW_5_0_0_pre3, sjgFor500pre3, az20111014-50X, az20111012-50X, az20111011b-50X, az20111011a-50X, CMSSW_5_0_0_pre2, sjgFor500pre2, az20111007-50X, az20110928a-50X, az20110928-50X, CMSSW_5_0_0_pre1, sjgFor500pre1b, sjgFor500pre1, az20110922c-50X, az20110922b-50X, az20110922a-50X, az20110922-50X, az20110920-50X, az20110918-50X, az20110916c-50X, az20110916b-50X, az20110916a-50X, az20110916-50X, az20110912-50X, sm20110912-50X, az20110908-50X, az20110907c-50X, az20110907b-50X, sm20110907-50X, az20110904-50X-ports, az20110904-50X, az20110902b-50X-ports, az20110902b-50X, az20110902a-50X, az20110902-50X-ports, az20110902-50X, az20110831-50X-ports, az20110831-50X, az20110827-50X-ports, az20110827-50X, az20110826b-50X-ports, az20110826b-50X, az20110826a-50X, az20110826-50X, az20110825-50X-ports, az20110825-50X, az20110823-50X-ports, az20110823-50X, az20110818a-50X-ports, az20110818a-50X, az20110818-50X-ports, az20110818-50X
Changes since 1.10: +3 -1 lines
Log Message:
Reduce installation size.

* Do not build archive libraries.
* Remove documentaion / man pages.

File Contents

# User Rev Content
1 ratnik 1.1 ### RPM external openldap 2.3.39
2 ratnik 1.3 ## INITENV +PATH LD_LIBRARY_PATH %i/lib
3 ratnik 1.1 Source: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20071118.tgz
4 elmer 1.6 Patch0: openldap-2.3.39-gcc44
5 ratnik 1.2 Requires: openssl db4
6     #cyrus-sasl
7 andreasp 1.5 Provides: libsasl2.so.2 libsasl2.so.2()(64bit)
8 ratnik 1.1
9     %prep
10     %setup -q -n %n-%{realversion}
11 elmer 1.6 %patch0 -p1
12    
13 ratnik 1.1 %build
14    
15     # CC C compiler command
16     # CFLAGS C compiler flags
17     # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
18     # nonstandard directory <lib dir>
19     # CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
20     # headers in a nonstandard directory <include dir>
21     # CPP C preprocessor
22    
23 ratnik 1.2 export CPPFLAGS="-I$OPENSSL_ROOT/include -I$DB4_ROOT/include -I$CYRUS_SASL_ROOT/include"
24     export LDFLAGS="-L$OPENSSL_ROOT/lib -L$DB4_ROOT/lib -L$CYRUS_SASL_ROOT/lib -L%{_builddir}/%n-%{realversion}/sasl2lib"
25     echo $CPPFLAGS
26 ratnik 1.1
27 eulisse 1.11 ./configure --prefix=%i --with-cyrus-sasl --with-tls --disable-static
28 ratnik 1.1 make depend
29     make
30     %install
31     make install
32 eulisse 1.11 # Read documentation online.
33     rm -rf %i/man