Orion Poplawski 8d2981
Name:		ckeditor
Orion Poplawski 9dfa8d
Version:	3.6.3
Orion Poplawski 9dfa8d
Release:	1%{?dist}
Orion Poplawski 8d2981
Summary:	WYSIWYG text editor to be used inside web pages
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Group:		Applications/Internet
Orion Poplawski 8d2981
License:	GPLv2+ or LGPLv2+ or MPLv1.1+
Orion Poplawski 8d2981
URL:		http://ckeditor.com/
Orion Poplawski 8d2981
Source0:	http://download.cksource.com/CKEditor/CKEditor/CKEditor%20%{version}/ckeditor_%{version}.tar.gz
Orion Poplawski 8d2981
Source1:	%{name}.conf
Orion Poplawski 8d2981
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Orion Poplawski 8d2981
BuildArch:	noarch
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Requires:	httpd
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%description
Orion Poplawski 8d2981
CKEditor is a text editor to be used inside web pages. It's a WYSIWYG editor,
Orion Poplawski 8d2981
which means that the text being edited on it looks as similar as possible to
Orion Poplawski 8d2981
the results users have when publishing it. It brings to the web common editing
Orion Poplawski 8d2981
features found on desktop editing applications like Microsoft Word and
Orion Poplawski 8d2981
OpenOffice.
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%prep
Orion Poplawski 8d2981
%setup -q -n %{name}
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%build
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%install
Orion Poplawski 8d2981
rm -rf $RPM_BUILD_ROOT
Orion Poplawski 8d2981
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
Orion Poplawski 8d2981
cp -rp * $RPM_BUILD_ROOT%{_datadir}/%{name}
Orion Poplawski 8d2981
chmod +x $RPM_BUILD_ROOT%{_datadir}/%{name}/_samples/adobeair/run.sh
Orion Poplawski 8d2981
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
Orion Poplawski 8d2981
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%clean
Orion Poplawski 8d2981
rm -rf $RPM_BUILD_ROOT
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%files
Orion Poplawski 8d2981
%defattr(-,root,root,-)
Orion Poplawski 8d2981
%doc CHANGES.html INSTALL.html LICENSE.html
Orion Poplawski 8d2981
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
Orion Poplawski 8d2981
%{_datadir}/%{name}
Orion Poplawski 8d2981
Orion Poplawski 8d2981
Orion Poplawski 8d2981
%changelog
Orion Poplawski 9dfa8d
* Fri Apr 27 2012 Orion Poplawski <orion@cora.nwra.com> 3.6.3-1
Orion Poplawski 9dfa8d
- Update to 3.6.3
Orion Poplawski 9dfa8d
Orion Poplawski 8d2981
* Mon Jan 23 2012 Orion Poplawski <orion@cora.nwra.com> 3.6.2-2
Orion Poplawski 8d2981
- Make %%doc line explicit
Orion Poplawski 8d2981
Orion Poplawski 8d2981
* Tue Oct 25 2011 Orion Poplawski <orion@cora.nwra.com> 3.6.2-1
Orion Poplawski 8d2981
- Update to 3.6.2
Orion Poplawski 8d2981
Orion Poplawski 8d2981
* Wed Aug 3 2011 Orion Poplawski <orion@cora.nwra.com> 3.6.1-1
Orion Poplawski 8d2981
- Update to 3.6.1
Orion Poplawski 8d2981
Orion Poplawski 8d2981
* Wed Oct 6 2010 Orion Poplawski <orion@cora.nwra.com> 3.4.1-1
Orion Poplawski 8d2981
- Initial package