]> git.pld-linux.org Git - packages/fckeditor.git/blame - fckeditor.spec
- 2.6.2
[packages/fckeditor.git] / fckeditor.spec
CommitLineData
11e4bb06
ER
1# TODO
2# - connectors subpackages
3Summary: The text editor for Internet
0d5841a4 4Summary(pl.UTF-8): Edytor tekstowy dla Internetu
11e4bb06 5Name: fckeditor
3d29de61 6Version: 2.6.2
11e4bb06
ER
7Release: 0.1
8License: LGPL v2.1
9Group: Applications/WWW
10Source0: http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz
3d29de61 11# Source0-md5: edc7270914e17fdfc5ad00e22eee1c38
11e4bb06
ER
12URL: http://www.fckeditor.net/
13BuildRequires: sed >= 4.0
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _appdir %{_datadir}/%{name}
18
19%description
20This HTML text editor brings to the web many of the powerful
21functionalities of desktop editors like MS Word. It's lightweight and
22doesn't require any kind of installation on the client computer.
23
9d354683
JR
24%description -l pl.UTF-8
25Ten edytor tekstu HTML udostępnia stronom WWW wiele potężnych funkcji
26edytorów biurowych, takich jak MS Word. Jest lekki i nie wymaga żadnej
2927bf25
JB
27inicjalizacji na komputerze klienckim.
28
11e4bb06 29%prep
3d29de61
ER
30%setup -qc
31mv fckeditor/* .
32rmdir fckeditor
11e4bb06
ER
33
34# don't know if there's any interpreter for those on linux, so kill
35rm -f fckeditor.{afp,asp,cfc,cfm,lasso}
36
37# undos the source
38sed -i -e 's,\r$,,' fckeditor.*
39find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
40
11e4bb06
ER
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{_appdir}
44cp -a fckconfig.* $RPM_BUILD_ROOT%{_appdir}
45cp -a editor $RPM_BUILD_ROOT%{_appdir}
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc _*
53%{_appdir}
This page took 0.064013 seconds and 4 git commands to generate.