]> git.pld-linux.org Git - packages/Zope-CMFPlone.git/blobdiff - Zope-CMFPlone.spec
- fixed some products of Plone
[packages/Zope-CMFPlone.git] / Zope-CMFPlone.spec
index 1357fe6938ce860dbbf6048489e97a9d411542e5..4db4da53d3b7f7b43053a2fdd66637435bb891fe 100644 (file)
@@ -3,25 +3,28 @@
 Summary:       Free and open source Content Management System based on Zope and CMF
 Summary(pl):   Darmowy i otwarty system zarz±dzania tre¶ci± oparty na Zope i CMF
 Name:          Zope-%{zope_subname}
-Version:       2.0.5
-# %%define             sub_ver RC6
-Release:       1
+Version:       2.1
+Release:       2
 License:       Zope Public License (ZPL), GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/plone/Plone-%{version}.tar.gz
-# Source0-md5: fe8ce932877c53bb22b1f88d2b4c9211
+# Source0-md5: a72efb9aace662ac8f81f3f66ad7c44c
 URL:           http://www.plone.org/
+BuildRequires: python
 %pyrequires_eq python-modules
-Requires:      Zope-archetypes >= 1.2.5
-Requires:      Zope-CMF >= 1.4.7
-Requires:      Zope >= 2.6.2
-Requires:      Zope-BTreeFolder2
-Requires:      Zope-CMFQuickInstallerTool >= 1.5.1
-Requires:      Zope-ExternalEditor
-Requires:      Zope-Formulator >= 1.6.2
-Requires:      Zope-GroupUserFolder >= 2.0.1
-Requires:      Zope-Epoz >= 0.8.2
 Requires:      i18ndude
+Requires:      Zope-archetypes >= 1.3.4
+Requires:      Zope-kupu >= 1.3
+Requires:      Zope-CMF = 1:1.5.4
+Requires:      Zope >= 2.7.7
+Requires:      Zope-BTreeFolder2 >= 1.0.2
+Requires:      Zope-CMFQuickInstallerTool >= 1.5.5
+Requires:      Zope-Epoz >= 0.8.2
+Requires:      Zope-ExternalEditor >= 0.9.1
+Requires:      Zope-Formulator >= 1.6.2
+Requires:      Zope-GroupUserFolder >= 1:3.4
+Requires:      Zope-PlacelessTranslationService >= 1.2.1
+Requires:      Zope-PloneLanguageTool >= 0.7
 Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,17 +53,18 @@ Pythonem.
 # remove dirs - additional packages!
 # ExternalEditor
 rm -rf {BTreeFolder2,CMFQuickInstallerTool,Formulator,GroupUserFolder,Archetypes,generator,validation}
+rm -rf {PloneLanguageTool,kupu,MimetypesRegistry}
+rm -rf {CMFActionIcons,CMFSetup,CMFUid}
 rm -rf {CMFCalendar,CMFCore,CMFDefault,CMFTopic,DCWorkflow,PortalTransforms,Epoz}
+rm -rf {ExternalEditor,PlacelessTranslationService}
 find . -type d -name debian | xargs rm -rf
 
 %build
-mkdir docs docs/CMFPlone docs/CMFFormController docs/PlacelessTranslationService docs/PloneErrorReporting
+mkdir docs docs/CMFPlone docs/CMFFormController 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
 rm -rf CMFPlone/LICENSE.GPL
 mv -f CMFFormController/{AUTHORS,ChangeLog,README.txt} docs/CMFFormController
 rm -rf CMFPlone/docs
-mv -f PlacelessTranslationService/NEWS.txt docs/PlacelessTranslationService
 mv -f PloneErrorReporting/{ChangeLog,README.txt} docs/PloneErrorReporting
 rm -rf PloneErrorReporting/LICENSE.txt
 
@@ -78,16 +82,23 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
 rm -rf $RPM_BUILD_ROOT
 
 %post
-for p in CMFPlone CMFActionIcons CMFFormController PlacelessTranslationService PloneErrorReporting; do
+for p in ATContentTypes ATReferenceBrowserWidget CMFDynamicViewFTI CMFFormController CMFPlone ExtendedPathIndex; do
        /usr/sbin/installzopeproduct %{_datadir}/%{name}/$p
 done
+for p in PloneErrorReporting PloneTranslations ResourceRegistries SecureMailHost; do
+       /usr/sbin/installzopeproduct %{_datadir}/%{name}/$p
+done  
+
 if [ -f /var/lock/subsys/zope ]; then
        /etc/rc.d/init.d/zope restart >&2
 fi
 
 %postun
 if [ "$1" = "0" ]; then
-       for p in CMFPlone CMFActionIcons CMFFormController PlacelessTranslationService PloneErrorReporting; do
+       for p in ATContentTypes ATReferenceBrowserWidget CMFDynamicViewFTI CMFFormController CMFPlone ExtendedPathIndex; do
+               /usr/sbin/installzopeproduct -d $p
+       done
+       for p in PloneErrorReporting PloneTranslations ResourceRegistries SecureMailHost; do
                /usr/sbin/installzopeproduct -d $p
        done
        if [ -f /var/lock/subsys/zope ]; then
This page took 0.100323 seconds and 4 git commands to generate.