File erp5-SOAPSupport.spec of Package erp5-SOAPSupport
%define product SOAPSupport
%define version 0.6
%define release 2
%define zope_home %{_prefix}/lib/zope
%define software_home %{zope_home}/lib/python
Summary: Custom version for ERP5 of the official SOAPSupport Zope product
Name: erp5-%{product}
Version: %{version}
Release: %{release}
License: GPL
Group: System/Servers
Source: %{product}-%{version}.tar.bz2
Patch0: SOAPSupport-0.6-nxd.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: erp5-zope python-soap
%description
Simple SOAP-Support for Zope.
%prep
%setup -c
%patch0 -p1
%build
%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}/%{software_home}/Products
%{__cp} -a * %{buildroot}%{software_home}/Products/
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(0644, zope, zope, 0755)
%{software_home}/Products/*
#----------------------------------------------------------------------
%changelog
* Thu May 10 2007 Yoshinori Okuji <yo@nexedi.com> 0.6-1mdk
- Initial version