%define product Epoz %define version 0.9.0 %define release 1mdk %define zope_minver 2.7 %define zope_home %{_libdir}/zope %define software_home %{zope_home}/lib/python Summary: Epoz allows you to edit Zope-objects with a wysiwyg-editor Name: zope-%{product} Version: %{version} Release: %{release} License: GPL Group: System/Servers Source: http://mjablonski.zope.de/Epoz/releases/Epoz-%{version}.tar.bz2 URL: http://mjablonski.zope.de/Epoz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Requires: zope >= %{zope_minver} %description No plugins are required. You only have to use a recent browser (IE >= 5.5, Mozilla >= 1.3.1, Netscape >= 7.1, Firebird >= 0.7) that supports Rich-Text-controls (called Midas for Mozilla). %prep %setup -c %build find -name '*.tar.gz' -exec rm -f {} \; rm -f Epoz/.project %install %{__rm} -rf %{buildroot} %{__mkdir_p} %{buildroot}/%{software_home}/Products %{__cp} -a * %{buildroot}%{software_home}/Products/ %clean %{__rm} -rf %{buildroot} %post if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then service zope restart fi %postun if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then service zope restart fi %files %defattr(0644, root, root, 0755) %{software_home}/Products/* %changelog * Wed Jan 26 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 0.9.0-1mdk - New release 0.9.0 * Thu Dec 12 2004 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 0.8.6-1mdk - initial contrib