2 # - connectors subpackages
3 Summary: The text editor for Internet
4 Summary(pl): Edytor tekstowy dla Internetu
9 Group: Applications/WWW
10 Source0: http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz
11 # Source0-md5: c41f2eeb93757ed06a8556dc8f2a15a0
12 URL: http://www.fckeditor.net/
13 BuildRequires: sed >= 4.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _appdir %{_datadir}/%{name}
20 This HTML text editor brings to the web many of the powerful
21 functionalities of desktop editors like MS Word. It's lightweight and
22 doesn't require any kind of installation on the client computer.
25 Ten edytor tekstu HTML udostêpnia stronom WWW wiele potê¿nych funkcji
26 edytorów biurowych, takich jak MS Word. Jest lekki i nie wymaga ¿adnej
27 inicjalizacji na komputerze klienckim.
30 %setup -q -n FCKeditor
32 # don't know if there's any interpreter for those on linux, so kill
33 rm -f fckeditor.{afp,asp,cfc,cfm,lasso}
36 sed -i -e 's,\r$,,' fckeditor.*
37 find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
39 find -name '*.suspended' | xargs rm -v
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_appdir}
44 cp -a fckconfig.* $RPM_BUILD_ROOT%{_appdir}
45 cp -a editor $RPM_BUILD_ROOT%{_appdir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)