SPECS: perl-Mozilla-LDAP.spec - build with mozldap, release 11

qboosh qboosh at pld-linux.org
Sat Jun 3 17:27:11 CEST 2006


Author: qboosh                       Date: Sat Jun  3 15:27:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build with mozldap, release 11

---- Files affected:
SPECS:
   perl-Mozilla-LDAP.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/perl-Mozilla-LDAP.spec
diff -u SPECS/perl-Mozilla-LDAP.spec:1.27 SPECS/perl-Mozilla-LDAP.spec:1.28
--- SPECS/perl-Mozilla-LDAP.spec:1.27	Sun May 21 09:33:09 2006
+++ SPECS/perl-Mozilla-LDAP.spec	Sat Jun  3 17:27:05 2006
@@ -2,30 +2,22 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-%bcond_without	seamonkey	# build without seamonkey-devel
 #
 %include	/usr/lib/rpm/macros.perl
 Summary:	PerLDAP - Mozilla::LDAP perl modules
 Summary(pl):	PerLDAP - moduły perla Mozilla::LDAP
 Name:		perl-Mozilla-LDAP
 Version:	1.4.1
-Release:	10
+Release:	11
 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
-%if %{with seamonkey}
-BuildRequires:	seamonkey-devel >= 1.0.1-2
-%else
-BuildRequires:	mozilla-devel >= 1.7.13-3
-%endif
+URL:		http://www.mozilla.org/directory/perldap.html
+BuildRequires:	mozldap-devel >= 5.17
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-%if %{with seamonkey}
-Requires:	seamonkey-libs = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides seamonkey-libs)
-%else
-Requires:	mozilla-libs = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-libs)
-%endif
+Requires:	mozldap >= 5.17
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -54,16 +46,11 @@
 /usr
 yes
 yes
-%{!?with_seamonkey:-L/usr/%{_lib}/mozilla}%{?with_seamonkey:-L/usr/%{_lib}/seamonkey} -lldap50 -lssldap50 -lprldap50 -lssl3 -lpthread
+-lldap50 -lssldap50 -lprldap50 -lssl3 -lpthread
 EOF
 
 %{__make} \
-	OPTIMIZE="%{rpmcflags} \
-%if %{with seamonkey}
-	-I/usr/include/seamonkey/ldap"
-%else
-	-I/usr/include/mozilla/ldap"
-%endif
+	OPTIMIZE="%{rpmcflags} -I/usr/include/mozldap"
 
 %{?with_tests:%{__make} test}
 
@@ -100,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/06/03 15:27:05  qboosh
+- build with mozldap, release 11
+
 Revision 1.27  2006/05/21 07:33:09  qboosh
 - honour lib64
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Mozilla-LDAP.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list