Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 6bfcf13f5f6104287415e1a15077ef0c > files > 2

zope-kupu-1.2-0.rc1.1mdk.src.rpm

%define product		kupu
%define version		1.2
%define release		0.rc1.1mdk

%define zope_minver	2.7

%define zope_home	%{_libdir}/zope
%define software_home	%{zope_home}/lib/python

Summary:	Kupu is a cross-browser WYWSIWYG editor
Name:		zope-%{product}
Version:	%{version}
Release:	%{release}
License:	BSDish
Group:		System/Servers
Source:		http://kupu.oscom.org/midcom-serveattachmentguid-067137f672120e045fcdb8886bf2e0ff/kupu-1.2rc1.tar.bz2
URL:		http://kupu.oscom.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:	noarch
Requires:	zope >= %{zope_minver}

%description
Kupu is a cross-browser WYWSIWYG editor. It allows the comfortable
editing of the body of an HTML document. It's client-side (browser)
requirements are one of:

  - Mozilla 1.3.1 or higher

  - Internet Explorer 5.5 or higher

  - Netscape Navigator 7.1 or higher

Server-side there are hardly any requirements, except for some way of
processing data (CGI or something more fancy like PHP, ASP or Python
scripts in Zope).

Kupu is particularly suited for content migration as well as editing.
Content copied from an existing web page is pasted with all formatting
intact. This includes structure such as headings and lists, plus links,
image references, text styling, and other aspects. Copying text from a
word processor with an HTML clipboard - such as MSWord - works exactly
the same.

Kupu will clean up the content before it is sent to the server, and can
send data to the server asynchronously using PUT (which allows the data
to be saved without reloading the page) as well as in a form.

Kupu can be customized on many different levels, allowing a lot of changes
from CSS, but also providing a JavaScript extension API.


%prep
%setup -c

%build
# Not much, eh? :-)


%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}/%{software_home}/Products
%{__cp} -a * %{buildroot}%{software_home}/Products/


%clean
%{__rm} -rf %{buildroot}

%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
	service zope restart
fi

%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
	service zope restart
fi

%files
%defattr(-, root, root, 0755)
%{software_home}/Products/*


%changelog
* Mon Jan 24 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 1.2-0.rc1.1mdk
- initial contrib