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

Comparing COMP/CMSDIST/python-ldap.spec (file contents):
Revision 1.1 by ratnik, Thu Jul 10 20:30:34 2008 UTC vs.
Revision 1.4 by elmer, Thu May 7 20:22:31 2009 UTC

# Line 1 | Line 1
1   ### RPM external python-ldap 2.3.5
2   Source: http://voxel.dl.sourceforge.net/sourceforge/python-ldap/python-ldap-%{realversion}.tar.gz
3 + Patch0: python-ldap-2.3.5-gcc44
4   Requires: python
5 + Requires: openssl
6   Requires: openldap
7  
8   %prep
9   %setup -q -n %n-%{realversion}
10   pwd
11 + %patch0 -p1
12 +
13   %build
14   pwd
15 < perl -p -i -e 's|/usr/local/openldap-2.3/|$ENV{OPENLDAP_ROOT}/|; s|(library_dirs = .*)|$1 /usr/lib/sasl2|;' setup.cfg
15 >
16 > mkdir -p sasl2lib
17 > ln -s /usr/lib/libsasl2.so.2.0.19 sasl2lib/libsasl2.so
18 >
19 > perl -p -i -e 's|/usr/local/openldap-2.3/|$ENV{OPENLDAP_ROOT}/|; s|(library_dirs = .*)|$1 /usr/lib/sasl2 %{_builddir}/%n-%{realversion}/sasl2lib $ENV{OPENSSL_ROOT}/lib|;' setup.cfg
20   python setup.py build
21   %install
22   python setup.py install --prefix=%i
# Line 23 | Line 31 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
31   <Environment name=PYTHON_LDAP_BASE default="%i"></Environment>
32   <Environment name=PYTHON_LDAP_PYPATH default="$PYTHON_LDAP_BASE/lib/python2.4/site-packages"></Environment>
33   </Client>
34 + <use name=openssl>
35 + <use name=openldap>
36   <use name=python>
37   <Runtime name=PYTHONPATH value="$PYTHON_LDAP_PYPATH" type=path>
38   </Tool>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines