From 5a46a6b65751f138fa809a5bbfb1da196969b630 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Tue, 2 May 2006 11:48:18 +0000 Subject: [PATCH] First release git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7009 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/spec/ERP5Subversion.spec | 58 +++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 product/ERP5/spec/ERP5Subversion.spec diff --git a/product/ERP5/spec/ERP5Subversion.spec b/product/ERP5/spec/ERP5Subversion.spec new file mode 100755 index 0000000000..953451c33e --- /dev/null +++ b/product/ERP5/spec/ERP5Subversion.spec @@ -0,0 +1,58 @@ +%define product ERP5Subversion +%define version 0 +%define release 0 + +%define zope_home %{_prefix}/lib/zope +%define software_home %{zope_home}/lib/python + +Summary: A zope product to integrate SVN with ERP5 to make developer life easier. +Name: zope-%{product} +Version: %{version} +Release: %mkrel %{release} +License: GPL +Group: System/Servers +URL: http://www.erp5.org +Source0: %{product}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir +BuildArch: noarch +Requires: erp5-zope pysvn + +#---------------------------------------------------------------------- +%description +This zope product provides a Subversion interface to ERP5. + +#---------------------------------------------------------------------- +%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}/VERSION.txt %{product}/README.txt +%{software_home}/Products/* + +#---------------------------------------------------------------------- +%changelog +* Tue May 02 2006 Kevin Deldycke <kevin@nexedi.com> 0 +- Initial release -- 2.30.9