packages: php-adldap/php-adldap.spec (NEW) - new (deps by php.req)

glen glen at pld-linux.org
Mon Jan 4 17:33:31 CET 2010


Author: glen                         Date: Mon Jan  4 16:33:31 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new (deps by php.req)

---- Files affected:
packages/php-adldap:
   php-adldap.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-adldap/php-adldap.spec
diff -u /dev/null packages/php-adldap/php-adldap.spec:1.1
--- /dev/null	Mon Jan  4 17:33:31 2010
+++ packages/php-adldap/php-adldap.spec	Mon Jan  4 17:33:26 2010
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+Summary:	LDAP Authentication with PHP for Active Directory
+Name:		php-adldap
+Version:	3.3.1
+Release:	1
+License:	LGPL
+Group:		Development/Languages/PHP
+Source0:	http://dl.sourceforge.net/adldap/adLDAP_%{version}.zip
+# Source0-md5:	31d0153a734c5470bcf08ac81daf62c6
+URL:		http://adldap.sourceforge.net/
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	php-bcmath
+Requires:	php-common >= 4:5.0
+Requires:	php-ldap
+Requires:	php-pcre
+Requires:	php-xml
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+adLDAP is a PHP class that provides LDAP authentication and
+integration with Active Directory.
+
+Intelligent Active Directory integration with PHP was a holy grail for
+most intranet developers for a long time. This project is really to
+help others with getting over the same hurdles that we've experienced
+in getting the whole LDAP SSL Active Directory puzzle working natively
+on Linux.
+
+Given the varied nature of organisations and sites, adLDAP may not be
+_your_ complete solution, but it should be a very sound starting
+point. LDAP isn't overly friendly on first glance, and it's a steep
+learning curve made alot worse when coupled with Microsoft's seemingly
+unending army of gotcha's.
+
+The information you can retrieve from Active Directory is as useful as
+you make it. If you don't fill out all their account information
+there's not really going to be much to query.
+
+%prep
+%setup -q -n adLDAP
+mv LICEN{C,S}E.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+
+cp -a adLDAP.php $RPM_BUILD_ROOT%{php_data_dir}
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt CHANGELOG.txt
+%{php_data_dir}/adLDAP.php
+%{_examplesdir}/%{name}-%{version}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/01/04 16:33:26  glen
+- new (deps by php.req)
================================================================


More information about the pld-cvs-commit mailing list