]> git.pld-linux.org Git - packages/Zope-PlacelessTranslationService.git/blobdiff - Zope-PlacelessTranslationService.spec
- tabs in preamble
[packages/Zope-PlacelessTranslationService.git] / Zope-PlacelessTranslationService.spec
index bc9036d3e1d4f8d1d7202662b30291e02daa4dc0..2b7d13bd9b67198511632cc4673dac6d40a1847b 100644 (file)
@@ -1,15 +1,16 @@
 %define        zope_subname    PlacelessTranslationService
 Summary:       PTS is, a translation service for Zope
-Summary(pl):   PTS - us³uga pomagaj±ca lokalizowaæ us³ugi Zope
+Summary(pl.UTF-8):     PTS - usługa pomagająca lokalizować usługi Zope
 Name:          Zope-%{zope_subname}
-Version:       1.2.4
+Version:       1.2.6
 Release:       1
 License:       GPL v2
 Group:         Development/Tools
 Source0:       http://plone.org/products/pts/releases/%{version}/PlacelessTranslationService-%{version}.tar.gz
-# Source0-md5: 31257fa54febbf1a1c3de7fe9e2ca32a
+# Source0-md5: c081dcc7379478e5dd9500419b2d557a
 URL:           http://plone.org/products/pts/
 BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 %pyrequires_eq python-modules
 Requires(post,postun): /usr/sbin/installzopeproduct
 Requires:      Zope
@@ -22,9 +23,9 @@ PTS is, a translation service. It's a zope-wide service, which reads
 "PO" format files containing translations for messages, and provides
 these translations to Zope software when requested.
 
-%description -l pl
-PTS jest us³ug± pomagaj±c± lokalizowaæ us³ugi Zope. Czyta pliki
-formatu "PO" zawieraj±ce t³umaczenia i udostêpnia te t³umaczenia,
+%description -l pl.UTF-8
+PTS jest usługą pomagającą lokalizować usługi Zope. Czyta pliki
+formatu "PO" zawierające tłumaczenia i udostępnia te tłumaczenia,
 kiedy odpowiedni produkt o to poprosi.
 
 %prep
@@ -47,16 +48,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.062826 seconds and 4 git commands to generate.