]> git.pld-linux.org Git - packages/Zope-CMFQuickInstallerTool.git/blobdiff - Zope-CMFQuickInstallerTool.spec
- tabs in preamble
[packages/Zope-CMFQuickInstallerTool.git] / Zope-CMFQuickInstallerTool.spec
index 247b14418cf5304b662d41950fcf313d58bb972e..aa47a7bc66e25c7e8b1f330d77fbe7cbcf5ba386 100644 (file)
@@ -1,22 +1,23 @@
 %define                zope_subname    CMFQuickInstallerTool
 Summary:       A Zope product independent from the former CMFQuickInstaller
-Summary(pl):   Dodatek do Zope niezale¿ny od poprzedniego CMFQuickInstallera
+Summary(pl.UTF-8):     Dodatek do Zope niezależny od poprzedniego CMFQuickInstallera
 Name:          Zope-%{zope_subname}
-Version:       1.5.5
+Version:       1.5.7
 Release:       1
 License:       GPL
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tgz
-# Source0-md5: 8ed7f7922a2620e6692e39f01afe10f6
+Source0:       http://plone.org/products/cmfquickinstallertool/releases/%{version}/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: 1f662098e304c11167a2c5e8ed46eb14
 URL:           http://sourceforge.net/projects/collective/
 BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 %pyrequires_eq python-modules
-Requires:      Zope-CMF
-Requires:      Zope
 Requires(post,postun): /usr/sbin/installzopeproduct
+Requires:      Zope
+Requires:      Zope-CMF
+Conflicts:     CMF
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Conflicts:     CMF
 
 %define        product_dir     /usr/lib/zope/Products
 
@@ -25,10 +26,10 @@ CMFQuickInstallerTool is a Zope product independent from the former
 CMFQuickInstaller. The main difference to CMFQuickInstaller the
 tracking of what a product creates during install.
 
-%description -l pl
-CMFQuickInstallerTool jest dodatkiem do Zope niezale¿nym od
-poprzedniego CMFQuickInstallera. G³ówna ró¿nica w stosunku do
-CMFQuickInstallera to mo¿liwo¶æ ¶ledzenia, co tworzy dany produkt w
+%description -l pl.UTF-8
+CMFQuickInstallerTool jest dodatkiem do Zope niezależnym od
+poprzedniego CMFQuickInstallera. Główna różnica w stosunku do
+CMFQuickInstallera to możliwość śledzenia, co tworzy dany produkt w
 czasie instalacji.
 
 %prep
@@ -50,16 +51,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
-if [ -f /var/lock/subsys/zope ]; then
-       /etc/rc.d/init.d/zope restart >&2
-fi
+%service -q zope restart
 
 %postun
 if [ "$1" = "0" ]; then
        /usr/sbin/installzopeproduct -d %{zope_subname}
-       if [ -f /var/lock/subsys/zope ]; then
-               /etc/rc.d/init.d/zope restart >&2
-       fi
+       %service -q zope restart
 fi
 
 %files
This page took 0.084496 seconds and 4 git commands to generate.