-%include /usr/lib/rpm/macros.python
%define zope_subname zopeedit
Summary: Client-side helper application for ExternalEditor Zope product
Summary(pl): Aplikacja kliencka dla ExternalEditor, produktu Zope
Name: Zope-%{zope_subname}
-Version: 0.7.2
+Version: 0.9.1
Release: 1
License: ZPL 2.0
Group: Development/Tools
-Source0: http://zope.org/Members/Caseman/ExternalEditor/%{version}/%{zope_subname}-%{version}-src.tgz
-# Source0-md5: e2e9be6e50a67b401e346a5097fcb7fa
-URL: http://zope.org/Members/Caseman/ExternalEditor/
-BuildRequires: python >= 2.2
+Source0: http://plope.com/software/ExternalEditor/%{zope_subname}-%{version}-src.tgz
+# Source0-md5: 4a2f0be43b2e2bb8695504099519310a
+URL: http://plope.com/software/ExternalEditor/
Requires(post,postun): grep
Requires(postun): fileutils
+BuildRequires: python
%pyrequires_eq python-modules
Requires: python-tkinter
BuildArch: noarch
Aplikacja kliencka dla ExternalEditor, produktu Zope
%prep
-%setup -q -n %{zope_subname}-%{version}-src
+%setup -q -n %{zope_subname}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/%{zope_subname},%{_mandir}/man1,%{_bindir}}
install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
-cp -af {Plugins,%{zope_subname}.py} $RPM_BUILD_ROOT%{_datadir}/%{zope_subname}
+cp -af {Plugins,version.txt,%{zope_subname}.py} $RPM_BUILD_ROOT%{_datadir}/%{zope_subname}
%py_comp $RPM_BUILD_ROOT%{_datadir}/%{zope_subname}
%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{zope_subname}