]> git.pld-linux.org Git - packages/fckeditor.git/blame - fckeditor.spec
- tabs in preamble
[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
ER
5Name: fckeditor
6Version: 2.1.1
7Release: 0.1
8License: LGPL v2.1
9Group: Applications/WWW
10Source0: http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz
11# Source0-md5: c41f2eeb93757ed06a8556dc8f2a15a0
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
ER
29%prep
30%setup -q -n FCKeditor
31
32# don't know if there's any interpreter for those on linux, so kill
33rm -f fckeditor.{afp,asp,cfc,cfm,lasso}
34
35# undos the source
36sed -i -e 's,\r$,,' fckeditor.*
37find '(' -name '*.js' -o -name '*.css' -o -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
38
39find -name '*.suspended' | xargs rm -v
40
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.06443 seconds and 4 git commands to generate.