Summary: Darmowy i otwarty system zarz±dzania tre¶ci± oparty na Zope i CMF
Name: Zope-%{zope_subname}
Version: 2.0
-%define sub_ver RC1
-Release: 5.%{sub_ver}.2
+%define sub_ver RC6
+Release: 5.%{sub_ver}.1
License: Zope Public License (ZPL), GPL
Group: Networking/Daemons
-Source0: http://dl.sourceforge.net/plone/%{zope_subname}%{version}-%{sub_ver}.tar.gz
-# Source0-md5: cd606b698247526073a6ad3a0ffa5579
-Patch0: %{name}-migration.patch
+Source0: http://osdn.dl.sourceforge.net/sourceforge/plone/%{zope_subname}%{version}-rc6.tar.gz
+# Source0-md5: f6c03e49d910a6159f1810336941e92d
URL: http://www.plone.org/
%pyrequires_eq python-modules
-Requires: Zope-CMF >= 1.4
+Requires: Zope-archetypes >= 1.2.4
+Requires: Zope-PortalTransforms
+Requires: Zope-CMF > 1.4.2
Requires: Zope >= 2.6.2
Requires: Zope-BTreeFolder2
Requires: Zope-CMFQuickInstallerTool
Requires: Zope-ExternalEditor
-Requires: Zope-Formulator
+Requires: Zope-Formulator >= 1.6.2
Requires: Zope-GroupUserFolder >= 2.0
Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
Pythonem.
%prep
-%setup -q -n %{zope_subname}-%{version}-%{sub_ver}
-%patch0 -p1
-
-%build
+%setup -q -n %{zope_subname}-%{version}-rc6
# remove dirs - additional packages!
-rm -rf {BTreeFolder2,CMFQuickInstallerTool,ExternalEditor,GroupUserFolder,Formulator}
-find . -type f -name "*.pyo" -exec rm -rf {} \;;
+# ExternalEditor
+rm -rf {BTreeFolder2,CMFQuickInstallerTool,Formulator,GroupUserFolder,Archetypes,generator,validation}
+rm -rf {CMFCalendar,CMFCore,CMFDefault,CMFTopic,DCWorkflow,PortalTransforms}
+find . -type d -name debian | xargs rm -rf
-mkdir docs docs/CMFPlone docs/CMFFormController docs/i18n
-rm -rf `find . type f -name .cvsignore`
-mv -f CMFPlone/{CREDITS.txt,ChangeLog,HISTORY.txt,INSTALL.txt,README.txt} docs/CMFPlone
+%build
+mkdir docs docs/CMFPlone docs/CMFFormController docs/i18n docs/PlacelessTranslationService docs/PloneErrorReporting
+mv -f CMFPlone/{CREDITS.txt,HISTORY.txt,INSTALL.txt,README.txt,UPGRADE.txt,LICENSE.txt} docs/CMFPlone
mv -f CMFPlone/docs/* docs/CMFPlone
mv -f CMFPlone/i18n/ChangeLog docs/i18n
rm -rf CMFPlone/i18n/{build.bat,msgfmt.exe}
+rm -rf CMFPlone/LICENSE.GPL
mv -f CMFFormController/{AUTHORS,ChangeLog,README.txt} docs/CMFFormController
rm -rf CMFPlone/docs
+mv -f PlacelessTranslationService/{COPYING.txt,NEWS.txt} docs/PlacelessTranslationService
+mv -f PloneErrorReporting/{ChangeLog,README.txt} docs/PloneErrorReporting
+rm -rf PloneErrorReporting/LICENSE.txt
%install
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%post
-for p in CMFPlone CMFActionIcons CMFFormController; do
+for p in CMFPlone CMFActionIcons CMFFormController PlacelessTranslationService PloneErrorReporting; do
/usr/sbin/installzopeproduct %{_datadir}/%{name}/$p
done
if [ -f /var/lock/subsys/zope ]; then
%postun
if [ "$1" = "0" ]; then
- for p in CMFPlone CMFActionIcons CMFFormController; do
+ for p in CMFPlone CMFActionIcons CMFFormController PlacelessTranslationService PloneErrorReporting; do
/usr/sbin/installzopeproduct -d $p
done
if [ -f /var/lock/subsys/zope ]; then