1 %define zope_subname ExternalEditor
2 Summary: A Zope product integrating Zope more seamlessly with client-side tools
3 Summary(pl): Dodatek do Zope lepiej intergruj±cy Zope z narzêdziami od strony klienta
4 Name: Zope-%{zope_subname}
8 Group: Development/Tools
9 Source0: http://plope.com/software/ExternalEditor/ExternalEditor-%{version}-src.tgz
10 # Source0-md5: 6befe8f5af29e8b4e27d9aba0299b57c
11 URL: http://plope.com/software/ExternalEditor/
13 %pyrequires_eq python-modules
15 Requires(post,postun): /usr/sbin/installzopeproduct
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 ExternalEditor is a Zope product, a new way to integrate Zope more seamlessly
21 with client-side tools.
22 This package is supposed to be installed on Zope server, there is a zopeedit
26 ExternalEditor jest dodatkiem do Zope, umo¿liwiaj±cym w nowy, bardziej
27 przezroczysty sposób integrowaæ Zope z narzêdziami od strony klienta.
28 Ten pakiet powinien byæ zainstalowany na serwerze Zope. Od strony klienta
29 dostêp do niego zapewnia pakiet zopeedit.
32 %setup -q -n %{zope_subname}
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
37 # install -d $RPM_BUILD_ROOT%{_mandir}/man1
39 cp -af {Plugins,*.py,*.gif,*.dtml,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
40 # cp -af man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
42 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
43 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
45 # rm $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}/*.py
48 rm -rf $RPM_BUILD_ROOT
51 /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
52 if [ -f /var/lock/subsys/zope ]; then
53 /etc/rc.d/init.d/zope restart >&2
57 if [ "$1" = "0" ]; then
58 /usr/sbin/installzopeproduct -d %{zope_subname}
59 if [ -f /var/lock/subsys/zope ]; then
60 /etc/rc.d/init.d/zope restart >&2
65 %defattr(644,root,root,755)
66 %doc CHANGES.txt INSTALL-UNIX.txt README.txt