]>
Commit | Line | Data |
---|---|---|
17216edc ER |
1 | %define modname tinymce |
2 | Summary: Drupal TinyMCE WYSIWYG Editor Module | |
3 | Name: drupal-mod-%{modname} | |
4 | Version: 4.6.0 | |
5 | Release: 0.1 | |
6 | Epoch: 0 | |
7 | License: GPL | |
8 | Group: Applications/WWW | |
9 | Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz | |
10 | # Source0-md5: dd7630860baf1f7f470d71c272d275eb | |
11 | URL: http://drupal.org/project/tinymce | |
12 | Requires: drupal >= 4.6.0 | |
13 | Requires: tinymce | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _moddir %{_datadir}/drupal/modules | |
18 | ||
19 | %description | |
20 | Use the TinyMCE WYSIWYG editor for editing site content. A | |
21 | collaborative project by richardb, mathias and jjeff. | |
22 | ||
23 | Features include: | |
24 | - Drupal image upload integration | |
25 | - Dynamically turn off/on TinyMCE per textarea field | |
26 | - Assign different tinymce profiles per role | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{modname} | |
30 | rm -f LICENSE.txt # pure GPL | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_moddir} | |
35 | ||
36 | install *.module $RPM_BUILD_ROOT%{_moddir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc *.txt | |
44 | %{_moddir}/*.module |