-%include /usr/lib/rpm/macros.python
%define zope_subname ExtFile
Summary: Product stores large files in an external file-repository
-Summary(pl): Produkt umo¿liwiaj±cy obs³uge du¿ych plików w zewnêtrznych repozytoriach
+Summary(pl): Produkt umo¿liwiaj±cy obs³ugê du¿ych plików w zewnêtrznych repozytoriach
Name: Zope-%{zope_subname}
-Version: 1.1.3
-Release: 1
+Version: 1.4.2
+Release: 2
License: Distributable
Group: Development/Tools
-Source0: http://zope.org/Members/MacGregor/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tgz
-# Source0-md5: c5963b22b83a9ee0bb3fe46e525f38c0
-URL: http://zope.org/Members/MacGregor/ExtFile/
+Source0: http://zope.org/Members/shh/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: 4fdf93b56ee148c10ffcd69feddcf3c9
+URL: http://zope.org/Members/shh/ExtFile/
+BuildRequires: python
%pyrequires_eq python-modules
-Requires: ImageMagick
+Requires: python-Imaging
Requires: Zope
Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -af {icons,www,*.py,*.dtml,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af {Extensions,dtml,icons,tests,utilities,www,*.py,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
%postun
if [ "$1" = "0" ]; then
- /usr/sbin/installzopeproduct -d %{zope_subname}
- if [ -f /var/lock/subsys/zope ]; then
- /etc/rc.d/init.d/zope restart >&2
- fi
+ /usr/sbin/installzopeproduct -d %{zope_subname}
+ if [ -f /var/lock/subsys/zope ]; then
+ /etc/rc.d/init.d/zope restart >&2
+ fi
fi
%files
%defattr(644,root,root,755)
-%doc CHANGES.txt LICENSE.txt README.txt
+%doc doc-1.1/ CHANGES.txt README.txt UPGRADE.txt
%{_datadir}/%{name}