%define Product CMFQuickInstallerTool %define product cmfquickinstallertool %define name zope-%{Product} %define version 2.0.4 %define release %mkrel 7 %define zope_minver 2.7 %define zope_home %{_prefix}/lib/zope %define software_home %{zope_home}/lib/python Name: %{name} Version: %{version} Release: %{release} Summary: A facility for activation/deactivation of CMF products inside a CMF site License: GPL Group: System/Servers URL: http://plone.org/products/%{product} Source: http://plone.org/products/%{product}/releases/%{version}/%{Product}-%{version}.tar.gz Requires: zope >= %{zope_minver} Requires: zope-CMF BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description CMFQuickInstallerTool is a facility for comfortable activation/deactivation of CMF compliant products inside a CMF site. QuickInstallerTool only tracks which objects are added, but not what is changed or deleted. %prep %setup -c -q %build # Not much, eh? :-) %install %{__rm} -rf %{buildroot} %{__mkdir_p} %{buildroot}/%{software_home}/Products %{__cp} -a * %{buildroot}%{software_home}/Products/ rm -rf %{buildroot}%{software_home}/Products/%{product}/debian %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 * Wed Sep 09 2009 Thierry Vignaud <tvignaud@mandriva.com> 2.0.4-7mdv2010.0 + Revision: 435526 - rebuild - rebuild * Mon Aug 04 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.0.4-5mdv2009.0 + Revision: 263119 - rebuild - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Dec 14 2007 Thierry Vignaud <tvignaud@mandriva.com> 2.0.4-2mdv2008.1 + Revision: 119747 - description is not a programming manuel * Thu Dec 13 2007 Giuseppe Ghibò <ghibo@mandriva.com> 2.0.4-1mdv2008.1 + Revision: 119462 - Release 2.0.4. * Sun Sep 16 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.0.3-1mdv2008.0 + Revision: 88527 - new version * Tue Aug 08 2006 glehmann + 08/08/06 13:02:39 (54438) update to 1.5.9 * Mon Aug 07 2006 Nicolas Lécureuil <neoclust@mandriva.org> + 08/07/06 16:30:29 (54002) - Fix rpmlint warnings * Sun Jul 30 2006 glehmann + 07/30/06 10:57:52 (42752) Import zope-CMFQuickInstallerTool * Sat Mar 04 2006 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.5.7-1mdk - 1.5.7 * Sun Aug 21 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.5.5-2mdk - fix path on x86_64 * Thu Aug 04 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.5.5-1mdk - New release 1.5.5 * Tue Jun 28 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.5.3-1mdk - New release 1.5.3 - fix too long summary and description - fix non executable script warning * Sun Apr 24 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.5.2-1mdk - New release 1.5.2 - use mkrel * Thu Jan 27 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.5.1-1mdk - initial contrib