[Erp5-report] r8017 - /spec/mandriva/2006.0/zope-PluginRegistry/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 19 17:40:06 CEST 2006
Author: kevin
Date: Mon Jun 19 17:40:01 2006
New Revision: 8017
URL: http://svn.erp5.org?rev=8017&view=rev
Log:
Commit zope-PluginRegistry-1.0-1mdk spec files and patches
Added:
spec/mandriva/2006.0/zope-PluginRegistry/
spec/mandriva/2006.0/zope-PluginRegistry/zope-PluginRegistry.spec
Added: spec/mandriva/2006.0/zope-PluginRegistry/zope-PluginRegistry.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/zope-PluginRegistry/zope-PluginRegistry.spec?rev=8017&view=auto
==============================================================================
--- spec/mandriva/2006.0/zope-PluginRegistry/zope-PluginRegistry.spec (added)
+++ spec/mandriva/2006.0/zope-PluginRegistry/zope-PluginRegistry.spec Mon Jun 19 17:40:01 2006
@@ -1,0 +1,61 @@
+%define product PluginRegistry
+%define version 1.0
+%define release 1
+
+%define zope_home %{_prefix}/lib/zope
+%define software_home %{zope_home}/lib/python
+
+Summary: This Zope product defines a fully-pluggable user folder, intended for use in all sites
+Name: zope-%{product}
+Version: %{version}
+Release: %mkrel %{release}
+License: ZPL
+Group: System/Servers
+URL: http://www.zope.org/Members/urbanape/PluginRegistry
+Source0: %{product}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
+BuildArch: noarch
+Requires: zope
+
+#----------------------------------------------------------------------
+%description
+PluggableAuthService is a highly extensible replacement user folder for
+Zope 2. It can manage arbitrary user, group, role, and property
+definitions with ease, and works best in very heterogeneous environments
+(users stored in MySQL, groups in LDAP, properties from the filesystem, etc).
+
+For authentication, it supports HTTP Basic Auth, Cookie Auth, Domain Auth,
+and can be extended to support just about any other mechanism.
+
+#----------------------------------------------------------------------
+%prep
+%setup -c
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__mkdir_p} %{buildroot}/%{software_home}/Products
+%{__cp} -a * %{buildroot}%{software_home}/Products/
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
+ service zope restart
+fi
+
+%postun
+if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
+ service zope restart
+fi
+
+%files
+%defattr(0644, root, root, 0755)
+%{software_home}/Products/*
+
+#----------------------------------------------------------------------
+%changelog
+* Wed Jan 18 2006 Kevin Deldycke <kevin at nexedi.com> 1.0-1mdk
+- Initial release
More information about the Erp5-report
mailing list