--- tinymce-3.4.8+dfsg0.orig/debian/rules
+++ tinymce-3.4.8+dfsg0/debian/rules
@@ -0,0 +1,101 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+TINYMCE=$(CURDIR)/debian/tinymce
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+build-arch: build
+build-indep: build
+
+build-stamp: configure-stamp
+ dh_testdir
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # install rules for the `tinymce' package
+ # Put the web files in the appropriate location
+ install -d $(TINYMCE)/usr/share/tinymce/www
+
+ # static files (html and js)
+ install -m 0644 debian/example.html $(TINYMCE)/usr/share/tinymce/www
+ cp -r $(CURDIR)/jscripts/tiny_mce/* $(TINYMCE)/usr/share/tinymce/www
+ rm -f $(TINYMCE)/usr/share/tinymce/www/license.txt
+# install -m 0644 $(CURDIR)/jscripts/tiny_mce/*.js $(TINYMCE)/usr/share/tinymce/www
+# install -m 0644 $(CURDIR)/jscripts/tiny_mce/*.htm $(TINYMCE)/usr/share/tinymce/www
+
+# # language packs
+# install -d $(TINYMCE)/usr/share/tinymce/www/langs
+# install -m 0644 $(CURDIR)/jscripts/tiny_mce/langs/en.js $(TINYMCE)/usr/share/tinymce/www/langs
+#
+# # plugins
+# install -d $(TINYMCE)/usr/share/tinymce/www/plugins
+# for plugin_dir in $$(find $(CURDIR)/jscripts/tiny_mce/plugins -maxdepth 1 -type d) ; do \
+# install -d $(TINYMCE)/usr/share/tinymce/www/plugins/$$(basename $$plugin_dir) ; \
+# [ -d $(CURDIR)/jscripts/tiny_mce/plugins/$$(basename $$plugin_dir) ] && \
+# cp -r $(CURDIR)/jscripts/tiny_mce/plugins/$$(basename $$plugin_dir)/* \
+# $(TINYMCE)/usr/share/tinymce/www/plugins/$$(basename $$plugin_dir)/ ;\
+# done
+#
+# # themes
+# install -d $(TINYMCE)/usr/share/tinymce/www/themes
+# for theme_dir in $$(find $(CURDIR)/jscripts/tiny_mce/themes -maxdepth 1 -type d) ; do \
+# install -d $(TINYMCE)/usr/share/tinymce/www/themes/$$(basename $$theme_dir) ; \
+# [ -d $(CURDIR)/jscripts/tiny_mce/themes/$$(basename $$theme_dir) ] && \
+# cp -r $(CURDIR)/jscripts/tiny_mce/themes/$$(basename $$theme_dir)/* \
+# $(TINYMCE)/usr/share/tinymce/www/themes/$$(basename $$theme_dir)/ ;\
+# done
+
+ # fixing chmod on copied files
+ find $(TINYMCE) -type f -exec chmod a-x {} \;
+
+ # utils
+# install -d $(TINYMCE)/usr/share/tinymce/www/utils
+# install -m 0644 $(CURDIR)/jscripts/tiny_mce/utils/*.js $(TINYMCE)/usr/share/tinymce/www/utils
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs changelog.txt
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- tinymce-3.4.8+dfsg0.orig/debian/postinst
+++ tinymce-3.4.8+dfsg0/debian/postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+TINYMCE_INSTALL_DIR="/usr/share/tinymce/www"
+
+case "$1" in
+ configure)
+ chown -R root:root $TINYMCE_INSTALL_DIR
+ chmod 755 $TINYMCE_INSTALL_DIR
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
--- tinymce-3.4.8+dfsg0.orig/debian/tinymce.README.Debian
+++ tinymce-3.4.8+dfsg0/debian/tinymce.README.Debian
@@ -0,0 +1,41 @@
+tinymce for Debian
+------------------
+
+The package installs all the files needed by tinymce under `/usr/share/tinymce/www'.
+
+It's pretty easy to use tinymce within your webapp, you just have alias that directory to "tinymce":
+
+ Alias /tinymce/ /usr/share/tinymce/www/
+
+ Options Indexes MultiViews FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+
+
+Then you just have to add the folloing lines to whatever HTML output you want:
+
+
+
+[...]
+
+
+
+
+[...]
+
+You can access http:///tinymce/example.html to check if everything works well.
+
+
+About the tinymce-doc package
+-----------------------------
+
+TinyMCE does not provide a -doc package anymore (it used to in its first version),
+as upstream decided to drop the static documentation pack from their tarball.
+
+TinyMCE documentation is now only available online:
+http://wiki.moxiecode.com/index.php/TinyMCE:Index
--- tinymce-3.4.8+dfsg0.orig/debian/compat
+++ tinymce-3.4.8+dfsg0/debian/compat
@@ -0,0 +1 @@
+5
--- tinymce-3.4.8+dfsg0.orig/debian/copyright
+++ tinymce-3.4.8+dfsg0/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Alexis Sukrieh on
+Tue, 24 Oct 2006 10:55:00 +0200.
+
+It was downloaded from http://tinymce.moxiecode.com/
+The orig.tar.gz is a simple repackaging of the upstream .zip file.
+
+Upstream Authors:
+
+ * Digital Ventures
+ * donadoni
+ * Michael Keck
+ * Victor Nilsson
+ * Jürgen Baute
+ * "Neirda"
+ * "speednet"
+ * Virtuelcom
+ * "SlyD"
+ * Ernst de Moor
+ * "jamesw"
+ * Vincent FIACK
+ * Aptest
+
+Full list: http://tinymce.moxiecode.com/tinymce/docs/credits.html
+
+Copyright: Copyright © 2003-2006 Moxiecode Systems AB
+
+License: TinyMCE is licensed under the LGPL version 2.1,
+see `/usr/share/common-licenses/LGPL-2.1'.
+
+The Debian packaging is © 2006, Alexis Sukrieh and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
--- tinymce-3.4.8+dfsg0.orig/debian/changelog
+++ tinymce-3.4.8+dfsg0/debian/changelog
@@ -0,0 +1,151 @@
+tinymce (3.4.8+dfsg0-1) unstable; urgency=low
+
+ * new upstream release
+ * changed standards version to 3.9.2
+ * added new targets build-arch and build-indep to prevent future breakage
+ with policy
+
+ -- Frank Habermann Sat, 11 Feb 2012 23:19:00 +0200
+
+tinymce (3.4.3.2+dfsg0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Sat, 9 Jul 2011 22:39:00 +0200
+
+tinymce (3.4.2+dfsg0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Sat, 21 May 2011 21:16:00 +0200
+
+tinymce (3.3.9.3+dfsg0-1) experimental; urgency=low
+
+ * new upstream release
+ * changed standards version to 3.9.1
+
+ -- Frank Habermann Thu, 30 Dec 2010 22:10:00 +0200
+
+tinymce (3.3.8+dfsg0-0.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Repack upstream tarball to remove the *.swf files (Closes: #591206).
+
+ -- Didier Raboud Tue, 30 Nov 2010 15:17:50 +0100
+
+tinymce (3.3.8-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Mon, 12 Jul 2010 23:04:00 +0200
+
+tinymce (3.3.7-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Thu, 10 Jun 2010 23:40:00 +0200
+
+tinymce (3.3.6-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Tue, 25 May 2010 22:13:00 +0200
+
+tinymce (3.3.5.1-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Tue, 18 May 2010 23:06:00 +0200
+
+tinymce (3.3.4-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Frank Habermann Wed, 28 Apr 2010 20:22:00 +0200
+
+tinymce (3.3.3-1) unstable; urgency=low
+
+ * new upstream release
+ * set source version to 1.0
+
+ -- Frank Habermann Thu, 22 Apr 2010 22:50:00 +0200
+
+tinymce (3.3.2-1) unstable; urgency=low
+
+ * new upstream release
+ * changed Standards-Version to 3.8.4
+
+ -- Frank Habermann Tue, 25 Mar 2010 21:17:00 +0200
+
+tinymce (3.2.7-1) unstable; urgency=low
+
+ * new upstream release
+ - fix table processing bug on IE
+ - fix various issues with boolean style attributes
+ * changed Standards-Version to 3.8.3
+
+ -- Frank Habermann Sun, 27 Sep 2009 20:00:00 +0200
+
+tinymce (3.2.6-1) unstable; urgency=low
+
+ * New maintainer, taking over package from Debian Webapps Team
+ * changed Standards-Version to 3.8.2
+ * changed link to copyrights in copyright file
+ * changed postinst and rules that set forbidden rights to others than
+ root:root in /usr/share (Closes: #543224)
+
+ -- Frank Habermann Mon, 25 Aug 2009 22:24:00 +0200
+
+tinymce (3.2.6-0.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ + Justification: Blocks new wordpress release
+ + Also closes serious bug
+ * New Upstream (Closes: #541826)
+ * change file owner to root, group www-data, not writable by
+ group (Closes: #543224)
+
+ -- Sven Mueller Mon, 24 Aug 2009 13:11:40 +0200
+
+tinymce (3.2.1.1-0.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ + Justification: Blocks new wordpress release again
+ * New upstream
+
+ -- Sven Mueller Wed, 14 Jan 2009 10:58:05 +0100
+
+tinymce (3.2.0.2-0.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ + Justification: Blocks upload of new wordpress release
+ * New upstream (Closes: #489806)
+
+ -- Sven Mueller Mon, 13 Oct 2008 11:03:40 +0200
+
+tinymce (3.0.8-1) unstable; urgency=low
+
+ * New upstream release (closes: #469570)
+
+ -- Alexis Sukrieh Fri, 09 May 2008 09:57:41 +0200
+
+tinymce (2.1.1.1-1) unstable; urgency=low
+
+ * New upstream release (closes: #430123)
+ * Added missing blank.htm file (closes: #415159)
+ * Dropped the -doc package as upstream stoped maintaining it.
+ + Refering to the online documentation in README.Debian instead.
+ + Removed the patch used to alter the documentation's paths.
+ * In debian/rules, chmod installed files in order to drop their useless +x
+ flag.
+
+ -- Alexis Sukrieh Sat, 18 Aug 2007 14:07:32 +0200
+
+tinymce (2.0.8-1) unstable; urgency=low
+
+ [ The "Webapps Team's First Strike" upload ]
+
+ * Initial release (Closes: #394965)
+
+ -- Alexis Sukrieh Tue, 24 Oct 2006 14:58:03 +0200
+
--- tinymce-3.4.8+dfsg0.orig/debian/example.html
+++ tinymce-3.4.8+dfsg0/debian/example.html
@@ -0,0 +1,19 @@
+
+
+TinyMCE Debian Test
+
+
+
+
+
+TinyMCE Debian Test
+
+
+
+
--- tinymce-3.4.8+dfsg0.orig/debian/control
+++ tinymce-3.4.8+dfsg0/debian/control
@@ -0,0 +1,24 @@
+Source: tinymce
+Section: web
+Priority: optional
+Maintainer: Frank Habermann
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.9.2
+
+Package: tinymce
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: platform independent web based Javascript/HTML WYSIWYG editor
+ TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor
+ control released as Open Source under LGPL by Moxiecode Systems AB. It has the
+ ability to convert HTML TEXTAREA fields or other HTML elements to editor
+ instances. TinyMCE is very easy to integrate into other Content Management
+ Systems.
+ .
+ TinyMCE provides the following features:
+ * Easy to integrate, takes only two lines of code.
+ * Customizable through themes and plugins.
+ * Customizable XHTML 1.0 output.
+ * Block invalid elements and force attributes.
+ * International language support (Language packs)
+ * Multiple browser support, Mozilla, MSIE, FireFox, Opera and Safari
--- tinymce-3.4.8+dfsg0.orig/debian/source/format
+++ tinymce-3.4.8+dfsg0/debian/source/format
@@ -0,0 +1 @@
+1.0