]> git.pld-linux.org Git - packages/Zope-CMFPlone.git/blobdiff - Zope-CMFPlone.spec
- upgraded to version 2.0RC5 (quick update)
[packages/Zope-CMFPlone.git] / Zope-CMFPlone.spec
index f387d553e7c3f8cb7baf0ee22a283a31eba49e1a..06f4844fc0da1450c17f471d0f2c835a1133d88d 100644 (file)
@@ -1,16 +1,16 @@
+
 %include       /usr/lib/rpm/macros.python
 %define                zope_subname    CMFPlone
 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 beta3
-Release:       4.%{sub_ver}.2
+%define                sub_ver RC5
+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: ae47b12f56eb6e4f86ec7b0650e35552
-Patch0:                %{name}-migration.patch
+Source0:       http://osdn.dl.sourceforge.net/sourceforge/plone/%{zope_subname}%{version}-%{sub_ver}.tar.gz
+# Source0-md5: 2c4ba0430b15756dfc192c63baa45466
 URL:           http://www.plone.org/
 %pyrequires_eq python-modules
 Requires:      Zope-CMF >= 1.4
@@ -18,8 +18,8 @@ Requires:     Zope >= 2.6.2
 Requires:      Zope-BTreeFolder2
 Requires:      Zope-CMFQuickInstallerTool
 Requires:      Zope-ExternalEditor
-Requires:      Zope-Formulator
-Requires:      Zope-GroupUserFolder
+Requires:      Zope-Formulator >= 1.6.1
+Requires:      Zope-GroupUserFolder >= 2.0
 Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,20 +44,21 @@ Pythonem.
 
 %prep
 %setup -q -n %{zope_subname}-%{version}-%{sub_ver}
-%patch0 -p1
-
-%build
 # remove dirs - additional packages!
-rm -rf {BTreeFolder2,CMFQuickInstallerTool,ExternalEditor,GroupUserFolder,Formulator}
+# ExternalEditor
+rm -rf {BTreeFolder2,CMFQuickInstallerTool,Formulator,GroupUserFolder}
+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
+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
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,17 +74,16 @@ 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; do
        /usr/sbin/installzopeproduct %{_datadir}/%{name}/$p
 done
 if [ -f /var/lock/subsys/zope ]; then
        /etc/rc.d/init.d/zope restart >&2
 fi
-echo "From /manage interface there should be a 'Select Type to Add' and says Plone Site" >&2
 
 %postun
 if [ "$1" = "0" ]; then
-       for p in CMFPlone CMFActionIcons CMFFormController; do
+       for p in CMFPlone CMFActionIcons CMFFormController PlacelessTranslationService; do
                /usr/sbin/installzopeproduct -d $p
        done
        if [ -f /var/lock/subsys/zope ]; then
This page took 0.028714 seconds and 4 git commands to generate.