]>
Commit | Line | Data |
---|---|---|
a0e84142 ER |
1 | %define addon autogrow |
2 | Summary: AutoGrow plugin | |
3 | Name: ckeditor-addon-%{addon} | |
4 | Version: 4.2.3 | |
5 | Release: 1 | |
6 | # License: same as ckeditor | |
7 | License: LGPL v2.1+ / GPL v2+ / MPL | |
8 | Group: Applications/WWW | |
9 | Source0: http://download.ckeditor.com/autogrow/releases/autogrow_%{version}.zip | |
10 | # Source0-md5: 47d9ff305241de389e60c0c73de27d13 | |
46881b36 | 11 | Patch0: allow-disable.patch |
a0e84142 ER |
12 | URL: http://ckeditor.com/addon/autogrow |
13 | BuildRequires: rpmbuild(macros) >= 1.553 | |
14 | BuildRequires: sed >= 4.0 | |
15 | BuildRequires: unzip | |
16 | Requires: ckeditor | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define _appdir %{_datadir}/ckeditor | |
21 | %define _pluginsdir %{_appdir}/plugins | |
22 | ||
23 | %description | |
24 | With this plugin, the editor content space will automatically expand | |
25 | horizontally to fit the content. | |
26 | ||
27 | The following configuration options are available: | |
28 | - maximum and minimum autogrow size. | |
29 | - have autogrow happen on editor startup | |
30 | ||
31 | Note: This plugin is to be used with the themedui creato | |
32 | ||
33 | %prep | |
34 | %setup -qc | |
46881b36 | 35 | %patch0 -p0 |
a0e84142 ER |
36 | mv %{addon}/samples . |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{_pluginsdir} | |
41 | cp -a %{addon} $RPM_BUILD_ROOT%{_pluginsdir} | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc samples | |
49 | %{_pluginsdir}/%{addon} |