]>
Commit | Line | Data |
---|---|---|
11e4bb06 ER |
1 | # TODO |
2 | # - connectors subpackages | |
3 | Summary: The text editor for Internet | |
0d5841a4 | 4 | Summary(pl.UTF-8): Edytor tekstowy dla Internetu |
11e4bb06 | 5 | Name: fckeditor |
3d29de61 | 6 | Version: 2.6.2 |
11e4bb06 ER |
7 | Release: 0.1 |
8 | License: LGPL v2.1 | |
9 | Group: Applications/WWW | |
10 | Source0: http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz | |
3d29de61 | 11 | # Source0-md5: edc7270914e17fdfc5ad00e22eee1c38 |
11e4bb06 ER |
12 | URL: http://www.fckeditor.net/ |
13 | BuildRequires: sed >= 4.0 | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _appdir %{_datadir}/%{name} | |
18 | ||
19 | %description | |
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. | |
23 | ||
9d354683 JR |
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 | |
2927bf25 JB |
27 | inicjalizacji na komputerze klienckim. |
28 | ||
11e4bb06 | 29 | %prep |
3d29de61 ER |
30 | %setup -qc |
31 | mv fckeditor/* . | |
32 | rmdir fckeditor | |
11e4bb06 ER |
33 | |
34 | # don't know if there's any interpreter for those on linux, so kill | |
35 | rm -f fckeditor.{afp,asp,cfc,cfm,lasso} | |
36 | ||
37 | # undos the source | |
38 | sed -i -e 's,\r$,,' fckeditor.* | |
39 | find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,\r$,,' | |
40 | ||
11e4bb06 ER |
41 | %install |
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} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc _* | |
53 | %{_appdir} |