1 %define modname fckeditor
2 Summary: Drupal FCKeditor WYSIWYG Editor Module
3 Summary(pl): Modu³ edytora WYSIWYG FCKeditor dla Drupala
4 Name: drupal-mod-%{modname}
8 Group: Applications/WWW
9 Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
10 # Source0-md5: 5238481c701a9e24ab050b80ef4f53ba
11 URL: http://drupal.org/project/fckeditor
12 Requires: drupal >= 4.6.0
14 Requires: php >= 3:4.3.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _drupaldir %{_datadir}/drupal
19 %define _moddir %{_drupaldir}/modules
22 This module allows Drupal to replace textarea fields with FCKeditor.
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
30 Ten modu³ umo¿liwia Drupalowi zast±pienie pól textarea FCKeditorem.
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.
37 %setup -q -n %{modname}
38 rm -f LICENSE.txt # GPL v2
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
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)