Author: glen                         Date: Tue Sep  2 12:34:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use /tiny_mce alias as it's more common

---- Files affected:
SPECS:
   tinymce-spellchecker.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/tinymce-spellchecker.spec
diff -u SPECS/tinymce-spellchecker.spec:1.3 SPECS/tinymce-spellchecker.spec:1.4
--- SPECS/tinymce-spellchecker.spec:1.3 Tue Sep  2 14:07:11 2008
+++ SPECS/tinymce-spellchecker.spec     Tue Sep  2 14:34:49 2008
@@ -3,14 +3,16 @@
 Summary:       TinyMCE spellchecker plugin
 Name:          tinymce-spellchecker
 Version:       2.0.2
-Release:       0.3
+Release:       0.5
 License:       LGPL v2
 Group:         Applications/WWW
 Source0:       
http://dl.sourceforge.net/tinymce/tinymce_spellchecker_php_%{ver}.zip
 # Source0-md5: 71ea3f554466fed09530a89fb98e6eee
+Patch0:                %{name}.patch
 URL:           http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker
 BuildRequires: rpmbuild(macros) >= 1.268
-Requires:      tinymce >= 3.1.1-0.2
+BuildRequires: sed >= 4.0
+Requires:      tinymce >= 3.1.1-0.4
 Requires:      webapps
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,8 +31,11 @@
 %prep
 %setup -qc
 mv spellchecker/* .
+find '(' -name '*.js' -o -name '*.html' -o -name '*.htm' -o -name '*.php' ')' 
-print0 | xargs -0 sed -i -e 's,\r$,,'
+%patch0 -p1
+
 cat <<'EOF' > apache.conf
-Alias /tinymce/plugins/spellchecker/rpc.php %{_appdir}/rpc.php
+Alias /tiny_mce/plugins/spellchecker/rpc.php %{_appdir}/rpc.php
 <Directory %{_appdir}>
        Allow from all
 </Directory>
@@ -38,7 +43,7 @@
 
 cat > lighttpd.conf <<'EOF'
 alias.url += (
-    "/tinymce/plugins/spellchecker/rpc.php" => "%{_appdir}/rpc.php",
+    "/tiny_mce/plugins/spellchecker/rpc.php" => "%{_appdir}/rpc.php",
 )
 EOF
 
@@ -92,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/09/02 12:34:49  glen
+- use /tiny_mce alias as it's more common
+
 Revision 1.3  2008/09/02 12:07:11  glen
 - webapps deps
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tinymce-spellchecker.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to