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