Summary(pl): Modu³ edytora WYSIWYG TinyMCE dla Drupala
Name: drupal-mod-%{modname}
Version: 4.6.0
-Release: 0.25
+Release: 0.26
License: GPL
Group: Applications/WWW
Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
-# Source0-md5: dd7630860baf1f7f470d71c272d275eb
+# Source0-md5: 050b885a5437c492f2e9d49181db9326
Source1: %{name}.conf
URL: http://drupal.org/project/tinymce
BuildRequires: rpmbuild(macros) >= 1.264
rm -f LICENSE.txt # pure GPL
# undos the source
-find '(' -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,
-$,,'
+find '(' -name '*.txt' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
%install
rm -rf $RPM_BUILD_ROOT
%triggerun -- apache1
%webapp_unregister apache %{_webapp}
-%triggerin -- apache >= 2.0.0
+%triggerin -- apache < 2.2.0, apache-base
# TODO install it only if this apache instance has drupal configured
%webapp_register httpd %{_webapp}
-%triggerun -- apache >= 2.0.0
+%triggerun -- apache < 2.2.0, apache-base
%webapp_unregister httpd %{_webapp}
%triggerpostun -- %{name} < 4.6.0-0.25