]> git.pld-linux.org Git - packages/drupal-mod-fckeditor.git/blob - drupal-mod-fckeditor.spec
- no apache config yet
[packages/drupal-mod-fckeditor.git] / drupal-mod-fckeditor.spec
1 %define         modname fckeditor
2 Summary:        Drupal FCKeditor WYSIWYG Editor Module
3 Name:           drupal-mod-%{modname}
4 Version:        4.6.0
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications/WWW
8 Source0:        http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
9 # Source0-md5:  5238481c701a9e24ab050b80ef4f53ba
10 URL:            http://drupal.org/project/fckeditor
11 Requires:       php >= 3:4.3.0
12 Requires:       drupal >= 4.6.0
13 Requires:       fckeditor
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _drupaldir      %{_datadir}/drupal
18 %define         _moddir         %{_drupaldir}/modules
19
20 %description
21 This module allows Drupal to replace textarea fields with FCKeditor.
22
23 This HTML text editor brings to the web many of the powerful
24 functionalities of known desktop editors like Word. It's really
25 lightweight and doesn't require any kind of installation on the client
26 computer.
27
28 %prep
29 %setup -q -n %{modname}
30 rm -f LICENSE.txt # GPL v2
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_moddir}/{lib,ssip}}
35 install *.module $RPM_BUILD_ROOT%{_moddir}
36 cp -a lib/* $RPM_BUILD_ROOT%{_moddir}/lib
37 cp -a ssip/* $RPM_BUILD_ROOT%{_moddir}/ssip
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc *.txt
45 %{_moddir}/*.module
46 %{_moddir}/lib
47 %{_moddir}/ssip
This page took 0.074787 seconds and 4 git commands to generate.