SPECS: perl-Mozilla-LDAP.spec - updated to 1.5
qboosh
qboosh at pld-linux.org
Wed Dec 20 11:20:23 CET 2006
Author: qboosh Date: Wed Dec 20 10:20:23 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 1.5
---- Files affected:
SPECS:
perl-Mozilla-LDAP.spec (1.32 -> 1.33)
---- Diffs:
================================================================
Index: SPECS/perl-Mozilla-LDAP.spec
diff -u SPECS/perl-Mozilla-LDAP.spec:1.32 SPECS/perl-Mozilla-LDAP.spec:1.33
--- SPECS/perl-Mozilla-LDAP.spec:1.32 Sun Nov 19 10:46:04 2006
+++ SPECS/perl-Mozilla-LDAP.spec Wed Dec 20 11:20:18 2006
@@ -7,14 +7,16 @@
Summary: PerLDAP - Mozilla::LDAP perl modules
Summary(pl): PerLDAP - moduły perla Mozilla::LDAP
Name: perl-Mozilla-LDAP
-Version: 1.4.1
-Release: 14
+Version: 1.5
+Release: 1
License: MPL 1.1
Group: Development/Languages/Perl
-Source0: http://ftp.mozilla.org/pub/mozilla.org/directory/perldap/perldap-%{version}.tar.gz
-# Source0-md5: 39a784c94f6fbed4682f681cd2f183fa
+Source0: ftp://ftp.mozilla.org/pub/mozilla.org/directory/perldap/releases/%{version}/perl-mozldap-%{version}.tar.gz
+# Source0-md5: 16dfa7e7b3ea2eef496cd4fe920ac151
URL: http://www.mozilla.org/directory/perldap.html
BuildRequires: mozldap-devel >= 6.0
+BuildRequires: nspr-devel >= 4.0
+BuildRequires: nss-devel >= 3.0
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: sed >= 4.0
@@ -38,24 +40,28 @@
ułatwia przeszukiwanie, usuwanie i modyfikowanie pozycji.
%prep
-%setup -q -n perldap-%{version}
+%setup -q -n perl-mozldap-%{version}
-%{__sed} -i -e 's@"lib"@"%{_lib}"@' Makefile.PL
%{__sed} -i -e 's|/usr/bin/perl5|%{__perl}|' examples/*.pl
-rm -rf examples/CVS
%build
+export LDAPSDKDIR=/usr
+export LDAPSDKINCDIR=/usr/include/mozldap
+export LDAPSDKLIBDIR=%{_libdir}
+export LDAPSDKSSL=Y
+export LDAPPR=Y
+export NSPRDIR=/usr
+export NSPRINCDIR=/usr/include/nspr
+export NSPRLIBDIR=%{_libdir}
+export NSSDIR=/usr
+export NSSLIBDIR=%{_libdir}
%{__perl} Makefile.PL \
INSTALLDIRS=vendor \
- <<EOF
-%{_prefix}
-yes
-yes
--lldap60 -lssldap60 -lprldap60 -lssl3 -lpthread
-EOF
+# no option to pass libs to Makefile.PL, use LDLOADLIBS here
%{__make} \
- OPTIMIZE="%{rpmcflags} -I/usr/include/mozldap"
+ LDLOADLIBS="-lssldap60 -lprldap60 -lldap60 -lssl3 -lnss3 -lplc4 -lplds4 -lnspr4"
+ OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
@@ -92,6 +98,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33 2006/12/20 10:20:18 qboosh
+- updated to 1.5
+
Revision 1.32 2006/11/19 09:46:04 qboosh
- use mozldap 6.0, release 14
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-Mozilla-LDAP.spec?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list