]> git.pld-linux.org Git - packages/Zope-CMFPlone.git/blobdiff - Zope-CMFPlone.spec
- removed %%include /usr/lib/rpm/macros.python
[packages/Zope-CMFPlone.git] / Zope-CMFPlone.spec
index 01b452e7ec7e5c0b18831777a37a5890d404af2d..a3ed756b05dac387cbdc7dad261827423ebc4c0d 100644 (file)
@@ -1,24 +1,28 @@
-%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
+Summary(pl):   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}
+Version:       2.0.3
+# %%define             sub_ver RC6
+Release:       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
+Source0:       http://dl.sourceforge.net/plone/Plone-%{version}.tar.gz
+# Source0-md5: ee8f1ae0e95ebfa2cd0585fc42bccd10
 URL:           http://www.plone.org/
 %pyrequires_eq python-modules
-Requires:      Zope-CMF >= 1.4
+Requires:      Zope-archetypes >= 1.2.5
+Requires:      Zope-PortalTransforms
+Requires:      Zope-CMF >= 1.4.4
 Requires:      Zope >= 2.6.2
 Requires:      Zope-BTreeFolder2
-Requires:      Zope-CMFQuickInstallerTool
+Requires:      Zope-CMFQuickInstallerTool >= 1.5.0
 Requires:      Zope-ExternalEditor
-Requires:      Zope-Formulator
-Requires:      Zope-GroupUserFolder
+Requires:      Zope-Formulator >= 1.6.2
+Requires:      Zope-GroupUserFolder >= 2.0.1
+Requires:      Zope-Epoz
+Requires:      i18ndude
 Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,20 +46,23 @@ zabezpieczenia serwisu. Plone dzia
 Pythonem.
 
 %prep
-%setup -q -n %{zope_subname}-%{version}-%{sub_ver}
-
-%build
+%setup -q -n Plone-%{version}
 # remove dirs - additional packages!
-rm -rf {BTreeFolder2,CMFQuickInstallerTool,ExternalEditor,GroupUserFolder,Formulator}
+# ExternalEditor
+rm -rf {BTreeFolder2,CMFQuickInstallerTool,Formulator,GroupUserFolder,Archetypes,generator,validation}
+rm -rf {CMFCalendar,CMFCore,CMFDefault,CMFTopic,DCWorkflow,PortalTransforms,Epoz}
+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/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
@@ -71,17 +78,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 PloneErrorReporting; 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 PloneErrorReporting; do
                /usr/sbin/installzopeproduct -d $p
        done
        if [ -f /var/lock/subsys/zope ]; then
This page took 0.076328 seconds and 4 git commands to generate.