]>
Commit | Line | Data |
---|---|---|
b5a5087d ER |
1 | %define modname fckeditor |
2 | Summary: Drupal FCKeditor WYSIWYG Editor Module | |
1a3c0bcd | 3 | Summary(pl.UTF-8): Moduł edytora WYSIWYG FCKeditor dla Drupala |
b5a5087d ER |
4 | Name: drupal-mod-%{modname} |
5 | Version: 4.6.0 | |
af42f3a3 | 6 | Release: 0.2 |
b5a5087d ER |
7 | License: GPL v2 |
8 | Group: Applications/WWW | |
9 | Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz | |
4646f3dc | 10 | # Source0-md5: 5238481c701a9e24ab050b80ef4f53ba |
b5a5087d | 11 | URL: http://drupal.org/project/fckeditor |
b5a5087d ER |
12 | Requires: drupal >= 4.6.0 |
13 | Requires: fckeditor | |
af42f3a3 | 14 | Requires: webserver(php) >= 4.3.0 |
b5a5087d ER |
15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _drupaldir %{_datadir}/drupal | |
19 | %define _moddir %{_drupaldir}/modules | |
20 | ||
21 | %description | |
22 | This module allows Drupal to replace textarea fields with FCKeditor. | |
23 | ||
24 | This HTML text editor brings to the web many of the powerful | |
25 | functionalities of known desktop editors like Word. It's really | |
26 | lightweight and doesn't require any kind of installation on the client | |
27 | computer. | |
28 | ||
b5d34bbc JR |
29 | %description -l pl.UTF-8 |
30 | Ten moduł umożliwia Drupalowi zastąpienie pól textarea FCKeditorem. | |
6d5f09b5 | 31 | |
b5d34bbc JR |
32 | Ten edytor tekstu HTML udostępnia stronom WWW wiele potężnych funkcji |
33 | znanych edytorów biurowych, takich jak Word. Jest naprawdę lekki i nie | |
34 | wymaga żadnej inicjalizacji na komputerze klienckim. | |
6d5f09b5 | 35 | |
b5a5087d ER |
36 | %prep |
37 | %setup -q -n %{modname} | |
38 | rm -f LICENSE.txt # GPL v2 | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_moddir}/{lib,ssip}} | |
43 | install *.module $RPM_BUILD_ROOT%{_moddir} | |
44 | cp -a lib/* $RPM_BUILD_ROOT%{_moddir}/lib | |
45 | cp -a ssip/* $RPM_BUILD_ROOT%{_moddir}/ssip | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc *.txt | |
53 | %{_moddir}/*.module | |
54 | %{_moddir}/lib | |
55 | %{_moddir}/ssip |