-%include /usr/lib/rpm/macros.python
%define zope_subname CMFQuickInstallerTool
Summary: A Zope product independent from the former CMFQuickInstaller
Summary(pl): Dodatek do Zope niezale¿ny od poprzedniego CMFQuickInstallera
Name: Zope-%{zope_subname}
-Version: 1.3
-Release: 4
+Version: 1.5.3
+Release: 1
License: GPL
Group: Development/Tools
-Source0: http://dl.sourceforge.net/collective/%{zope_subname}_%{version}.tgz
-# Source0-md5: 60fff6fd03d1ab586479940561d17985
-URL: http://cvs.bluedynamics.org/viewcvs/CMFQuickInstallerTool/
+Source0: http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tgz
+# Source0-md5: 4e2a481f2092858129b0901293fcf88d
+URL: http://sourceforge.net/projects/collective/
+BuildRequires: python
%pyrequires_eq python-modules
Requires: Zope-CMF
Requires: Zope
%prep
%setup -q -n %{zope_subname}
-rm -rf {forms,interfaces}/CVS
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -af {forms,interfaces,*.py,*.gif} $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af {Extensions,forms,interfaces,tests,*.py,*.gif,version.txt,actions,properties} $RPM_BUILD_ROOT%{_datadir}/%{name}
%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
%files
%defattr(644,root,root,755)
-%doc AUTHORS README.txt
+%doc AUTHORS README.txt ChangeLog DEPENDS HISTORY.txt PLIP.TXT READMEPATCH.TXT
%{_datadir}/%{name}