# TODO # - connectors subpackages Summary: The text editor for Internet Summary(pl.UTF-8): Edytor tekstowy dla Internetu Name: fckeditor Version: 2.6.2 Release: 0.2 License: LGPL v2.1 Group: Applications/WWW Source0: http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz # Source0-md5: edc7270914e17fdfc5ad00e22eee1c38 URL: http://www.fckeditor.net/ BuildRequires: sed >= 4.0 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _appdir %{_datadir}/%{name} %description This HTML text editor brings to the web many of the powerful functionalities of desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer. %description -l pl.UTF-8 Ten edytor tekstu HTML udostępnia stronom WWW wiele potężnych funkcji edytorów biurowych, takich jak MS Word. Jest lekki i nie wymaga żadnej inicjalizacji na komputerze klienckim. %prep %setup -qc mv fckeditor/* . rmdir fckeditor # don't know if there's any interpreter for those on linux, so kill rm -f fckeditor.{afp,asp,cfc,cfm,lasso} # undos the source sed -i -e 's,\r$,,' fckeditor.* find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' -o -name '*.html' ')' -print0 | xargs -0 sed -i -e 's,\r$,,' %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_appdir} cp -a fckconfig.* $RPM_BUILD_ROOT%{_appdir} cp -a editor $RPM_BUILD_ROOT%{_appdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc _* %{_appdir}