]> git.pld-linux.org Git - packages/fckeditor.git/blob - fckeditor.spec
1a7c2818a02261a55df2313149010f950bb45a82
[packages/fckeditor.git] / fckeditor.spec
1 # TODO
2 # - connectors subpackages
3 Summary:        The text editor for Internet
4 Name:           fckeditor
5 Version:        2.1.1
6 Release:        0.1
7 License:        LGPL v2.1
8 Group:          Applications/WWW
9 Source0:        http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz
10 # Source0-md5:  c41f2eeb93757ed06a8556dc8f2a15a0
11 URL:            http://www.fckeditor.net/
12 BuildRequires:  sed >= 4.0
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _appdir %{_datadir}/%{name}
17
18 %description
19 This HTML text editor brings to the web many of the powerful
20 functionalities of desktop editors like MS Word. It's lightweight and
21 doesn't require any kind of installation on the client computer.
22
23 %prep
24 %setup -q -n FCKeditor
25
26 # don't know if there's any interpreter for those on linux, so kill
27 rm -f fckeditor.{afp,asp,cfc,cfm,lasso}
28
29 # undos the source
30 sed -i -e 's,\r$,,' fckeditor.*
31 find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
32
33 find -name '*.suspended' | xargs rm -v
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_appdir}
38 cp -a fckconfig.* $RPM_BUILD_ROOT%{_appdir}
39 cp -a editor $RPM_BUILD_ROOT%{_appdir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc _*
47 %{_appdir}
This page took 0.039624 seconds and 2 git commands to generate.