Summary: A Zope product to develop multilingual web application
Summary(pl): Dodatek do Zope umo¿liwiaj±cy tworzenie wielojêzycznych aplikacji WWW
Name: Zope-%{zope_subname}
-%define sub_ver b2
-Version: 1.1.0
-Release: 4.%{sub_ver}.1
+#%%define sub_ver b5
+Version: 1.1.1
+Release: 1
License: GPL v2+
Group: Development/Tools
-Source0: http://dl.sourceforge.net/lleu/%{zope_subname}-%{version}%{sub_ver}.tar.gz
-# Source0-md5: d59bc976d6be8d227dc6e2a4ad16148d
+Source0: http://www.ikaaro.org/download/localizer/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: ab6f95886f3475387078966780438083
URL: http://www.localizer.org/
-BuildRequires: python >= 2.2
+BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
%pyrequires_eq python-modules
-Requires: Zope >= 2.6
-Requires: python-itools >= 0.5
-Requires: Zope-iHotfix >= 0.5
Requires(post,postun): /usr/sbin/installzopeproduct
+Requires: Zope >= 2.7
+Requires: Zope-iHotfix >= 0.5.2
+Requires: python-itools >= 0.9.2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
wielojêzycznych aplikacji WWW.
%prep
-%setup -q -n %{zope_subname}-%{version}%{sub_ver}
+%setup -q -n %{zope_subname}-%{version}
%install
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 README.txt RELEASE*.txt RELEASE*.txt.en TODO.txt old/*.txt
+%doc CHANGES.txt Changelog README.txt RELEASE*.txt.en TODO.txt
%lang(es) %doc RELEASE*.txt.es
%lang(fr) %doc RELEASE*.txt.fr
%{_datadir}/%{name}