%define Product Formulator %define product formulator %define name zope-%{Product} %define version 1.11.3 %define release %mkrel 1 %define zope_minver 2.6 %define zope_home %{_prefix}/lib/zope %define software_home %{zope_home}/lib/python Name: %{name} Version: %{version} Release: %{release} Summary: An extensible framework that eases the creation and validation of web forms License: GPL Group: System/Servers URL: http://www.infrae.com/download/Formulator Source: http://www.infrae.com/download/Formulator/%{version}/%{Product}-%{version}.tgz Requires: zope >= %{zope_minver} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Formulator is an extensible framework that eases the creation and validation of web forms. %prep %setup -c -q %build # Not much, eh? :-) %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(-,root,root) %{software_home}/Products/* %changelog * Sun Sep 16 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.11.3-1mdv2008.0 + Revision: 88800 - new version * Mon Aug 07 2006 Nicolas Lécureuil <neoclust@mandriva.org> + 08/07/06 14:25:45 (53912) - Fix rpmlint warnings * Sun Jul 30 2006 glehmann + 07/30/06 10:59:12 (42762) Import zope-Formulator * Fri Feb 03 2006 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.11.1-1mdk - New release 1.11.1 * Sun Aug 21 2005 Gaetan Lehmann <glehmann@deborah.mandriva.com> 1.9.0-3mdk - fix path on x86_64 * Wed Jul 27 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.9.0-2mdk - provides/obsoletes Formulator * Tue Jun 28 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.9.0-1mdk - New release 1.9.0 - fix too long summary and description * Sun Apr 24 2005 Gaetan Lehmann <glehmann@n4.mandrakesoft.com> 1.8.0-2mdk - use mkrel * Thu Jan 27 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.8.0-1mdk - initial contrib