[Erp5-report] r8035 - in /spec/mandriva/2006.0/zope-ZMySQLDDA: ./ zope-ZMySQLDDA.spec

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 19 17:42:37 CEST 2006


Author: kevin
Date: Mon Jun 19 17:42:35 2006
New Revision: 8035

URL: http://svn.erp5.org?rev=8035&view=rev
Log:
Commit zope-ZMySQLDDA-2.0.9-1mdk spec files and patches

Added:
    spec/mandriva/2006.0/zope-ZMySQLDDA/
    spec/mandriva/2006.0/zope-ZMySQLDDA/zope-ZMySQLDDA.spec   (with props)

Added: spec/mandriva/2006.0/zope-ZMySQLDDA/zope-ZMySQLDDA.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/zope-ZMySQLDDA/zope-ZMySQLDDA.spec?rev=8035&view=auto
==============================================================================
--- spec/mandriva/2006.0/zope-ZMySQLDDA/zope-ZMySQLDDA.spec (added)
+++ spec/mandriva/2006.0/zope-ZMySQLDDA/zope-ZMySQLDDA.spec Mon Jun 19 17:42:35 2006
@@ -1,0 +1,65 @@
+%define product   ZMySQLDDA
+%define version   2.0.9
+%define release   1
+
+%define zope_home %{_prefix}/lib/zope
+%define software_home %{zope_home}/lib/python
+
+Summary:   The deferred version of ZMySQLDA zope product.
+Name:      zope-%{product}
+Version:   %{version}
+Release:   %mkrel %{release}
+License:   GPL
+Group:     System/Servers
+Source:    %{product}-%{version}.tar.bz2
+URL:       http://svn.erp5.org/erp5/trunk/products/ZMySQLDDA
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
+BuildArch: noarch
+Requires:  zope-ZMySQLDA zope MySQL-python
+
+#----------------------------------------------------------------------
+%description
+This Zope Product is a deferred of ZMySQLDA and follows the same API.
+
+The main difference with ZMySQLDA is that the execution
+of SQL expressions is deferred and executed during the Zope
+commit time rather than immediately. This allows for example
+to group INSERT and DELETE statements in a very short amount of
+time, which reduces risks of lock. It also allows to use
+MyISAM tables without raising useless exception messages related
+to the non transactional nature of MyISAM.
+
+#----------------------------------------------------------------------
+%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, zope, zope, 0755)
+%doc %{product}/CHANGES.txt %{product}/DEPENDENCIES.txt %{product}/README.txt %{product}/VERSION.txt
+%{software_home}/Products/*
+
+#----------------------------------------------------------------------
+%changelog
+* Tue May 02 2006 Kevin Deldycke <kevin at nexedi.com> 2.0.9-1mdk
+- Initial build

Propchange: spec/mandriva/2006.0/zope-ZMySQLDDA/zope-ZMySQLDDA.spec
------------------------------------------------------------------------------
    svn:executable = *




More information about the Erp5-report mailing list