]> git.pld-linux.org Git - packages/Zope-I18NLayer.git/blobdiff - Zope-I18NLayer.spec
- up to 0.7.0
[packages/Zope-I18NLayer.git] / Zope-I18NLayer.spec
index 57fe34d7ca9ecb4d8e0e43842b2f58eed8ba5beb..828de384b059420461ddc0925718d37d40b0c026 100644 (file)
@@ -1,20 +1,22 @@
 %define                zope_subname    I18NLayer
 Summary:       Provide multilanguage content support for existing document types
-Summary(pl):   Umo¿liwia tworzenie wielojêzykowych dokumentów w ¶rodowisku Zope
+Summary(pl.UTF-8):     Umożliwia tworzenie wielojęzykowych dokumentów w środowisku Zope
 Name:          Zope-%{zope_subname}
-Version:       0.5.7
+Version:       0.7.0
 Release:       1
 License:       GPL v2+
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
-# Source0-md5: 7912fd7590e084a838b445c91b616fb8
+#Source0:      http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/collective/I18NLayer-%{version}.tar.gz
+# Source0-md5: 3b01b48fda540e3c3c627738de34ccbb
 URL:           http://plone.org/Members/longsleep/I18NLayer/
 BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
 %pyrequires_eq python-modules
 Requires:      Zope
 Requires:      Zope-CMFPlone
-Requires:      Zope-archetypes
 Requires:      Zope-PloneLanguageTool
+Requires:      Zope-archetypes
 
 Requires(post,postun): /usr/sbin/installzopeproduct
 BuildArch:     noarch
@@ -25,9 +27,9 @@ I18NLayer provides a transparent overlay above multiple content
 objects to provide multilanguage content support for existing document
 types.
 
-%description -l pl
-I18NLayer dostarcza mechanizm tworzenia wielojêzykowych dokumentów dla
-produktów Zope.
+%description -l pl.UTF-8
+I18NLayer dostarcza mechanizm tworzenia wielojęzykowych dokumentów dla
+produktów Zope.
 
 %prep
 %setup -q -n %{zope_subname}
@@ -49,19 +51,14 @@ 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
 %defattr(644,root,root,755)
-%doc CHANGELOG
 %{_datadir}/%{name}
This page took 0.130082 seconds and 4 git commands to generate.