From b5a5087d2f88f2a01e589c15aeffa147567dd238 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 8 Dec 2005 11:05:37 +0000 Subject: [PATCH] - new Changed files: drupal-mod-fckeditor.spec -> 1.1 --- drupal-mod-fckeditor.spec | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 drupal-mod-fckeditor.spec diff --git a/drupal-mod-fckeditor.spec b/drupal-mod-fckeditor.spec new file mode 100644 index 0000000..1afd54d --- /dev/null +++ b/drupal-mod-fckeditor.spec @@ -0,0 +1,48 @@ +%define modname fckeditor +Summary: Drupal FCKeditor WYSIWYG Editor Module +Name: drupal-mod-%{modname} +Version: 4.6.0 +Release: 0.1 +License: GPL v2 +Group: Applications/WWW +Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz +# Source0-md5: 2dc5313fc417cad484bbfc434e3e971b +Source1: %{name}.conf +URL: http://drupal.org/project/fckeditor +Requires: php >= 3:4.3.0 +Requires: drupal >= 4.6.0 +Requires: fckeditor +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _drupaldir %{_datadir}/drupal +%define _moddir %{_drupaldir}/modules + +%description +This module allows Drupal to replace textarea fields with FCKeditor. + +This HTML text editor brings to the web many of the powerful +functionalities of known desktop editors like Word. It's really +lightweight and doesn't require any kind of installation on the client +computer. + +%prep +%setup -q -n %{modname} +rm -f LICENSE.txt # GPL v2 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_moddir}/{lib,ssip}} +install *.module $RPM_BUILD_ROOT%{_moddir} +cp -a lib/* $RPM_BUILD_ROOT%{_moddir}/lib +cp -a ssip/* $RPM_BUILD_ROOT%{_moddir}/ssip + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc *.txt +%{_moddir}/*.module +%{_moddir}/lib +%{_moddir}/ssip -- 2.44.0