ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/openldap.spec
(Generate patch)

Comparing COMP/CMSDIST/openldap.spec (file contents):
Revision 1.3 by ratnik, Thu Aug 7 13:04:38 2008 UTC vs.
Revision 1.9 by eulisse, Tue Aug 24 10:28:01 2010 UTC

# Line 1 | Line 1
1   ### RPM external openldap 2.3.39
2   ## INITENV +PATH LD_LIBRARY_PATH %i/lib
3   Source: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20071118.tgz
4 + Patch0: openldap-2.3.39-gcc44
5   Requires: openssl db4
6   #cyrus-sasl
7 < Provides: libsasl2.so.2
7 > Provides: libsasl2.so.2 libsasl2.so.2()(64bit)
8  
9   #http://www.openssl.org/source/%n-%realversion.tar.gz
10  
11   %prep
12   %setup -q -n %n-%{realversion}
13   pwd
14 + %patch0 -p1
15 +
16   %build
17  
18   pwd
19  
20   # Fix missing sasl2 library link on 64-bit SLC4:
21 <
22 < mkdir -p sasl2lib
23 < ln -s /usr/lib/libsasl2.so.2.0.19 sasl2lib/libsasl2.so
21 > case %cmsplatf in
22 >   slc*)
23 >        mkdir -p sasl2lib
24 >        ln -s /usr/lib/libsasl2.so.2.0.19 sasl2lib/libsasl2.so
25 >   ;;
26 > esac
27  
28   #  CC          C compiler command
29   #  CFLAGS      C compiler flags
# Line 38 | Line 44 | make depend
44   make
45   %install
46   make install
41
42 # SCRAM ToolBox toolfile
43 mkdir -p %i/etc/scram.d
44 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
45 <doc type=BuildSystem::ToolDoc version=1.0>
46 <Tool name=%n version=%v>
47 <Client>
48 <Environment name=OPENLDAP_BASE default="%i"></Environment>
49 <Environment name=LIBDIR default="$OPENLDAP_BASE/lib"></Environment>
50 </Client>
51 </Tool>
52 EOF_TOOLFILE
53
54 %post
55 %{relocateConfig}etc/scram.d/%n
56

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines