Commit 5a46a6b6 authored by Kevin Deldycke's avatar Kevin Deldycke

First release


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7009 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d8011ca6
%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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment