# File: Zope.spec
#
####
%define pythondir python%__python_version
%define release alt1
%def_with unicode
%if_without unicode
%define release alt1.latin1
%endif
%define python_binary /usr/bin/python%__python_version
Name: Zope
Version: 2.7.7
Release: %release
License: Zope Public License (ZPL)
Url: http://www.zope.org/
PreReq: python = %__python_version
BuildRequires: python-devel = %__python_version
AutoReq: yes, noshell
Source0: Zope-%version-final.tgz
Source1: Zope-utils.tar.gz
Source3: Zope-doc.tar.gz
Source4: ZopeBook-2_6.pdf
Patch2: Zope-2.7.6-unicode.patch
Patch3: Zope-2.7.6-fsdump.patch
Patch4: Zope-2.7.2-export.patch
Patch6: Zope-management.patch
Patch7: Zope-skel.patch
Patch8: Zope-mkzopeinstance.patch
Patch9: Zope-2.7.4-whrandom.patch
# ready
#----------------------------------------------------------------------
Summary: Zope common installation
Summary(ru_RU.KOI8-R): Zope - \xd4\xc9\xd0\xc9\xde\xce\xd9\xca \xd7\xc1\xd2\xc9\xc1\xce\xd4 \xd5\xd3\xd4\xc1\xce\xcf\xd7\xcb\xc9
Group: System/Servers
Requires: python = %__python_version
Requires: Zope-ZServer = %version-%release
Requires: Zope-ZUtils = %version-%release
%description
This package contains modules used by variations of Zope Application Server:
ZServer and PCGI
%description -l ru_RU.KOI8-R
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcd\xcf\xc4\xd5\xcc\xc9 \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xcd\xc5\xd9\xc5 \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xcd\xc9 \xd7\xc1\xd2\xc9\xc1\xce\xd4\xc1\xcd\xc9 \xd3\xc5\xd2\xd7\xc5\xd2\xc1 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca
Zope : ZServer & PCGI.
#----------------------------------------------------------------------
%package Modules
Summary: Zope modules used by ZServer and PCGI
Summary(ru_RU.KOI8-R): Zope - \xcd\xcf\xc4\xd5\xcc\xc9, \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc5\xcd\xd9\xc5 ZServer \xc9 PCGI
Group: System/Servers/ZProducts
Requires: python = %__python_version
Requires: Zope-core = %version-%release
Requires: Zope-ZODB = %version-%release
Requires: Zope-ZPublisher = %version-%release
Requires: Zope-StructuredText = %version-%release
Requires: Zope-reStructuredText = %version-%release
Requires: Zope-DateTime = %version-%release
Requires: Zope-RestrictedPython = %version-%release,
Requires: Zope-DocumentTemplate = %version-%release
Requires: Zope-TAL = %version-%release
Obsoletes: ZHotfix_2002-06-14
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: CrayFIX
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
%description Modules
This package contains modules used by variations of Zope Application Server:
ZServer and PCGI
%description Modules -l ru_RU.KOI8-R
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcd\xcf\xc4\xd5\xcc\xc9 \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xcd\xc5\xd9\xc5 \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xcd\xc9 \xd7\xc1\xd2\xc9\xc1\xce\xd4\xc1\xcd\xc9 \xd3\xc5\xd2\xd7\xc5\xd2\xc1 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca
Zope : ZServer & PCGI.
#----------------------------------------------------------------------
%package core
Summary: Libraries used by Zope and ZODB
Summary(ru_RU.KOI8-R): \xe2\xc9\xc2\xcc\xc9\xcf\xd4\xc5\xcb\xc9, \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc5\xcd\xd9\xc5 Zope & ZODB.
Group: System/Servers/ZProducts
Requires: python = %__python_version
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
%description core
Package contains modules used by Zope and ZODB -- e.g. ExtensionClass,
BTree.
%description -l ru_RU.KOI8-R core
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcd\xcf\xc4\xd5\xcc\xc9, \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc5\xcd\xd9\xc5 ZODB & ZOPE, \xd4\xc1\xcb\xc9\xc5 \xcb\xc1\xcb ExtensionClass,
BTree \xc9 \xc4\xd2.
#----------------------------------------------------------------------
%package ZODB
Requires: python = %__python_version, Zope-core = %version-%release
Summary: ZODB and BTrees - object-oriented database ZODB
Summary(ru_RU.KOI8-R): ZODB and BTrees - \xcf\xc2\xdf\xc5\xcb\xd4\xce\xcf-\xcf\xd2\xc9\xc5\xce\xd4\xc9\xd2\xcf\xd7\xc1\xce\xce\xc1\xd1 \xc2\xc1\xda\xc1 \xc4\xc1\xce\xce\xd9\xc8 ZODB
Group: System/Servers
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
%description ZODB
This package contains object-oriented database serving as Zope's base.
While package is not compatible with Standalone ZODB, it can be used
separately.
ZODB is an object-oriented datanase allowing to store objects and keep
relational integrity by means of versions mechanisms and transactions
with rollback.
%description -l ru_RU.KOI8-R ZODB
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcf\xc2\xdf\xc5\xcb\xd4\xce\xcf-\xcf\xd2\xc9\xc5\xce\xd4\xc9\xd2\xcf\xd7\xc1\xce\xce\xd5\xc0 \xc2\xc1\xda\xd5 \xc4\xc1\xce\xce\xd9\xc8, \xce\xc1 \xcf\xd3\xce\xcf\xd7\xc5 \xcb\xcf\xd4\xcf\xd2\xcf\xca
\xd2\xc1\xc2\xcf\xd4\xc1\xc5\xd4 Zope. \xe8\xcf\xd4\xd1 \xd0\xc1\xcb\xc5\xd4 \xce\xc5 \xd0\xcf\xcc\xce\xcf\xd3\xd4\xd8\xc0 \xd3\xcf\xd7\xcd\xc5\xd3\xd4\xc9\xcd \xd3 Standalone ZODB, \xcf\xce \xcd\xcf\xd6\xc5\xd4
\xc9\xd3\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xd4\xd8\xd3\xd1 \xd3\xc1\xcd\xcf\xd3\xd4\xcf\xd1\xd4\xc5\xcc\xd8\xce\xcf.
ZODB - \xcf\xc2\xdf\xc5\xcb\xd4\xce\xcf-\xcf\xd2\xc9\xc5\xce\xd4\xc9\xd2\xcf\xd7\xc1\xce\xce\xc1\xd1 \xc2\xc1\xda\xc1 \xc4\xc1\xce\xce\xd9\xc8, \xcf\xc2\xc5\xd3\xd0\xc5\xde\xc9\xd7\xc1\xc0\xdd\xc1\xd1 \xd7\xcf\xda\xcd\xcf\xd6\xce\xcf\xd3\xd4\xd8
\xc8\xd2\xc1\xce\xc5\xce\xc9\xd1 \xcf\xc2\xdf\xc5\xcb\xd4\xcf\xd7 \xc9 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xc9 \xc3\xc5\xcc\xcf\xd3\xd4\xce\xcf\xd3\xd4\xc9 \xcf\xd4\xce\xcf\xdb\xc5\xce\xc9\xca \xcd\xc5\xd6\xc4\xd5 \xce\xc9\xcd\xc9 \xd0\xcf\xd3\xd2\xc5\xc4\xd3\xd4\xd7\xcf\xcd
\xcd\xc5\xc8\xc1\xce\xc9\xda\xcd\xcf\xd7 \xd7\xc5\xd2\xd3\xc9\xca \xc9 \xcf\xd4\xcd\xc5\xce\xd1\xc5\xcd\xd9\xc8 \xd4\xd2\xc1\xce\xda\xc1\xcb\xc3\xc9\xca.
#----------------------------------------------------------------------
%package ZPublisher
Requires: python = %__python_version, Zope-core = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: ZPublisher - Zope query proceeding
Summary(ru_RU.KOI8-R): ZPublisher - \xcf\xc2\xd2\xc1\xc2\xcf\xd4\xcb\xc1 \xda\xc1\xd0\xd2\xcf\xd3\xcf\xd7 \xcb Zope
Group: System/Servers
%description ZPublisher
Package contains REQUEST and RESPONSE classes and means to work with them
used by Zope during request processing.
%description -l ru_RU.KOI8-R ZPublisher
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcf\xd0\xd2\xc5\xc4\xc5\xcc\xc5\xce\xc9\xd1 \xcb\xcc\xc1\xd3\xd3\xcf\xd7 REQUEST, RESPONSE \xc9 \xd3\xd2\xc5\xc4\xd3\xd4\xd7 \xd2\xc1\xc2\xcf\xd4\xd9 \xd3
\xce\xc9\xcd\xc9, \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc5\xcd\xd9\xc5 Zope \xd0\xd2\xc9 \xcf\xc2\xd2\xc1\xc2\xcf\xd4\xcb\xc5 \xda\xc1\xd0\xd2\xcf\xd3\xcf\xd7.
#----------------------------------------------------------------------
%package StructuredText
Requires: python = %__python_version, Zope-core = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: StructuredText - automatic text markup
Summary(ru_RU.KOI8-R): StructuredText - \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xc1\xd1 \xd2\xc1\xda\xcd\xc5\xd4\xcb\xc1 \xd4\xc5\xcb\xd3\xd4\xc1
Group: System/Servers/ZProducts
%description StructuredText
Package provides means to automatically markup plain text with HTML tags,
while approximately preserving text layout: paragraphs, headers and lists
are detected.
Links, tables and italics/underline/bold font are also accessible.
%description -l ru_RU.KOI8-R StructuredText
\xf0\xc1\xcb\xc5\xd4 \xd0\xd2\xc5\xc4\xcf\xd3\xd4\xc1\xd7\xcc\xd1\xc5\xd4 \xd7\xcf\xda\xcd\xcf\xd6\xce\xcf\xd3\xd4\xd8 \xd4\xc1\xcb\xcf\xca \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xcf\xca \xd2\xc1\xda\xcd\xc5\xd4\xcb\xc9 \xd4\xc5\xcb\xd3\xd4\xc1 \xd4\xc5\xc7\xc1\xcd\xc9
HTML, \xcb\xcf\xd4\xcf\xd2\xc1\xd1 \xd0\xd2\xc9\xcd\xc5\xd2\xce\xcf \xd3\xcf\xc8\xd2\xc1\xce\xd1\xc5\xd4 \xd7\xce\xc5\xdb\xce\xc9\xca \xd7\xc9\xc4 \xd4\xc5\xcb\xd3\xd4\xc1: \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xc9
\xd7\xd9\xc4\xc5\xcc\xd1\xc0\xd4\xd3\xd1 \xd0\xc1\xd2\xc1\xc7\xd2\xc1\xc6\xd9, \xda\xc1\xc7\xcf\xcc\xcf\xd7\xcb\xc9 \xdc\xcc\xc5\xcd\xc5\xce\xd4\xd9 \xd0\xc5\xd2\xc5\xde\xc9\xd3\xcc\xc5\xce\xc9\xca. \xf4\xc1\xcb\xd6\xc5 \xd0\xd2\xc5\xc4\xcf\xd3\xd4\xc1\xd7\xcc\xd1\xc5\xd4\xd3\xd1
\xd7\xcf\xda\xcd\xcf\xd6\xce\xcf\xd3\xd4\xd8 \xd7\xd3\xd4\xc1\xd7\xcb\xc9 \xd3\xd3\xd9\xcc\xcf\xcb, \xd4\xc1\xc2\xcc\xc9\xc3 \xc9 \xd7\xd9\xc4\xc5\xcc\xc5\xce\xc9\xd1 \xc6\xd2\xc1\xc7\xcd\xc5\xce\xd4\xcf\xd7 \xd4\xc5\xcb\xd3\xd4\xc1 \xce\xc1\xcb\xcc\xcf\xce\xcf\xcd,
\xd0\xcf\xc4\xde\xc5\xd2\xcb\xc9\xd7\xc1\xce\xc9\xc5\xcd \xc9 \xd6\xc9\xd2\xce\xd9\xcd \xdb\xd2\xc9\xc6\xd4\xcf\xcd.
#----------------------------------------------------------------------
%package reStructuredText
Requires: python = %__python_version, Zope-core = %version-%release
Summary: reStructuredText - automatic text markup (new)
Summary(ru_RU.KOI8-R): reStructuredText - \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xc1\xd1 \xd2\xc1\xda\xcd\xc5\xd4\xcb\xc1 \xd4\xc5\xcb\xd3\xd4\xc1
Group: System/Servers/ZProducts
%description reStructuredText
This is new generation of StructuredText - package provides means to
automatically markup plain text with HTML tags, while approximately
preserving text layout: paragraphs, headers and lists are detected.
Links, tables and italics/underline/bold font are also accessible.
%description -l ru_RU.KOI8-R StructuredText
\xfc\xd4\xcf \xce\xcf\xd7\xd9\xca \xd7\xc1\xd2\xc9\xc1\xce\xd4 StructuredText - \xd0\xc1\xcb\xc5\xd4\xc1, \xd0\xd2\xc5\xc4\xcf\xd3\xd4\xc1\xd7\xcc\xd1\xc0\xdd\xc5\xc7\xcf \xd7\xcf\xda\xcd\xcf\xd6\xce\xcf\xd3\xd4\xd8
\xd4\xc1\xcb\xcf\xca \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xcf\xca \xd2\xc1\xda\xcd\xc5\xd4\xcb\xc9 \xd4\xc5\xcb\xd3\xd4\xc1 \xd4\xc5\xc7\xc1\xcd\xc9 HTML, \xcb\xcf\xd4\xcf\xd2\xc1\xd1 \xd0\xd2\xc9\xcd\xc5\xd2\xce\xcf \xd3\xcf\xc8\xd2\xc1\xce\xd1\xc5\xd4
\xd7\xce\xc5\xdb\xce\xc9\xca \xd7\xc9\xc4 \xd4\xc5\xcb\xd3\xd4\xc1: \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xc9 \xd7\xd9\xc4\xc5\xcc\xd1\xc0\xd4\xd3\xd1 \xd0\xc1\xd2\xc1\xc7\xd2\xc1\xc6\xd9, \xda\xc1\xc7\xcf\xcc\xcf\xd7\xcb\xc9 \xdc\xcc\xc5\xcd\xc5\xce\xd4\xd9
\xd0\xc5\xd2\xc5\xde\xc9\xd3\xcc\xc5\xce\xc9\xca. \xf4\xc1\xcb\xd6\xc5 \xd0\xd2\xc5\xc4\xcf\xd3\xd4\xc1\xd7\xcc\xd1\xc5\xd4\xd3\xd1 \xd7\xcf\xda\xcd\xcf\xd6\xce\xcf\xd3\xd4\xd8 \xd7\xd3\xd4\xc1\xd7\xcb\xc9 \xd3\xd3\xd9\xcc\xcf\xcb, \xd4\xc1\xc2\xcc\xc9\xc3 \xc9
\xd7\xd9\xc4\xc5\xcc\xc5\xce\xc9\xd1 \xc6\xd2\xc1\xc7\xcd\xc5\xce\xd4\xcf\xd7 \xd4\xc5\xcb\xd3\xd4\xc1 \xce\xc1\xcb\xcc\xcf\xce\xcf\xcd, \xd0\xcf\xc4\xde\xc5\xd2\xcb\xc9\xd7\xc1\xce\xc9\xc5\xcd \xc9 \xd6\xc9\xd2\xce\xd9\xcd \xdb\xd2\xc9\xc6\xd4\xcf\xcd.
#----------------------------------------------------------------------
%package TAL
Requires: python = %__python_version, Zope-core = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: TAL - XML template engine
Summary(ru_RU.KOI8-R): TAL - \xcf\xc2\xd2\xc1\xc2\xcf\xd4\xcb\xc1 \xdb\xc1\xc2\xcc\xcf\xce\xcf\xd7 XML
Group: System/Servers/ZProducts
%description TAL
This package contains XML processing code which lets generate HTML code
described in special language. Unlike DTML (DocumentTemplate), TAL leans
toward template editing by visual means and demands consistency of HTML
document being formed.
%description -l ru_RU.KOI8-R TAL
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xd3\xd2\xc5\xc4\xd3\xd4\xd7\xc1 \xcf\xc2\xd2\xc1\xc2\xcf\xd4\xcb\xc9 XML-\xdb\xc1\xc2\xcc\xcf\xce\xcf\xd7 \xc9 \xd0\xcf\xda\xd7\xcf\xcc\xd1\xc5\xd4 \xc7\xc5\xce\xc5\xd2\xc9\xd2\xcf\xd7\xc1\xd4\xd8
HTML-\xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xd9, \xcf\xd0\xc9\xd3\xc1\xce\xce\xd9\xc5 \xce\xc1 \xd3\xd0\xc5\xc3\xc9\xc1\xcc\xd8\xce\xcf\xcd \xd1\xda\xd9\xcb\xc5. \xf7 \xcf\xd4\xcc\xc9\xde\xc9\xc5 \xcf\xd4 DTML
(DocumentTemplate), TAL \xcf\xd2\xc9\xc5\xce\xd4\xc9\xd2\xcf\xd7\xc1\xce \xce\xc1 \xd0\xcf\xc4\xc7\xcf\xd4\xcf\xd7\xcb\xd5 \xdb\xc1\xc2\xcc\xcf\xce\xcf\xd7 \xd3\xd2\xc5\xc4\xd3\xd4\xd7\xc1\xcd\xc9
\xd7\xc9\xda\xd5\xc1\xcc\xd8\xce\xcf\xc7\xcf \xd2\xc5\xc4\xc1\xcb\xd4\xc9\xd2\xcf\xd7\xc1\xce\xc9\xd1 \xc9 \xd4\xd2\xc5\xc2\xd5\xc5\xd4 \xd3\xcf\xc2\xcc\xc0\xc4\xc5\xce\xc9\xd1 \xc3\xc5\xcc\xcf\xd3\xd4\xce\xcf\xd3\xd4\xc9 \xc9 \xd0\xcf\xcc\xce\xcf\xd4\xd9
\xd3\xd4\xd2\xd5\xcb\xd4\xd5\xd2\xd9 \xc7\xc5\xce\xc5\xd2\xc9\xd2\xd5\xc5\xcd\xcf\xc7\xcf HTML-\xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1.
#----------------------------------------------------------------------
%package DateTime
Requires: python = %__python_version, Zope-core = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: Date and time representation
Summary(ru_RU.KOI8-R): DateTime - \xd0\xd2\xc5\xc4\xd3\xd4\xc1\xd7\xcc\xc5\xce\xc9\xc5 \xd7\xd2\xc5\xcd\xc5\xce\xc9 \xc9 \xc4\xc1\xd4\xd9
Group: System/Servers/ZProducts
%description DateTime
Package contains DateTime class whose objects represent time and date
and convert between widely used formats (e.g. RFC822).
%description -l ru_RU.KOI8-R DateTime
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcb\xcc\xc1\xd3\xd3 DateTime, \xcf\xc2\xdf\xc5\xcb\xd4\xd9 \xcb\xcf\xd4\xcf\xd2\xcf\xc7\xcf \xd3\xcc\xd5\xd6\xc1\xd4 \xc4\xcc\xd1 \xd0\xd2\xc5\xc4\xd3\xd4\xc1\xd7\xcc\xc5\xce\xc9\xd1
\xd7\xd2\xc5\xcd\xc5\xce\xc9 \xc9 \xc4\xc1\xd4\xd9 \xc9 \xd0\xd2\xc5\xc4\xcf\xd3\xd4\xc1\xd7\xcc\xd1\xc0\xd4 \xc6\xd5\xce\xcb\xc3\xc9\xc9, \xcf\xc2\xc5\xd3\xd0\xc5\xde\xc9\xd7\xc1\xc0\xdd\xc9\xc5 \xd0\xd2\xc5\xcf\xc2\xd2\xc1\xda\xcf\xd7\xc1\xce\xc9\xc5 \xc4\xc1\xd4\xd9 \xd7
\xcf\xc2\xdd\xc5\xd5\xd0\xcf\xd4\xd2\xc5\xc2\xc9\xd4\xc5\xcc\xd8\xce\xd9\xc5 \xc6\xcf\xd2\xcd\xc1\xd4\xd9 (\xd7 \xd4.\xde. RFC822).
#----------------------------------------------------------------------
%package RestrictedPython
Requires: python = %__python_version, Zope-core = %version-%release
Requires: Zope-RestrictedPython = %version-%release
Requires: Zope-DateTime = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: RestrictedPython for protected environments
Summary(ru_RU.KOI8-R): RestrictedPython - \xda\xc1\xdd\xc9\xdd\xc5\xce\xce\xd9\xca \xd0\xc9\xd4\xcf\xce
Group: System/Servers/ZProducts
%description RestrictedPython
RP allows to restrict interpreter's capabilities during some code fragments
execution and thus keep potentially dangerous constructs and/or subprograms
from being executed.
%description -l ru_RU.KOI8-R RestrictedPython
\xf0\xc1\xcb\xc5\xd4 \xd0\xcf\xda\xd7\xcf\xcc\xd1\xc5\xd4 \xcf\xc7\xd2\xc1\xce\xc9\xde\xc9\xd4\xd8 \xd7\xcf\xda\xcd\xcf\xd6\xce\xcf\xd3\xd4\xc9 \xc9\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xc1 Python \xce\xc1 \xce\xc5\xcb\xcf\xd4\xcf\xd2\xd9\xc8
\xc6\xd2\xc1\xc7\xcd\xc5\xce\xd4\xc1\xc8 \xcb\xcf\xc4\xc1 \xc9 \xce\xc5 \xc4\xcf\xd0\xd5\xd3\xd4\xc9\xd4\xd8 \xd7\xd9\xd0\xcf\xcc\xce\xc5\xce\xc9\xd1 \xd0\xcf\xd4\xc5\xce\xc3\xc9\xc1\xcc\xd8\xce\xcf \xcf\xd0\xc1\xd3\xce\xd9\xc8 \xcb\xcf\xce\xd3\xd4\xd2\xd5\xcb\xc3\xc9\xca
\xc9\xcc\xc9 \xd0\xcf\xc4\xd0\xd2\xcf\xc7\xd2\xc1\xcd\xcd.
#----------------------------------------------------------------------
%package DocumentTemplate
Requires: python = %__python_version, Zope-core = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: DocumentTemplate - DTML template engine
Summary(ru_RU.KOI8-R): DocumentTemplate - \xcf\xc2\xd2\xc1\xc2\xcf\xd4\xcb\xc1 DTML-\xdb\xc1\xc2\xcc\xcf\xce\xcf\xd7
Group: System/Servers/ZProducts
%description DocumentTemplate
This package contains DocumentTemplate module which allows to work with
DTML document templates. Template syntax is similar to HTML and has
language constructs like loop and conditional operators and exception
handling.
%description -l ru_RU.KOI8-R DocumentTemplate
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcd\xcf\xc4\xd5\xcc\xd8 DocumentTemplate, \xd0\xcf\xda\xd7\xcf\xcc\xd1\xc0\xdd\xc9\xca \xd2\xc1\xc2\xcf\xd4\xc1\xd4\xd8 \xd3
DTML-\xdb\xc1\xc2\xcc\xcf\xce\xc1\xcd\xc9 \xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xcf\xd7. \xf3\xc9\xce\xd4\xc1\xcb\xd3\xc9\xd3 \xdb\xc1\xc2\xcc\xcf\xce\xcf\xd7 \xd3\xc8\xcf\xc4\xc5\xce \xd3 \xd1\xda\xd9\xcb\xcf\xcd HTML \xc9
\xd0\xd2\xc5\xc4\xcf\xd3\xd4\xc1\xd7\xcc\xd1\xc5\xd4 \xcb\xcf\xce\xd3\xd4\xd2\xd5\xcb\xc3\xc9\xc9, \xd3\xc8\xcf\xc4\xce\xd9\xc5 \xd3 \xcf\xd0\xc5\xd2\xc1\xd4\xcf\xd2\xc1\xcd\xc9 \xc3\xc9\xcb\xcc\xcf\xd7, \xd5\xd3\xcc\xcf\xd7\xce\xd9\xc8 \xd7\xc5\xd4\xd7\xcc\xc5\xce\xc9\xca \xc9
\xcf\xc2\xd2\xc1\xc2\xcf\xd4\xcb\xc9 \xc9\xd3\xcb\xcc\xc0\xde\xc5\xce\xc9\xca.
#----------------------------------------------------------------------
%package Obsolete
Requires: python = %__python_version
Summary: Obsoleted zope modules
Summary(ru_RU.KOI8-R): \xf5\xd3\xd4\xc1\xd2\xc5\xd7\xdb\xc9\xc5 \xcd\xcf\xc4\xd5\xcc\xc9 Zope
Group: System/Servers
%description Obsolete
Obsoleted Modules for Zope
%description -l ru_RU.KOI8-R Obsolete
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcd\xcf\xc4\xd5\xcc\xc9, \xc4\xcc\xd1 \xcb\xcf\xd4\xcf\xd2\xd9\xc8 \xc5\xd3\xd4\xd8 \xc2\xcf\xcc\xc5\xc5 \xd3\xcf\xd7\xd2\xc5\xcd\xc5\xce\xce\xd9\xc5 \xc9 \xd2\xc1\xc2\xcf\xd4\xcf\xd3\xd0\xcf\xd3\xcf\xc2\xce\xd9\xc5
\xd7\xc5\xd2\xd3\xc9\xc9 \xd7 python23.
#----------------------------------------------------------------------
%package Testing
Requires: python = %__python_version, Zope-ZODB = %version-%release
Requires: Zope-ZPublisher = %version-%release
Summary: Testing environment for Zope components
Summary(ru_RU.KOI8-R): Testing - \xd3\xd2\xc5\xc4\xd3\xd4\xd7\xc1 \xd4\xc5\xd3\xd4\xc9\xd2\xcf\xd7\xc1\xce\xc9\xd1 \xcb\xcf\xcd\xd0\xcf\xce\xc5\xce\xd4 Zope
Group: System/Servers
%description Testing
Modules to carry out tests contained in Zope packages
%description -l ru_RU.KOI8-R Testing
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcd\xcf\xc4\xd5\xcc\xc9, \xce\xc5\xcf\xc2\xc8\xcf\xc4\xc9\xcd\xd9\xc5 \xc4\xcc\xd1 \xd7\xd9\xd0\xcf\xcc\xce\xc5\xce\xc9\xd1 \xd4\xc5\xd3\xd4\xcf\xd7, \xd2\xc1\xda\xcd\xc5\xdd\xc5\xce\xce\xd9\xc8 \xd7
\xd0\xc1\xcb\xc5\xd4\xc1\xc8 Zope.
#----------------------------------------------------------------------
%package ThreadedAsync
Requires: python = %__python_version
Summary: Manage the asyncore mainloop in a multi-threaded app
Group: Development/Python
%description ThreadedAsync
Manage the asyncore mainloop in a multi-threaded app
#----------------------------------------------------------------------
%package docutils
Requires: python = %__python_version
Summary: Python Documentation Utilities
Group: Development/Python
%description docutils
Python Documentation Utilities
#----------------------------------------------------------------------
%package ZServer
Requires: python = %__python_version, Zope-Modules = %version-%release
%py_provides ZServer
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: ZServer - Zope Application Server
Summary(ru_RU.KOI8-R): ZServer - \xd3\xc5\xd2\xd7\xc5\xd2 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca Zope
Group: System/Servers
%description ZServer
Zope object-oriented Application Server is accessible via HTTP and FTP
protocols. It stores all objects in ZODB and forms dynamically generated
pages or other responses to client application requests.
%description -l ru_RU.KOI8-R ZServer
\xef\xc2\xdf\xc5\xcb\xd4\xce\xcf-\xcf\xd2\xc9\xc5\xce\xd4\xc9\xd2\xcf\xd7\xc1\xce\xce\xd9\xca \xd3\xc5\xd2\xd7\xc5\xd2 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca Zope, \xc4\xcf\xd3\xd4\xd5\xd0\xce\xd9\xca \xd0\xcf\xd3\xd2\xc5\xc4\xd3\xd4\xd7\xcf\xcd
\xd0\xd2\xcf\xd4\xcf\xcb\xcf\xcc\xcf\xd7 HTTP \xc9 FTP. Zope \xc8\xd2\xc1\xce\xc9\xd4 \xd7\xd3\xc5 \xcf\xc2\xdf\xc5\xcb\xd4\xd9 \xd7 \xc2\xc1\xda\xc5 ZODB \xc9 \xc6\xcf\xd2\xcd\xc9\xd2\xd5\xc5\xd4
\xc4\xc9\xce\xc1\xcd\xc9\xde\xc5\xd3\xcb\xc9 \xc7\xc5\xce\xc5\xd2\xc9\xd2\xd5\xc5\xcd\xd9\xc5 \xd3\xd4\xd2\xc1\xce\xc9\xc3\xd9 (\xc9\xcc\xc9 \xc4\xd2\xd5\xc7\xc9\xc5 \xcf\xd4\xd7\xc5\xd4\xd9) \xd7 \xcf\xd4\xd7\xc5\xd4 \xce\xc1 \xda\xc1\xd0\xd2\xcf\xd3\xd9
\xcb\xcc\xc9\xc5\xce\xd4\xd3\xcb\xcf\xc7\xcf \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xd1.
#----------------------------------------------------------------------
%package ZUtils
AutoReq: yes, noshell
Requires: python = %__python_version, Zope-ZHome = %version-%release
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: ZUtils - Zope startup and maintenance scripts
Summary(ru_RU.KOI8-R): ZUtils - \xd3\xcb\xd2\xc9\xd0\xd4\xd9 \xc4\xcc\xd1 \xda\xc1\xd0\xd5\xd3\xcb\xc1 \xc9 \xcf\xc2\xd3\xcc\xd5\xd6\xc9\xd7\xc1\xce\xc9\xd1 Zope
Group: System/Servers
%description ZUtils
Scripts helping in Zope administration: server starting, database crunching,
log rotation etc.
Package creates `zope' user and first server named `basic'.
%description -l ru_RU.KOI8-R ZUtils
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xd3\xcb\xd2\xc9\xd0\xd4\xd9, \xce\xc5\xcf\xc2\xc8\xcf\xc4\xc9\xcd\xd9\xc5 \xc4\xcc\xd1 \xcf\xc2\xd3\xcc\xd5\xd6\xc9\xd7\xc1\xce\xc9\xd1 Zope: \xda\xc1\xd0\xd5\xd3\xcb\xc1,
\xd2\xc5\xc7\xd5\xcc\xd1\xd2\xce\xcf\xca \xd5\xd0\xc1\xcb\xcf\xd7\xcb\xc9 \xc2\xc1\xda\xd9, \xd2\xcf\xd4\xc1\xc3\xc9\xc9 \xcc\xcf\xc7\xcf\xd7 \xc9 \xd4.\xd0.
\xf0\xd2\xc9 \xd5\xd3\xd4\xc1\xce\xcf\xd7\xcb\xc5 \xd0\xc1\xcb\xc5\xd4\xc1 \xd3\xcf\xda\xc4\xc1\xc5\xd4\xd3\xd1 \xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xd4\xc5\xcc\xd8 zope \xc9 \xd0\xc5\xd2\xd7\xd9\xca \xd3\xc5\xd2\xd7\xc5\xd2 \xd3 \xc9\xcd\xc5\xce\xc5\xcd
basic.
#----------------------------------------------------------------------
%package Book
Summary: Book about Zope from DC
Summary(ru_RU.KOI8-R): \xeb\xce\xc9\xd6\xcb\xc1 \xd0\xcf Zope \xcf\xd4 DC
Group: System/Servers
Prefix: /usr/share/zope
%description Book
The Digital Creation's book about ZOPE in PDF format.
This book is designed to introduce you to Zope and its uses. Zope is an open
source web application server. If you are interested in writing web pages,
programming web scripts, using databases, managing content, or doing a
collaborative web development task, then you should read this book.
%description -l ru_RU.KOI8-R Book
\xeb\xce\xc9\xd6\xcb\xc1 \xcf\xd4 Digital Creation \xcf Zope \xd7 \xc6\xcf\xd2\xcd\xc1\xd4\xc5 PDF. \xfc\xd4\xc1 \xcb\xce\xc9\xd6\xcb\xc1
\xc2\xd9\xcc\xc1 \xce\xc1\xd0\xc9\xd3\xc1\xce\xc1 \xde\xc2\xd9 \xc4\xc1\xd4\xd8 \xce\xc1\xde\xc1\xcc\xd8\xce\xd9\xc5 \xda\xce\xc1\xce\xc9\xd1 \xcf \xd3\xc5\xd2\xd7\xc5\xd2\xc5 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca Zope \xc9
\xd2\xc1\xc4\xcf\xd3\xd4\xd1\xc8 \xc5\xc7\xcf \xc9\xd3\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xce\xc9\xd1. Zope - \xd3\xc5\xd2\xd7\xc5\xd2 \xd7\xc5\xc2-\xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca \xd3 \xcf\xd4\xcb\xd2\xd9\xd4\xd9\xcd \xc9\xd3\xc8\xcf\xc4\xce\xd9\xcd \xcb\xcf\xc4\xcf\xcd.
\xf7\xc1\xcd \xd3\xd4\xcf\xc9\xd4 \xd0\xd2\xcf\xde\xc9\xd4\xc1\xd4\xd8 \xdc\xd4\xd5 \xcb\xce\xc9\xd6\xcb\xd5, \xc5\xd3\xcc\xc9 \xd7\xd9 \xc9\xce\xd4\xc5\xd2\xc5\xd3\xd5\xc5\xd4\xc5\xd3\xd8 \xd2\xc1\xda\xd2\xc1\xc2\xcf\xd4\xcb\xcf\xca \xd7\xc5\xc2-\xd3\xd4\xd2\xc1\xce\xc9\xc3,
\xd0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xc9\xd2\xcf\xd7\xc1\xce\xc9\xc5\xcd \xd7\xc5\xc2-\xd3\xcb\xd2\xc9\xd0\xd4\xcf\xd7, \xc9\xd3\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xce\xc9\xc5\xcd \xc2\xc1\xda \xc4\xc1\xce\xce\xd9\xc8, \xd5\xd0\xd2\xc1\xd7\xcc\xc5\xce\xc9\xc5\xcd \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xcd\xd9\xcd
\xc9 \xd2\xc5\xdb\xc5\xce\xc9\xc5\xcd \xd3\xcc\xcf\xd6\xce\xd9\xc8 \xda\xc1\xc4\xc1\xde \xd7\xc5\xc2 \xd2\xc1\xda\xd2\xc1\xc2\xcf\xd4\xcb\xc9.
#----------------------------------------------------------------------
%package ZHome
AutoReq: yes, noshell
Requires: python = %__python_version
Obsoletes: ZHotfix_2002-04-15
Obsoletes: ZHotfix_2002-03-01
Conflicts: ZHotfix_2002-04-15
Conflicts: ZHotfix_2002-03-01
Summary: ZHome - sample home directory of ZServer
Summary(ru_RU.KOI8-R): ZHome - \xef\xc2\xd2\xc1\xda\xc5\xc3 \xc4\xcf\xcd\xc1\xdb\xce\xc5\xc7\xcf \xcb\xc1\xd4\xc1\xcc\xcf\xc7\xc1 ZServer
Group: System/Servers
Prefix: /usr/share/zope
%description ZHome
Contains initial ZODB base and other files necessary for Zope to start.
Serves as a sample (or skeleton) for addzopesite.py utility to generate
new home directories.
%description -l ru_RU.KOI8-R ZHome
\xf0\xc1\xcb\xc5\xd4, \xd3\xcf\xc4\xc5\xd2\xd6\xc1\xdd\xc9\xca \xce\xc1\xde\xc1\xcc\xd8\xce\xd5\xc0 \xc2\xc1\xda\xd5 ZODB \xc9 \xc4\xd2\xd5\xc7\xc9\xc5 \xc6\xc1\xca\xcc\xd9, \xce\xc5\xcf\xc2\xc8\xcf\xc4\xc9\xcd\xd9\xc5 \xc4\xcc\xd1 \xd3\xd4\xc1\xd2\xd4\xc1
Zope. \xf3\xcf\xc4\xc5\xd2\xd6\xc9\xcd\xcf\xc5 \xdc\xd4\xcf\xc7\xcf \xd0\xc1\xcb\xc5\xd4\xc1 \xd3\xcc\xd5\xd6\xc9\xd4 \xcf\xc2\xd2\xc1\xda\xc3\xcf\xcd, \xd0\xcf \xcb\xcf\xd4\xcf\xd2\xcf\xcd\xd5 \xd5\xd4\xc9\xcc\xc9\xd4\xc1
addzopesite.py \xc7\xc5\xce\xc5\xd2\xc9\xd2\xd5\xc5\xd4 \xc4\xcf\xcd\xc1\xdb\xce\xc9\xca \xcb\xc1\xd4\xc1\xcc\xcf\xc7 \xd3\xc5\xd2\xd7\xc5\xd2\xc1.
#----------------------------------------------------------------------
%prep
%setup -n Zope-%version-final -a 1
%setup -D -T -n Zope-%version-final -a 3
%if_with unicode
%patch2 -p1
%endif
%patch3 -p1
%patch4 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
./configure --prefix=$RPM_BUILD_ROOT/usr/lib/zope --with-python=%python_binary
make
%install
# Make the Necessary Directories
install -m0755 --directory $RPM_BUILD_ROOT/etc/httpd/conf
install -m0755 --directory $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m0755 --directory $RPM_BUILD_ROOT/etc/cron.daily
install -m0755 --directory $RPM_BUILD_ROOT/etc/logrotate.d
install -m0755 --directory $RPM_BUILD_ROOT/etc/sysconfig
install -m0755 --directory $RPM_BUILD_ROOT/etc/sysconfig/zope
install -m0755 --directory $RPM_BUILD_ROOT/%_bindir
install -m0755 --directory $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages
install -m0755 --directory $RPM_BUILD_ROOT/usr/lib/%pythondir/lib-dynload
install -m0755 --directory $RPM_BUILD_ROOT/usr/share/doc/Zope-%version
install -m0755 --directory $RPM_BUILD_ROOT/usr/share/doc/ZopeBook
# Directory Structure for SOFTWARE_HOME=/usr/lib/zope/
install -m0755 --directory $RPM_BUILD_ROOT/usr/lib/zope
install -m0755 --directory $RPM_BUILD_ROOT/usr/lib/zope/lib
install -m0755 --directory $RPM_BUILD_ROOT/usr/lib/zope/tools
install -m0755 --directory $RPM_BUILD_ROOT/usr/lib/zope/lib/python
# Directory Structure for INSTANCE_HOME=/var/zope/
install -m0755 --directory $RPM_BUILD_ROOT/var/lib/zope
install -m0755 --directory $RPM_BUILD_ROOT/var/log/zope
install -m0775 --directory $RPM_BUILD_ROOT%prefix
make install
for i in BTrees DateTime DocumentTemplate Interface RestrictedPython \
Testing ZODB TAL StructuredText reStructuredText BDBStorage tempstorage \
docutils zLOG ZPublisher Persistence ThreadedAsync ZTUtils;
do mv $RPM_BUILD_ROOT/usr/lib/zope/lib/python/$i $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages
done
mv $RPM_BUILD_ROOT/usr/lib/zope/lib/python/*.so $RPM_BUILD_ROOT/usr/lib/%pythondir/lib-dynload
# \xeb\xcf\xce\xc6\xc9\xc7\xc9 ------------------------------------
cp -dp Zope-utils/cfg/zope_hosts.cfg $RPM_BUILD_ROOT/etc/sysconfig
cp -dp Zope-utils/cfg/zope_local.cfg $RPM_BUILD_ROOT/etc/sysconfig
cp -dp Zope-utils/cfg/zope_default $RPM_BUILD_ROOT/etc/sysconfig
cp -dp Zope-utils/cfg/zope_proxy.conf $RPM_BUILD_ROOT/etc/httpd/conf
cp -dp Zope-utils/cfg/cron.daily.zope $RPM_BUILD_ROOT/etc/cron.daily/zope
cp -dp Zope-utils/cfg/logrotate.d.zope $RPM_BUILD_ROOT/etc/logrotate.d/zope
# \xf3\xd0\xc5\xc3\xc9\xc1\xcc\xd8\xce\xd9\xc5 \xd3\xcb\xd2\xc9\xd0\xd4\xd9 ------------------------
install -m0755 Zope-utils/scripts/init.d.zope $RPM_BUILD_ROOT/etc/rc.d/init.d/zope
# install -m0755 Zope-utils/scripts/xmliconv.py $RPM_BUILD_ROOT/usr/lib/zope/bin/zxmliconv.py
install -m0755 Zope-utils/scripts/zctl_zope_pack.py $RPM_BUILD_ROOT//usr/lib/zope/lib/python/Zope/Startup/zctl_zope_pack.py
# \xf5\xd3\xd4\xc1\xce\xc1\xd7\xcc\xc9\xd7\xc1\xc5\xcd \xd5\xd4\xc9\xcc\xd8 ------------------------
rm $RPM_BUILD_ROOT/usr/lib/zope/bin/test.py
for i in $RPM_BUILD_ROOT/usr/lib/zope/bin/*py; do
ln -sf /usr/lib/zope/bin/"$(basename "$i")" $RPM_BUILD_ROOT%_bindir/"$(basename "$i" .py)";
done
rm $RPM_BUILD_ROOT/usr/lib/zope/bin/python
# \xf0\xd2\xcf\xde\xc9\xdd\xc1\xc5\xcd skel -----------------------------
mv $RPM_BUILD_ROOT/usr/lib/zope/skel $RPM_BUILD_ROOT%prefix
mv $RPM_BUILD_ROOT/usr/lib/zope/import $RPM_BUILD_ROOT%prefix
# reserved
# ========= \xf3\xd4\xc9\xd2\xc1\xc5\xcd \xcc\xc5\xd7\xd9\xc5 \xc6\xc1\xca\xcc\xd9 ==============
# \xf0\xd2\xc9\xc2\xc9\xd7\xc1\xc5\xcd \xd7\xc9\xce\xc4\xcf\xda\xce\xd9\xc5 \xcb\xcf\xc4\xd9 -------------------
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/nt_svcutils/
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Zope/Startup/nt/
# \xee\xc5 \xc0\xda\xc1\xc2\xc5\xcc\xd8\xce\xd9\xc5 \xcb\xcf\xc4\xd9 -------------------------
rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/Interface/Mapping.py
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Shared/DC/xml/pyexpat/_checkversion.py
# Medusa demo hack ---------------------------
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZServer/medusa/test
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZServer/medusa/thread/test*
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZServer/medusa/thread/thread_handler.*
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZServer/medusa/fifo.py*
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZServer/medusa/monitor_client_win32.py*
# \xf4\xc5\xd3\xd4\xd9 -------------------------------------
rm -rf $RPM_BUILD_ROOT/usr/lib/zope/bin/test.py
rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/StructuredText/Zwiki.py*
rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/TAL/benchmark
rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/TAL/{timer,runtest,ndiff,driver,DummyEngine,markbench,talgettext,}.py*
rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/ZODB/fstools.py*
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/TAL/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/ZODB/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/BTrees/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/tempstorage/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/BDBStorage/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/ZServer/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/RestrictedPython/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/StructuredText/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/zLOG/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/ZPublisher/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/%pythondir/site-packages/ZTUtils/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/AccessControl/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/App/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/OFS/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/SearchIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Zope/Startup/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/zExceptions/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/zdaemon/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZopeUndo/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZEO/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/ExternalMethod/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/MailHost/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PageTemplates/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/DateIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/DateRangeIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/FieldIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/KeywordIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/PathIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/TextIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PluginIndexes/TopicIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/PythonScripts/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/Sessions/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/SiteAccess/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/Transience/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/ZCatalog/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/ZCTextIndex/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Products/ZODBMountPoint/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZServer/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/ZConfig/tests
#rm -rf $RPM_BUILD_ROOT/usr/lib/zope/lib/python/Zope/Startup/tests
# ============================================
find $RPM_BUILD_ROOT/ -type d -and -name tests |
sed -e "s|$RPM_BUILD_ROOT|/|g" |
cat >tests.lst
cp -dpr Zope-doc/* $RPM_BUILD_ROOT/usr/share/doc/Zope-%version
cp -dpr Zope-doc/faq $RPM_BUILD_ROOT/usr/share/doc/Zope-%version/faq
mv $RPM_BUILD_ROOT/usr/lib/zope/doc/* $RPM_BUILD_ROOT/usr/share/doc/Zope-%version
cp $RPM_SOURCE_DIR/ZopeBook-2_6.pdf $RPM_BUILD_ROOT/usr/share/doc/ZopeBook
#python zpasswd.py -u admin -p 12345678 inituser
find $RPM_BUILD_ROOT/usr/lib/zope/lib -not -type d |
sed -e "s|$RPM_BUILD_ROOT|/|g" |
grep -v ".*orig$" |
grep -v "/ZServer" |
cat > files-Modules.lst
echo > files-Modules.lst.tmp
grep "\.py$" files-Modules.lst|sed -e "s|.*|&*|g" >>files-Modules.lst.tmp
grep -v '\.py[co]\?$' files-Modules.lst >>files-Modules.lst.tmp
mv files-Modules.lst.tmp files-Modules.lst
%add_python_lib_path /usr/lib/zope/lib/python/ /usr/lib/zope/lib/python/Products/
%set_python_compile_method both
%add_python_req_skip PersistentMapping
%pre ZHome
/usr/sbin/groupadd -r -f zope 2>/dev/null || :
/usr/sbin/groupadd -r -f zmaster 2>/dev/null || :
/usr/sbin/useradd -g zope -c 'Zope server' -d /var/lib/zope -s '' -r zope 2>/dev/null || :
%post ZUtils
#if [ -e "/var/lib/zope/basic" ];
# then echo "Basic site already exist and will not be upgraded";
# else /usr/sbin/addzopesite.py basic 8000;
#fi;
%files
%defattr(-, root, root)
%doc Zope-doc/*
%files Modules
%defattr(-, root, root)
/usr/lib/zope/lib
%exclude /usr/lib/zope/lib/python/Products/PythonScripts/Extensions
%exclude /usr/lib/zope/lib/python/ZServer
%exclude /usr/lib/zope/lib/python/*/tests
%exclude /usr/lib/zope/lib/python/Products/*/tests
%exclude /usr/lib/zope/lib/python/Products/PluginIndexes/*/tests
%exclude /usr/lib/zope/lib/python/Zope/Startup/tests
%exclude /usr/lib/zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests
%exclude /usr/lib/zope/lib/python/Products/ZCatalog/regressiontests
%exclude /usr/lib/zope/lib/python/Products/Sessions/stresstests
%exclude /usr/lib/zope/lib/python/AccessControl/securitySuite
%exclude /usr/lib/zope/lib/python/Products/SiteAccess/Extensions/updata.py
%exclude /usr/lib/zope/lib/python/Signals/WinSignalHandler.py
%files core
%defattr(-, root, root)
%python_libdir/lib-dynload
%python_sitelibdir/Interface
%python_sitelibdir/ZTUtils
%python_sitelibdir/zLOG
%exclude %python_sitelibdir/*/tests
%files ZODB
%defattr(-, root, root)
%python_sitelibdir/BDBStorage
%python_sitelibdir/Persistence
%python_sitelibdir/tempstorage
%python_sitelibdir/ZODB
%python_sitelibdir/BTrees
%exclude %python_sitelibdir/*/tests
%files ZPublisher
%defattr(-, root, root)
%python_sitelibdir/ZPublisher
%exclude %python_sitelibdir/*/tests
%files StructuredText
%defattr(-, root, root)
%python_sitelibdir/StructuredText
%exclude %python_sitelibdir/*/tests
%exclude %python_sitelibdir/StructuredText/regressions
%files reStructuredText
%defattr(-, root, root)
%python_sitelibdir/reStructuredText
%exclude %python_sitelibdir/*/tests
%files TAL
%defattr(-, root, root)
%python_sitelibdir/TAL
%exclude %python_sitelibdir/*/tests
%files DateTime
%defattr(-, root, root)
%python_sitelibdir/DateTime
%exclude %python_sitelibdir/*/tests
%files RestrictedPython
%defattr(-, root, root)
%python_sitelibdir/RestrictedPython
%exclude %python_sitelibdir/*/tests
%files DocumentTemplate
%defattr(-, root, root)
%python_sitelibdir/DocumentTemplate
%exclude %python_sitelibdir/*/tests
%files Testing
%defattr(-, root, root)
%python_sitelibdir/Testing
/usr/lib/zope/lib/python/*/tests
/usr/lib/zope/lib/python/Products/*/tests
/usr/lib/zope/lib/python/Products/PluginIndexes/*/tests
/usr/lib/zope/lib/python/Zope/Startup/tests
/usr/lib/zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests
/usr/lib/zope/lib/python/Products/ZCatalog/regressiontests
/usr/lib/zope/lib/python/Products/Sessions/stresstests
/usr/lib/zope/lib/python/AccessControl/securitySuite
%files ThreadedAsync
%defattr(-, root, root)
%python_sitelibdir/ThreadedAsync
%exclude %python_sitelibdir/*/tests
%files docutils
%defattr(-, root, root)
%python_sitelibdir/docutils
%exclude %python_sitelibdir/*/tests
%files Obsolete
%defattr(-, root, root)
#/usr/lib/zope/lib/python/xmlrpclib.py*
%exclude %python_sitelibdir/*/tests
%files ZServer
%defattr(-, root, root)
/usr/lib/zope/lib/python/ZServer
%exclude /usr/lib/zope/lib/python/ZServer/tests
%exclude /usr/lib/zope/lib/python/ZServer/medusa/test/asyn*
%exclude /usr/lib/zope/lib/python/ZServer/medusa/test/test*
#/usr/lib/zope/lib/python/ZServer/medusa/test/__init__.py*
#/usr/lib/zope/lib/python/ZServer/medusa/test/max_sockets.py*
%files ZUtils
%defattr(-, root, root)
/etc/cron.daily/*
/etc/logrotate.d/*
/etc/rc.d/init.d/*
%config(noreplace) /etc/sysconfig/zope_hosts.cfg
%config(noreplace) /etc/sysconfig/zope_local.cfg
%config(noreplace) /etc/httpd/conf/zope_proxy.conf
%config(noreplace) /etc/sysconfig/zope_default
/usr/lib/zope/bin
%_bindir/*
/var/lib/zope
/var/log/zope
%exclude %python_sitelibdir/*/tests
%files ZHome
%defattr(-, zope, zope)
%prefix/skel
%exclude %python_sitelibdir/*/tests
%files Book
%defattr(-, root, root)
/usr/share/doc/ZopeBook
%exclude %python_sitelibdir/*/tests
%changelog
* Mon Oct 03 2005 Andrey Orlov <cray@altlinux.ru> 2.7.7-alt1
- New version
* Sun Jul 03 2005 Andrey Orlov <cray@altlinux.ru> 2.7.6-alt6
- Script mkzopeinstance has been changed to register new Zope
instance in system configuration files and set permisions
as I want.
- Unicode patch has been fixed to avoid infinite recursion
during plone site creating.
* Tue May 31 2005 Andrey Orlov <cray@altlinux.ru> 2.7.6-alt3
- fsdump fixed
* Sat Jan 29 2005 Andrey Orlov <cray@altlinux.ru> 2.7.4-alt1
- New version from DC
* Sun Oct 31 2004 Andrey Orlov <cray@altlinux.ru> 2.7.3-alt3
- Scripts that requires python-strict has been fixed
* Tue Oct 26 2004 Andrey Orlov <cray@altlinux.ru> 2.7.3-alt2
- New version
* Mon Oct 18 2004 Andrey Orlov <cray@altlinux.ru> 2.7.2-alt3
- Some files added
* Tue Oct 5 2004 Andrey Orlov <cray@altlinux.ru> 2.7.2-alt2
- mkzopeinstance patched
- Pack capability added into init.d scripts
* Wed Sep 22 2004 Andrey Orlov <cray@altlinux.ru> 2.7.2-alt1
- New version
* Wed May 19 2004 Andrey Orlov <cray@altlinux.ru> 2.6.4-alt5
- Condional operators excluded from spec
- i18n patch unaplied (because of multiply errors in design)
* Mon May 10 2004 Andrey Orlov <cray@altlinux.ru> 2.6.4-alt4
- Rebuild
* Thu Apr 15 2004 Andrey Orlov <cray@altlinux.ru> 2.6.4-alt3
- Fixes added to rebuild with new python policy
* Sun Mar 21 2004 Andrey Orlov <cray@altlinux.ru> 2.6.4-alt2
- i18n patch added
* Fri Feb 13 2004 Andrey Orlov <cray@altlinux.ru> 2.6.4-alt1
- Undo safe_builtins fixes (It fixed in newversion);
- New version from DC;
- Unicode patch has been changed for crank-plone compatibility;
* Sun Jan 18 2004 Andrey Orlov <cray@altlinux.ru> 2.6.3-alt3
- In module DT_Utils new safe_builtins from ZopeGuards imported instead
RestrictedPython used before;
- Attribute action fixed in a few management screen;
- Hook to rebuild in master22 added;
* Tue Jan 13 2004 Andrey Orlov <cray@altlinux.ru> 2.6.3-alt2
- New Version of Zope Book added
* Sat Jan 10 2004 Andrey Orlov <cray@altlinux.ru> 2.6.3-alt1
- New version packaged;
- Old patches eliminated;
- Emacs-like encoding header added into all service scripts;
* Sun Nov 30 2003 Andrey Orlov <cray@altlinux.ru> 2.6.2-alt2
- Patch has been apllied to avoid py23 incompatibility warning;
- rebuild on PY23;
* Mon Oct 20 2003 Andrey Orlov <cray@altlinux.ru> 2.6.2-alt1
- New versions from DC;
- Some unneeded requires excluded;
* Tue Sep 09 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt3
- Fix of unicode support broken on locale "C" (Special thank's for
our Belorussian customers);
* Thu Aug 21 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt2
- Add obsolet clause for ZHotfix-2002-06-14
* Tue Aug 19 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt1
- Documentation synchronized with Alt Documentation Team;
- Patch from avl@l14.ru removed (initscript was changed in place);
- Fixed bugs described in mantis reports (0002051, 0002061);
- Treatment protocol "localhttp" added into zope_proxy.conf;
- Access to ControlPanel is available now for protocol "localhttp" from
hosts, allowed in zope_local.cfg.
* Tue Jul 01 2003 Aleksandr Blokhin (Sass) <sass@altlinux.ru> 2.6.1-alt0.7
- added patch by avl@l14.ru which corrected initscript
* Wed Jun 25 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt0.6
- Add old init script into /usr/share/doc/Zope catalog;
- Change addzopesite script for create export catalog and set owner root for
var;
* Tue Jun 24 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt0.5
- Init script use start_daemon & stop_daemon functions now.
* Mon Jun 02 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt0.4
- getProperty now use locale settings if management_page_encoding is not
defined;
* Wed May 28 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt0.3
- Fix some problems with property encoding (for non-string types);
- Add ZOPE_OPTIONS option;
- ZOPE_STDOUT option can be used now;
- Add "export" patch: Zope export *.zexp into "./export" catalog (
it was exported into "./var" catalog before);
* Thu May 22 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt0.2
- ZTUtils patches from developers version are added
- Warning about untested Python 2.2.2 replace on "Tested By Freehand"
(we execute it on production servers);
* Sun May 11 2003 Andrey Orlov <cray@altlinux.ru> 2.6.1-alt0.1
- New version from Zope.ORG
- Patch for correct unicode treatment was adopted to new
ideas of zope community.
- Patch to close stdin if zope is not run in debug mode was applied.
* Sun Dec 14 2002 Andrey Orlov <cray@altlinux.ru> 2.6.0-alt0.5
- New version from Zope.ORG
- Patch for correct unicode treatment added.
* Sat Dec 14 2002 Andrey Orlov <cray@altlinux.ru> 2.5.1-alt4
- Sample of using Apache for serving file request added;
- Package dependeces refactored : Single common package - Zope -
are to install now, other packages will be installes automatically;
- Rewrite log level assing 0 and rewrite log turn off now (there was
some error after last debugging);
- Documentation enhanced;
* Sat Nov 09 2002 Andrey Orlov <cray@altlinux.ru> 2.5.1-alt3
- Some docs updated and converted in docbook
- Tested on python2.2
- Utilities has been tested and fixed for new use cases
- Fix some Zope.spec incompatibilities
* Fri Oct 4 2002 Andrey Orlov <cray@altlinux.ru> 2.5.1-alt2
- Fix DeprecationWarning (strop functions are obsolete) in
module TAL
- Add advanced logging support
- Add custom ZODB support
* Fri May 17 2002 Andrey Orlov <cray@altlinux.ru> 2.5.0-alt6
- Reuse losted alt3 fixes
- Fix some spec definitions
* Fri May 17 2002 Andrey Orlov <cray@altlinux.ru> 2.5.0-alt5
- Fix python2.2.1 incompatibiity in Interface/iclass.py
* Sun Apr 14 2002 Uzorin Pavel <pitch@altlinux.ru> 2.5.0-alt4
- Add and change documentation
- Moved logs to /var/log/zope
- Fix init scripts
* Wed Feb 27 2002 Uzorin Pavel <pitch@altlinux.ru> 2.5.0-alt3
- Add ZopeBook package
- Fix comment
- Added some changes :)
* Thu Feb 21 2002 Uzorin Pavel <pitch@altlinux.ru> 2.5.0-alt3
- Restarting ZServer with FCNTL deprecated in Python 2.2 bug
has been fixed
* Tue Feb 12 2002 Uzorin Pavel <pitch@altlinux.ru> 2.5.0-alt2
- Documentation and configuration files added
* Tue Feb 12 2002 Uzorin Pavel <pitch@altlinux.ru> 2.5.0-iig1
- Initial revision