]> git.pld-linux.org Git - packages/Zope-CMFPlone.git/blobdiff - Zope-CMFPlone.spec
- changed req.
[packages/Zope-CMFPlone.git] / Zope-CMFPlone.spec
index 294a082107c17306683b9f78eac620865e7d2b72..f4fa77e4efa6f6d1bc7ca21afbccfcee8a2b3f8e 100644 (file)
@@ -5,21 +5,22 @@ Summary:      Free and open source Content Management System based on Zope and CMF
 Summary:       Darmowy i otwarty system zarz±dzania tre¶ci± oparty na Zope i CMF
 Name:          Zope-%{zope_subname}
 Version:       2.0
-%define                sub_ver RC
-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
@@ -44,22 +45,25 @@ zabezpieczenia serwisu. Plone dzia
 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
@@ -75,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
 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
@@ -84,7 +88,7 @@ fi
 
 %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
This page took 0.083869 seconds and 4 git commands to generate.