%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
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}
%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}