]> git.pld-linux.org Git - packages/fckeditor.git/blob - fckeditor.spec
bee28b66ddf802ef995f7ffba1bb3a6baaddf526
[packages/fckeditor.git] / fckeditor.spec
1 # TODO
2 # - connectors subpackages
3 Summary:        The text editor for Internet
4 Summary(pl.UTF-8):      Edytor tekstowy dla Internetu
5 Name:           fckeditor
6 Version:        2.6.3
7 Release:        0.1
8 License:        LGPL v2.1
9 Group:          Applications/WWW
10 Source0:        http://dl.sourceforge.net/fckeditor/FCKeditor_%{version}.tar.gz
11 # Source0-md5:  eb926332283376614ade9610f20b27d4
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
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
27 inicjalizacji na komputerze klienckim.
28
29 %prep
30 %setup -qc
31 mv fckeditor/* .
32 rmdir fckeditor
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' -o -name '*.html' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
40
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}
This page took 0.039914 seconds and 2 git commands to generate.