]> git.pld-linux.org Git - packages/Zope-ZAAPlugins.git/blobdiff - Zope-ZAAPlugins.spec
- tabs in preamble
[packages/Zope-ZAAPlugins.git] / Zope-ZAAPlugins.spec
index 195359c802d4ea17402a439528aa5f28cd73f846..9977156368507add90b28c0999c6537ef8d215bd 100644 (file)
@@ -1,6 +1,6 @@
 %define                zope_subname    ZAAPlugins
 Summary:       A set of plugins for use with ZAttachmentAttribute
-Summary(pl):   Zestaw wtyczek do wykorzystania z ZAttachmentAttribute
+Summary(pl.UTF-8):     Zestaw wtyczek do wykorzystania z ZAttachmentAttribute
 Name:          Zope-%{zope_subname}
 Version:       2.3
 Release:       1
@@ -9,26 +9,24 @@ Group:                Development/Tools
 Source0:       http://dl.sourceforge.net/ingeniweb/%{zope_subname}-%{version}.tar.gz
 # Source0-md5: 64f6476d8ae6f2a572a8a2662fa5ec7c
 URL:           http://sourceforge.net/projects/ingeniweb/
+BuildRequires: rpmbuild(macros) >= 1.268
 %pyrequires_eq python-modules
-Requires:      Zope
 Requires(post,postun): /usr/sbin/installzopeproduct
+Requires:      Zope
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 A set of plugins for use with ZAttachmentAttribute.
 
-%description -l pl
+%description -l pl.UTF-8
 Zestaw wtyczek do wykorzystania z ZAttachmentAttribute.
 
 %prep
 %setup -q -n %{zope_subname}
 
-%build
-
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 cp -af Audio Autocad Extensions HTML Image \
@@ -43,16 +41,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.049532 seconds and 4 git commands to generate.