[drupal7-ckeditor] Initial import

Orion Poplawski orion at fedoraproject.org
Thu Apr 26 16:21:28 UTC 2012


commit 95717f7607ef600669a85fa398b8ab3843229e66
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Thu Apr 26 10:21:26 2012 -0600

    Initial import

 .gitignore                       |    1 +
 drupal7-ckeditor.spec            |   74 ++++++++++++++++++++++++++++++++++++++
 drupal7-module-fedora-README.txt |    6 +++
 sources                          |    1 +
 4 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e899d55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ckeditor-7.x-1.9.tar.gz
diff --git a/drupal7-ckeditor.spec b/drupal7-ckeditor.spec
new file mode 100644
index 0000000..a1e833c
--- /dev/null
+++ b/drupal7-ckeditor.spec
@@ -0,0 +1,74 @@
+%global drupalver 7
+%{?rhel: %{expand: %%global drupal drupal%%{drupalver}}}
+%if 0%{?fedora} >= 15
+%global drupal drupal%{drupalver}
+%endif
+%{!?drupal: %{expand: %%global drupal drupal}}
+# e.g. "/usr/share/drupal6"
+%global drupaldir %{_datadir}/%{drupal}
+%global module_name ckeditor
+
+Name: drupal%{drupalver}-%{module_name}
+Version:  1.9
+Release:  1%{?dist}
+Summary:  Replace textarea fields with the CKEditor - a visual HTML editor
+
+Group: Applications/Publishing
+License: GPLv2+ or LGPLv2+ or MPLv1.1+
+URL: http://drupal.org/project/%{module_name}
+Source0: http://ftp.drupal.org/files/projects/%{module_name}-%{drupalver}.x-%{version}.tar.gz
+Source1: drupal%{drupalver}-module-fedora-README.txt
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{module_name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: drupal%{drupalver}
+Requires: ckeditor
+
+
+%description
+This module will allow Drupal to replace textarea fields with the CKEditor -
+a visual HTML editor, sometimes called WYSIWYG editor. This HTML text editor
+brings many of the powerful WYSIWYG editing functions of known desktop
+editors like Word to the web. It's very fast and doesn't require any kind of
+installation on the client computer.
+
+
+%prep
+%setup -qn %{module_name}
+rm -r ckeditor
+# Fix line endings
+sed -i -e 's/\r//' CHANGELOG.txt
+
+
+%build
+cp %{SOURCE1} .
+
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/%{module_name}
+cp -pr * %{buildroot}%{drupaldir}/modules/%{module_name}
+#Link in the ckeditor JS app
+ln -s ../../../ckeditor %{buildroot}%{drupaldir}/modules/%{module_name}/
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc *.txt
+%{drupaldir}/modules/%{module_name}
+%exclude %{drupaldir}/modules/%{module_name}/*.txt
+
+
+%changelog
+* Wed Apr 25 2012 Orion Poplawski <orion at cora.nwra.com> - 1.9-1
+- Update to 7.x-1.9
+- Fix line endings in CHANGELOG.txt
+
+* Wed Mar 14 2012 Orion Poplawski <orion at cora.nwra.com> - 1.7-1
+- Update to 7.x-1.7
+
+* Thu Jan 26 2012 Orion Poplawski <orion at cora.nwra.com> - 1.6-1
+- Initial drupal 7 package
diff --git a/drupal7-module-fedora-README.txt b/drupal7-module-fedora-README.txt
new file mode 100644
index 0000000..0bb2889
--- /dev/null
+++ b/drupal7-module-fedora-README.txt
@@ -0,0 +1,6 @@
+After installation, you must enable this module from the drupal
+administration.
+
+If upgrading this module seperately from the core drupal package, 
+be sure to run the http://hostname/drupal7/upgrade.php script after this
+rpm is upgraded.
diff --git a/sources b/sources
index e69de29..16ac2a8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9ff722478310ae812d07028fa24998dd  ckeditor-7.x-1.9.tar.gz


More information about the scm-commits mailing list