[packages/wordpress-plugin-simple-ldap-login] new, version 1.4.0.5.1
glen
glen at pld-linux.org
Thu Feb 7 14:08:15 CET 2013
commit d8504a4ea5c2f36b26d16b5cfde93d855bff6745
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Feb 7 15:07:52 2013 +0200
new, version 1.4.0.5.1
wordpress-plugin-simple-ldap-login.spec | 50 +++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
diff --git a/wordpress-plugin-simple-ldap-login.spec b/wordpress-plugin-simple-ldap-login.spec
new file mode 100644
index 0000000..080a979
--- /dev/null
+++ b/wordpress-plugin-simple-ldap-login.spec
@@ -0,0 +1,50 @@
+%define plugin simple-ldap-login
+Summary: WordPress plugin to Authenticate WordPress usernames against LDAP
+Name: wordpress-plugin-%{plugin}
+Version: 1.4.0.5.1
+Release: 1
+License: GPL
+Group: Applications/WWW
+Source0: http://downloads.wordpress.org/plugin/simple-ldap-login.%{version}.zip
+# Source0-md5: c552fbfcd655936a0c6feccfa02643a6
+URL: http://wordpress.org/extend/plugins/simple-ldap-login/
+BuildRequires: rpmbuild(macros) >= 1.553
+BuildRequires: unzip
+Requires: php-adldap >= 3.3.2
+Requires: webapps
+Requires: webserver(php)
+Requires: wordpress >= 2.8
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define wp_root %{_datadir}/wordpress
+%define wp_content %{wp_root}/wp-content
+%define pluginsdir %{wp_content}/plugins
+%define plugindir %{pluginsdir}/%{plugin}
+
+%description
+Integrating WordPress with LDAP shouldn't be difficult. Now it isn't.
+Simple LDAP Login provides all of the features, none of the hassles.
+
+%prep
+%setup -qn %{plugin}
+%undos -f php,txt,phtml
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+%{__rm} $RPM_BUILD_ROOT%{plugindir}/readme.txt
+%{__rm} $RPM_BUILD_ROOT%{plugindir}/adLDAP.php
+rm -f $RPM_BUILD_ROOT%{plugindir}/debug*.list
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%dir %{plugindir}
+%{plugindir}/Simple-LDAP-Login-Admin.php
+%{plugindir}/Simple-LDAP-Login.php
+%{plugindir}/screenshot-2.png
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wordpress-plugin-simple-ldap-login.git/commitdiff/d8504a4ea5c2f36b26d16b5cfde93d855bff6745
More information about the pld-cvs-commit
mailing list