-%include /usr/lib/rpm/macros.python
%define zope_subname Localizer
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 a2
+%define sub_ver a3
Version: 1.1.0
-Release: 3.%{sub_ver}
+Release: 4.%{sub_ver}.2
License: GPL v2+
Group: Development/Tools
Source0: http://dl.sourceforge.net/lleu/%{zope_subname}-%{version}%{sub_ver}.tgz
-# Source0-md5: 7d2f33fe81c1c9dd554ed3fcfa5dbb4d
+# Source0-md5: 40b1a3a8437b4eb4d71a9d1b39f2c1e7
URL: http://www.localizer.org/
BuildRequires: python >= 2.1
%pyrequires_eq python-modules
Requires: Zope >= 2.6
-Requires(post,postun): /usr/sbin/installzopeproduct
Requires: python-itools
+Requires: Zope-iHotfix >= 0.3
+Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
# should tests be included or not?
-cp -af {help,img,locale,tests,ui,*.py,*.gif,*.jpg,charsets.txt} \
+cp -af {help,img,locale,tests,ui,*.py,*.gif,*.jpg,charsets.txt,version.txt} \
$RPM_BUILD_ROOT%{_datadir}/%{name}
%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
%files
%defattr(644,root,root,755)
-%doc BUGS.txt README.txt RELEASE*.txt RELEASE*.txt.en TODO.txt old/*.txt
+%doc BUGS.txt README.txt RELEASE*.txt RELEASE*.txt.en TODO.txt old/*.txt INSTALL.txt
%lang(es) %doc RELEASE*.txt.es
%lang(fr) %doc RELEASE*.txt.fr
%{_datadir}/%{name}