-%include /usr/lib/rpm/macros.python
%define zope_subname Formulator
-
Summary: Zope framework that eases the creation and validation of web forms
Summary(pl): Dodatek do Zope u³atwiaj±cy tworzenie i sprawdzanie poprawno¶ci formularzy WWW
Name: Zope-%{zope_subname}
-Version: 1.5.0
+Version: 1.6.2
Release: 2
License: BSD-like
Group: Development/Tools
Source0: http://www.zope.org/Members/infrae/Formulator/Formulator-%{version}/%{zope_subname}-%{version}.tgz
-# Source0-md5: 3a8dbedbc72f9176ca7fe5a54043e8d4
+# Source0-md5: c5eb395918349036c7ac400dbbff98e9
URL: http://www.zope.org/Members/infrae/Formulator/
-%pyrequires_eq python-modules
+BuildRequires: python
+%pyrequires_eq python-modules
Requires: Zope
+Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -af * $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af {dtml,help,tests,www,*.py,*.html,refresh.txt,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}