[Erp5-report] r8048 - in /spec/mandriva/2006.0/zope-ZopeTestCase: ./ zope-ZopeTestCase.spec

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 19 17:44:01 CEST 2006


Author: kevin
Date: Mon Jun 19 17:43:59 2006
New Revision: 8048

URL: http://svn.erp5.org?rev=8048&view=rev
Log:
Commit zope-ZopeTestCase-0.9.0-2mdk spec files and patches

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

Added: spec/mandriva/2006.0/zope-ZopeTestCase/zope-ZopeTestCase.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/zope-ZopeTestCase/zope-ZopeTestCase.spec?rev=8048&view=auto
==============================================================================
--- spec/mandriva/2006.0/zope-ZopeTestCase/zope-ZopeTestCase.spec (added)
+++ spec/mandriva/2006.0/zope-ZopeTestCase/zope-ZopeTestCase.spec Mon Jun 19 17:43:59 2006
@@ -1,0 +1,60 @@
+%define product   ZopeTestCase
+%define version   0.9.0
+%define release   2
+
+%define zope_home %{_prefix}/lib/zope
+%define software_home %{zope_home}/lib/python
+
+Summary:   A unit test framework for Zope
+Name:      zope-%{product}
+Version:   %{version}
+Release:   %mkrel %{release}
+License:   GPL
+Group:     Development/Python
+Source:    %{product}-%{version}.tar.bz2
+URL:       http://zope.org/Members/shh/ZopeTestCase
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
+BuildArch: noarch
+Requires:  zope >= 2.5
+
+#----------------------------------------------------------------------
+%description
+This products allows to implement unit test with Zope. This also
+support functionnal testing.
+
+#----------------------------------------------------------------------
+%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 5 2006 Kevin Deldycke <kevin at nexedi.com> 0.9.0-2mdk
+- Update spec file to follow new mandrake .spec file rules
+
+* Wed Aug 18 2004 Sebastien Robin <seb at nexedi.com> 0.9.0-1mdk
+- Create the spec file

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




More information about the Erp5-report mailing list