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