2 # - connectors subpackages
3 Summary: The text editor for Internet
4 Summary(pl.UTF-8): Edytor tekstowy dla Internetu
9 Group: Applications/WWW
10 Source0: http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz
11 # Source0-md5: eb926332283376614ade9610f20b27d4
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.
24 %description -l pl.UTF-8
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.
34 # don't know if there's any interpreter for those on linux, so kill
35 rm -f fckeditor.{afp,asp,cfc,cfm,lasso}
38 sed -i -e 's,\r$,,' fckeditor.*
39 find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' -o -name '*.html' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
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)