SPECS: drupal-mod-tinymce.spec - fix tiny_mce for drupal
glen
glen at pld-linux.org
Mon Oct 17 14:36:58 CEST 2005
Author: glen Date: Mon Oct 17 12:36:58 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix tiny_mce for drupal
---- Files affected:
SPECS:
drupal-mod-tinymce.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/drupal-mod-tinymce.spec
diff -u SPECS/drupal-mod-tinymce.spec:1.6 SPECS/drupal-mod-tinymce.spec:1.7
--- SPECS/drupal-mod-tinymce.spec:1.6 Fri Sep 30 17:05:13 2005
+++ SPECS/drupal-mod-tinymce.spec Mon Oct 17 14:36:52 2005
@@ -4,7 +4,7 @@
Summary(pl): Moduł edytora WYSIWYG TinyMCE dla Drupala
Name: drupal-mod-%{modname}
Version: 4.6.0
-Release: 0.23
+Release: 0.24
License: GPL
Group: Applications/WWW
Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
@@ -21,6 +21,8 @@
%define _sysconfdir /etc/drupal
%define _drupaldir %{_datadir}/drupal
%define _moddir %{_drupaldir}/modules
+%define _htdocs %{_drupaldir}/htdocs
+%define _htmlmoddir %{_htdocs}/modules/%{modname}
%define _tinymceplugindir %{_datadir}/tinymce/plugins
%description
@@ -61,6 +63,11 @@
install -d $RPM_BUILD_ROOT%{_moddir}/tinymce/jscripts
ln -s %{_datadir}/tinymce $RPM_BUILD_ROOT%{_moddir}/tinymce/jscripts/tiny_mce
+# need symlink for drupal to think the file is there, we also do
+# apache alias as the symlinks aren't usually allowed in htdocs
+install -d $RPM_BUILD_ROOT%{_htmlmoddir}/jscripts
+ln -s %{_datadir}/tinymce $RPM_BUILD_ROOT%{_htmlmoddir}/jscripts/tiny_mce
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -98,6 +105,7 @@
%{_moddir}/*.module
%{_moddir}/tinymce
%{_tinymceplugindir}/*
+%{_htmlmoddir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -105,6 +113,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/10/17 12:36:52 glen
+- fix tiny_mce for drupal
+
Revision 1.6 2005/09/30 15:05:13 glen
- unify macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/drupal-mod-tinymce.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list