--- /dev/null
+%include /usr/lib/rpm/macros.python
+Summary: Plone - a free, open source Content Management System based on Zope and CMF
+Summary: Plone - darmowy, otwarty system zarz±dzania tre¶ci± oparty na Zope i CMF
+Name: Plone
+Version: 1.1
+%define sub_ver alpha2
+Release: 2.%{sub_ver}
+License: Zope Public License (ZPL), GPL
+Group: Networking/Daemons
+Source0: http://dl.sourceforge.net/plone/CMF%{name}%{version}%{sub_ver}.tar.gz
+# Source0-md5: 1f848c36fa1f06761185a12e08af28ff
+URL: http://www.plone.org/
+%pyrequires_eq python-modules
+Requires: CMF >= 1.4
+Requires: Zope
+Requires: Zope-BTreeFolder2
+Requires: Zope-CMFQuickInstallerTool
+Requires: Zope-ExternalEditor
+Requires: Zope-Formulator
+Requires: Zope-GroupUserFolder
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define product_dir /usr/lib/zope/Products
+
+%description
+Plone is a free, open source Content Management System. The focus of
+Plone is to provide value at every level of an organization. It comes
+with a workflow engine, pre-configured security and roles, a set of
+content types and multi-lingual support. There are many developers,
+writers and testers from all over the world, contributing to Plone
+everyday. Plone is based on the Content Management Framework.
+
+%description -l pl
+Plone jest darmowym systemem zarz±dzania informacj± z otwartym kodem
+¼ród³owym. G³ównym celem Plone jest mo¿liwo¶æ dzielenia siê informacj±
+na ka¿dym poziomie dostêpu. Jest to "silnik" serwisu umo¿liwiaj±cy
+pracê z wieloma jêzykami, z wstêpn± konfiguracj± uwzglêdniaj±c±
+zabezpieczenia serwisu. Plone dzia³a w zestawie z CMF, Zope i
+Pythonem.
+
+%prep
+%setup -q -n CMF%{name}-%{version}
+
+%build
+# remove dirs - additonal specs!
+rm -rf {BTreeFolder2,CMFQuickInstallerTool,ExternalEditor,GroupUserFolder,Formulator}
+
+mkdir docs docs/CMFPlone
+rm -rf `find . type f -name .cvsignore`
+mv -f CMFPlone/{CREDITS.txt,ChangeLog,HISTORY.txt,INSTALL.txt,README.txt} docs/CMFPlone
+mv -f CMFPlone/docs/* docs/CMFPlone
+rm -rf CMFPlone/docs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{product_dir}
+cp -af * $RPM_BUILD_ROOT%{product_dir}
+
+%py_comp $RPM_BUILD_ROOT%{product_dir}
+%py_ocomp $RPM_BUILD_ROOT%{product_dir}
+
+find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{product_dir}/docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+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
+echo "The default Plone administrator userid is 'admin' with password 'plone'." >&2
+
+%postun
+if [ -f /var/lock/subsys/zope ]; then
+ /etc/rc.d/init.d/zope restart >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%{product_dir}/CMFPlone
+%{product_dir}/CMFActionIcons
+%{product_dir}/i18n