Summary(pt_BR): Um servidor de aplicações e um conjunto de ferramentas para construção de sites Web
Name: Zope
Version: 2.7.0
-%define sub_ver b2
-Release: 1.%{sub_ver}.1
+%define sub_ver b3
+Release: 3.%{sub_ver}.2
License: Zope Public License (ZPL)
Group: Networking/Daemons
Source0: http://www.zope.org/Products/%{name}/%{version}%{sub_ver}/%{version}%{sub_ver}/%{name}-%{version}-%{sub_ver}.tgz
-# Source0-md5: a8f7f3ba81c4f50dc2d3b61e02f0fb45
+# Source0-md5: 49d981bb35c33fda6d53b438fb9c9ad7
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.logrotate
Source6: %{name}-runzope
Source7: %{name}-zopectl
Source8: %{name}-installzopeproduct
-Patch0: %{name}-python-2.3.2.patch
-Patch1: %{name}-default_config.patch
-Patch2: %{name}-instance_paths.patch
+Patch0: %{name}-default_config.patch
+Patch1: %{name}-instance_paths.patch
URL: http://www.zope.org/
-BuildRequires: python-devel >= 2.2.3
-BuildRequires: perl
+BuildRequires: python-devel >= 2.3.2
+BuildRequires: perl-base
PreReq: rc-scripts
Requires(pre): /usr/bin/getgid
Requires(pre): /bin/id
Requires(postun): /usr/sbin/groupdel
Requires(post,preun): /sbin/chkconfig
Requires: logrotate
-Requires: python >= 2.2.3
-Requires: python-modules >= 2.2.3
-Requires: python-libs >= 2.2.3
+Requires: python >= 2.3.2
+Requires: python-modules >= 2.3.2
+Requires: python-libs >= 2.3.2
+Requires: expat >= 1.95.7
+Requires: python-PyXML >= 0.8.3
%pyrequires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n %{name}-%{version}-%{sub_ver}
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
perl -pi -e "s|data_dir\s+=\s+.*?join\(INSTANCE_HOME, 'var'\)|data_dir=INSTANCE_HOME|" lib/python/Globals.py
%attr(755,root,root) %{_sbindir}/*
%{_libdir}/zope
%attr(771,root,root) %dir /var/run/zope
-%attr(771,root,root) %dir /var/lib/zope
-%attr(1771,root,zope) %dir /var/lib/zope/main
+%attr(751,root,zope) %dir /var/lib/zope
+%attr(751,root,zope) %dir /var/lib/zope/main
%attr(771,root,root) %dir /var/log/zope
%attr(771,root,zope) %dir /var/log/zope/main
%attr(640,root,root) %dir /etc/zope