-#
-# TODO:
-# - Please test in stable version of Zope
-# - On Zope 2.7.0beta3 this version make "connection refused" error
-#
-%include /usr/lib/rpm/macros.python
+
+%include /usr/lib/rpm/macros.python
%define zope_subname epoz
-Summary: epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor.
-Summary(pl): Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w trybie WYSIWYG.
+Summary: epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor
+Summary(pl): Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w trybie WYSIWYG
Name: Zope-%{zope_subname}
-Version: 1.0
+Version: 1.0.2
Release: 1
License: ZPL 2.0
Group: Development/Tools
Source0: http://dl.sourceforge.net/%{zope_subname}/%{zope_subname}-%{version}.tgz
-# Source0-md5: 573fef5d349ea5cd54105f8dad8eee5d
+# Source0-md5: 4d941438805dd849d4a3256c52ba65a4
URL: http://sourceforge.net/projects/epoz/
-%pyrequires_eq python-modules
+%pyrequires_eq python-modules
Requires: Zope
Requires(post,postun): /usr/sbin/installzopeproduct
Obsoletes: Zope-Epoz
trybie WYSIWYG.
%prep
-%setup -q -n %{zope_subname}
+%setup -q -c
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -af * $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af %{zope_subname}-%{version}/* $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 doc
+%doc %{zope_subname}-%{version}/doc/*
%{_datadir}/%{name}