From 474590eb44c0a91345405bfe74a4a2d89256760e Mon Sep 17 00:00:00 2001 From: Jerry James Date: Apr 13 2007 20:39:59 +0000 Subject: Update to 1.6.5. Drop unused mimetex patches. Really provide language support. Some typo fixes. --- diff --git a/.cvsignore b/.cvsignore index f056c4d..49fad42 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,72 @@ -moodle-1.5.4.tgz -moodle-1.6.3.tgz +af_utf8.zip +ar_utf8.zip +be_utf8.zip +bg_utf8.zip +bs_utf8.zip +ca_utf8.zip +cs_utf8.zip +da_utf8.zip +de_du_utf8.zip +de_utf8.zip +el_utf8.zip +en_us_utf8.zip +en_utf8.zip +es_utf8.zip +et_utf8.zip +eu_utf8.zip +fa_utf8.zip +fil_utf8.zip +fi_utf8.zip +fr_ca_utf8.zip +fr_utf8.zip +ga_utf8.zip +gl_utf8.zip +he_utf8.zip +hi_utf8.zip +hr_utf8.zip +hu_utf8.zip +id_utf8.zip +is_utf8.zip +it_utf8.zip +ja_utf8.zip +ka_utf8.zip +km_utf8.zip +kn_utf8.zip +ko_utf8.zip +lt_utf8.zip +lv_utf8.zip +mi_tn_utf8.zip +ml_utf8.zip +moodle-1.6.5.tgz +moodle.conf +moodle-config.php +moodle-cron +moodle.cron +moodle.init +moodle-README-rpm +ms_utf8.zip +nl_utf8.zip +nn_utf8.zip +no_gr_utf8.zip +no_utf8.zip +pl_utf8.zip +pt_br_utf8.zip +pt_utf8.zip +ro_utf8.zip +ru_utf8.zip +si_utf8.zip +sk_utf8.zip +sl_utf8.zip +so_utf8.zip +sq_utf8.zip +sr_cr_bo_utf8.zip +sr_cr_utf8.zip +sr_lt_utf8.zip +sv_utf8.zip +th_utf8.zip +tl_utf8.zip +tr_utf8.zip +uk_utf8.zip +vi_utf8.zip +zh_cn_utf8.zip +zh_tw_utf8.zip diff --git a/moodle-1.5.2-mimetex-fedora.patch b/moodle-1.5.2-mimetex-fedora.patch deleted file mode 100644 index cfccf49..0000000 --- a/moodle-1.5.2-mimetex-fedora.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- moodle/filter/tex/texdebug.php.mimetex-fedora 2005-10-10 16:27:00.000000000 -0400 -+++ moodle/filter/tex/texdebug.php 2005-10-10 16:31:25.000000000 -0400 -@@ -100,8 +100,8 @@ - if (file_exists($pathname)) { - unlink($pathname); - } -- $commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.linux"; -- $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" ". escapeshellarg($texexp); -+ $commandpath="/var/www/cgi-bin/mimetex.cgi"; -+ $cmd = "\"/var/www/cgi-bin/mimetex.cgi\" -e \"$pathname\" ". escapeshellarg($texexp); - system($cmd, $status); - } - if ($return) { ---- moodle/filter/tex/texed.php.mimetex-fedora 2005-10-10 16:27:00.000000000 -0400 -+++ moodle/filter/tex/texed.php 2005-10-10 16:31:35.000000000 -0400 -@@ -23,7 +23,7 @@ - make_upload_directory($CFG->teximagedir); - } - $pathname = "$CFG->dataroot/$CFG->teximagedir/$image"; -- system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname -- ". escapeshellarg($texexp) ); -+ system("/var/www/cgi-bin/mimetex.cgi -e $pathname -- ". escapeshellarg($texexp) ); - if (file_exists($pathname)) { - $lastmodified = filemtime($pathname); - header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT"); ---- moodle/filter/tex/pix.php.mimetex-fedora 2005-10-10 16:27:00.000000000 -0400 -+++ moodle/filter/tex/pix.php 2005-10-10 16:30:51.000000000 -0400 -@@ -41,7 +41,7 @@ - $texexp = preg_replace('!\r\n?!',' ',$texexp); - $texexp = '\Large ' . $texexp; - -- $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- ". escapeshellarg($texexp); -+ $cmd = "\"/var/www/cgi-bin/mimetex.cgi\" -e \"$pathname\" -- ". escapeshellarg($texexp); - - system($cmd, $status); - } diff --git a/moodle-1.5.2-mimetex-linux.patch b/moodle-1.5.2-mimetex-linux.patch deleted file mode 100644 index 7e4b5ae..0000000 --- a/moodle-1.5.2-mimetex-linux.patch +++ /dev/null @@ -1,108 +0,0 @@ ---- web/filter/tex/texed.php.linux 2005-10-09 11:03:50.000000000 -0400 -+++ web/filter/tex/texed.php 2005-10-09 11:04:14.000000000 -0400 -@@ -23,20 +23,7 @@ - make_upload_directory($CFG->teximagedir); - } - $pathname = "$CFG->dataroot/$CFG->teximagedir/$image"; -- switch (PHP_OS) { -- case "Linux": -- system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname -- ". escapeshellarg($texexp) ); -- break; -- case "WINNT": -- case "WIN32": -- case "Windows": -- $texexp = str_replace('"','\"',$texexp); -- system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname -- \"$texexp\""); -- break; -- case "Darwin": -- system("$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname -- ". escapeshellarg($texexp) ); -- break; -- } -+ system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname -- ". escapeshellarg($texexp) ); - if (file_exists($pathname)) { - $lastmodified = filemtime($pathname); - header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT"); ---- web/filter/tex/texdebug.php.linux 2005-10-09 11:02:27.000000000 -0400 -+++ web/filter/tex/texdebug.php 2005-10-09 11:03:19.000000000 -0400 -@@ -100,34 +100,8 @@ - if (file_exists($pathname)) { - unlink($pathname); - } -- $commandpath = ""; -- $cmd = ""; -- switch (PHP_OS) { -- case "Linux": -- $commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.linux"; -- $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" ". escapeshellarg($texexp); -- break; -- case "WINNT": -- case "WIN32": -- case "Windows": -- $commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.exe"; -- $texexp = str_replace('"','\"',$texexp); -- $cmd = str_replace(' ','^ ',$commandpath); -- $cmd .= " ++ -e \"$pathname\" \"$texexp\""; -- break; -- case "Darwin": -- $commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin"; -- $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" ". escapeshellarg($texexp); -- break; -- } -- if (!$cmd) { -- if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary -- $commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex"; -- $cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname ". escapeshellarg($texexp); -- } else { -- error($error_message1); -- } -- } -+ $commandpath="$CFG->dirroot/$CFG->texfilterdir/mimetex.linux"; -+ $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" ". escapeshellarg($texexp); - system($cmd, $status); - } - if ($return) { ---- web/filter/tex/pix.php.linux 2005-10-09 10:59:13.000000000 -0400 -+++ web/filter/tex/pix.php 2005-10-09 11:01:02.000000000 -0400 -@@ -41,41 +41,8 @@ - $texexp = preg_replace('!\r\n?!',' ',$texexp); - $texexp = '\Large ' . $texexp; - -- if ((PHP_OS == "WINNT") || (PHP_OS == "WIN32") || (PHP_OS == "Windows")) { -- $texexp = str_replace('"','\"',$texexp); -- $cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex.exe"; -- $cmd = str_replace(' ','^ ',$cmd); -- $cmd .= " ++ -e \"$pathname\" -- \"$texexp\""; -- } else if (is_executable("$CFG->dirroot/$CFG->texfilterdir/mimetex")) { /// Use the custom binary -+ $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- ". escapeshellarg($texexp); - -- $cmd = "$CFG->dirroot/$CFG->texfilterdir/mimetex -e $pathname -- ". escapeshellarg($texexp); -- -- } else { /// Auto-detect the right TeX binary -- switch (PHP_OS) { -- -- case "Linux": -- $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.linux\" -e \"$pathname\" -- ". escapeshellarg($texexp); -- break; -- -- case "Darwin": -- $cmd = "\"$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin\" -e \"$pathname\" -- ". escapeshellarg($texexp); -- break; -- -- default: /// Nothing was found, so tell them how to fix it. -- if ($CFG->debug > 7) { -- echo "Make sure you have an appropriate MimeTeX binary here:\n\n"; -- echo " $CFG->dirroot/$CFG->texfilterdir/mimetex\n\n"; -- echo "and that it has the right permissions set on it as executable program.\n\n"; -- echo "You can get the latest binaries for your ".PHP_OS." platform from: \n\n"; -- echo " http://moodle.org/download/mimetex/"; -- } else { -- echo "Mimetex executable was not found,\n"; -- echo "Please turn on debug mode in site configuration to see more info here."; -- } -- die; -- break; -- } -- } - system($cmd, $status); - } - } diff --git a/moodle-README-rpm b/moodle-README-rpm index 5a53088..de2e0ad 100644 --- a/moodle-README-rpm +++ b/moodle-README-rpm @@ -1,4 +1,5 @@ -Edit /var/www/moodle/web/config.php to the values you need to connect to your database. Once you've configured Moodle properly don't forget to run +Edit /var/www/moodle/web/config.php to the values you need to connect to your +database. Once you've configured Moodle properly don't forget to run /sbin/service moodle start ; /sbin/chkconfig moodle on diff --git a/moodle.init b/moodle.init index 12765b5..5c53573 100755 --- a/moodle.init +++ b/moodle.init @@ -7,7 +7,7 @@ # # chkconfig: - 50 01 # -# description: Enable the Moodle crom job +# description: Enable the Moodle cron job # # source function library diff --git a/moodle.spec b/moodle.spec index 0920ef6..dac0db8 100644 --- a/moodle.spec +++ b/moodle.spec @@ -8,26 +8,89 @@ %define with_spellcheck 0 Name: moodle -Version: 1.6.3 -Release: 3%{?dist} +Version: 1.6.5 +Release: 1%{?dist} Summary: A Course Management System Group: Applications/Publishing License: GPL URL: http://moodle.org/ -Source0: http://download.moodle.org/stable15/%{name}-%{version}.tgz +Source0: http://download.moodle.org/stable16/%{name}-%{version}.tgz Source1: moodle.conf Source2: moodle-config.php Source3: moodle.cron Source4: moodle-cron Source5: moodle.init Source6: moodle-README-rpm -#Patch0: moodle-1.5.2-mimetex-linux.patch -#Patch1: moodle-1.5.2-mimetex-fedora.patch +Source7: http://download.moodle.org/lang16/af_utf8.zip +Source8: http://download.moodle.org/lang16/ar_utf8.zip +Source9: http://download.moodle.org/lang16/be_utf8.zip +Source10: http://download.moodle.org/lang16/bg_utf8.zip +Source11: http://download.moodle.org/lang16/bs_utf8.zip +Source12: http://download.moodle.org/lang16/ca_utf8.zip +Source13: http://download.moodle.org/lang16/cs_utf8.zip +Source14: http://download.moodle.org/lang16/da_utf8.zip +Source15: http://download.moodle.org/lang16/de_utf8.zip +Source16: http://download.moodle.org/lang16/de_du_utf8.zip +Source17: http://download.moodle.org/lang16/el_utf8.zip +Source18: http://download.moodle.org/lang16/en_utf8.zip +Source19: http://download.moodle.org/lang16/en_us_utf8.zip +Source20: http://download.moodle.org/lang16/es_utf8.zip +Source21: http://download.moodle.org/lang16/et_utf8.zip +Source22: http://download.moodle.org/lang16/eu_utf8.zip +Source23: http://download.moodle.org/lang16/fa_utf8.zip +Source24: http://download.moodle.org/lang16/fi_utf8.zip +Source25: http://download.moodle.org/lang16/fil_utf8.zip +Source26: http://download.moodle.org/lang16/fr_utf8.zip +Source27: http://download.moodle.org/lang16/fr_ca_utf8.zip +Source28: http://download.moodle.org/lang16/ga_utf8.zip +Source29: http://download.moodle.org/lang16/gl_utf8.zip +Source30: http://download.moodle.org/lang16/he_utf8.zip +Source31: http://download.moodle.org/lang16/hi_utf8.zip +Source32: http://download.moodle.org/lang16/hr_utf8.zip +Source33: http://download.moodle.org/lang16/hu_utf8.zip +Source34: http://download.moodle.org/lang16/id_utf8.zip +Source35: http://download.moodle.org/lang16/is_utf8.zip +Source36: http://download.moodle.org/lang16/it_utf8.zip +Source37: http://download.moodle.org/lang16/ja_utf8.zip +Source38: http://download.moodle.org/lang16/ka_utf8.zip +Source39: http://download.moodle.org/lang16/km_utf8.zip +Source40: http://download.moodle.org/lang16/kn_utf8.zip +Source41: http://download.moodle.org/lang16/ko_utf8.zip +Source42: http://download.moodle.org/lang16/lt_utf8.zip +Source43: http://download.moodle.org/lang16/lv_utf8.zip +Source44: http://download.moodle.org/lang16/mi_tn_utf8.zip +Source45: http://download.moodle.org/lang16/ml_utf8.zip +Source46: http://download.moodle.org/lang16/ms_utf8.zip +Source47: http://download.moodle.org/lang16/nl_utf8.zip +Source48: http://download.moodle.org/lang16/nn_utf8.zip +Source49: http://download.moodle.org/lang16/no_utf8.zip +Source50: http://download.moodle.org/lang16/no_gr_utf8.zip +Source51: http://download.moodle.org/lang16/pl_utf8.zip +Source52: http://download.moodle.org/lang16/pt_utf8.zip +Source53: http://download.moodle.org/lang16/pt_br_utf8.zip +Source54: http://download.moodle.org/lang16/ro_utf8.zip +Source55: http://download.moodle.org/lang16/ru_utf8.zip +Source56: http://download.moodle.org/lang16/si_utf8.zip +Source57: http://download.moodle.org/lang16/sk_utf8.zip +Source58: http://download.moodle.org/lang16/sl_utf8.zip +Source59: http://download.moodle.org/lang16/so_utf8.zip +Source60: http://download.moodle.org/lang16/sq_utf8.zip +Source61: http://download.moodle.org/lang16/sr_cr_utf8.zip +Source62: http://download.moodle.org/lang16/sr_cr_bo_utf8.zip +Source63: http://download.moodle.org/lang16/sr_lt_utf8.zip +Source64: http://download.moodle.org/lang16/sv_utf8.zip +Source65: http://download.moodle.org/lang16/th_utf8.zip +Source66: http://download.moodle.org/lang16/tl_utf8.zip +Source67: http://download.moodle.org/lang16/tr_utf8.zip +Source68: http://download.moodle.org/lang16/uk_utf8.zip +Source69: http://download.moodle.org/lang16/vi_utf8.zip +Source70: http://download.moodle.org/lang16/zh_cn_utf8.zip +Source71: http://download.moodle.org/lang16/zh_tw_utf8.zip BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -#BuildRequires: +BuildRequires: unzip Requires: php-gd vixie-cron mimetex perl(lib) php-mysql Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig @@ -38,6 +101,77 @@ Moodle is a course management system (CMS) - a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities. +# For maintenance purposes, here is the list of language packs with their +# corresponding date stamps and the source number above. This list follows +# the order of the one on http://download.moodle.org/lang16/ which is mostly, +# but not completely, alphabetical. Last updated 2007-04-13. +# +# Afrikaans: 2007-01-05, Source7 +# Albanian: 2007-01-05, Source60 +# Arabic: 2007-03-20, Source8 +# Basque: 2007-04-05, Source22 +# Belarusian: 2007-01-05, Source9 +# Bosnian: 2006-12-18, Source11 +# Bulgarian: 2007-01-05, Source10 +# Catalan: 2007-04-04, Source12 +# Croatian: 2006-05-07, Source32 +# Chinese (Simplified): 2007-04-03, Source70 +# Chinese (Traditional/Big5): 2007-02-19, Source71 +# Czech: 2007-04-13, Source13 +# Danish: 2007-03-10, Source14 +# Dutch: 2007-03-31, Source47 +# English: 2007-04-12, Source18 +# English (US): 2007-01-05, Source19 +# Estonian: 2007-01-05, Source21 +# Farsi: 2006-06-30, Source23 +# Filipino: 2006-07-31, Source25 +# Finnish: 2007-03-31, Source24 +# French: 2007-04-12, Source26 +# French (Canada): 2007-01-05, Source27 +# Gaelic: 2007-01-05, Source28 +# Gallego: 2007-01-05, Source29 +# Georgian: 2006-12-18, Source38 +# German: 2007-03-23, Source15 +# German (Personal): 2007-01-03, Source16 +# Greek: 2007-03-31, Source17 +# Hebrew: 2006-06-30, Source30 +# Hindi: 2007-01-05, Source31 +# Hungarian: 2007-03-31, Source33 +# Icelandic: 2007-03-31, Source35 +# Indonesian: 2007-01-05, Source34 +# Italian: 2007-04-12, Source36 +# Japanese: 2007-04-13, Source37 +# Kannada: 2006-06-30, Source40 +# Khmer: 2006-06-30, Source39 +# Korean: 2007-04-12, Source41 +# Lithuanian: 2007-01-05, Source42 +# Latvian: 2007-01-05, Source43 +# Malayalam: 2006-06-30, Source45 +# Malaysian: 2007-01-05, Source46 +# Maori (Ngai Tahu): 2006-07-06, Source44 +# Norwegian: 2007-03-31, Source49 +# Norwegian (Primary): 2006-02-02, Source50 +# Nynorsk: 2006-05-01, Source48 +# Polish: 2007-03-31, Source51 +# Portuguese: 2007-03-31, Source52 +# Portuguese (Brazil): 2007-04-02, Source53 +# Romanian: 2007-01-05, Source54 +# Russian: 2007-04-12, Source55 +# Sinhala: 2006-10-16, Source56 +# Serbian (Cyrillic Bosnia Herzegovina): 2006-08-26, Source62 +# Serbian (Cyrillic): 2007-03-31, Source61 +# Serbian (Latin): 2007-03-31, Source63 +# Slovak: 2007-04-01, Source57 +# Slovenian: 2007-03-31, Source58 +# Somali: 2006-06-30, Source59 +# Spanish (International): 2007-04-05, Source20 +# Swedish: 2007-03-31, Source64 +# Tagalog: 2007-03-31, Source66 +# Thai: 2007-03-31, Source65 +# Turkish: 2007-03-31, Source67 +# Ukrainian: 2007-01-05, Source68 +# Vietnamese: 2007-01-05, Source69 + %package af Summary: Moodle language pack for Afrikaans Group: Applications/Publishing @@ -48,7 +182,8 @@ This package contains the files needed to display Moodle in Afrikaans. %files af %defattr (-,root,root,-) -%{moodlewebdir}/lang/af* +%{moodlewebdir}/lang/af_utf8 +%{moodlewebdir}/install/lang/af_utf8 %package ar Summary: Moodle language pack for Arabic @@ -60,19 +195,23 @@ This package contains the files needed to display Moodle in Arabic. %files ar %defattr (-,root,root,-) -%{moodlewebdir}/lang/ar* +%{moodlewebdir}/lang/ar_utf8 +%{moodlewebdir}/install/lang/ar_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ar.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ar.js %package be -Summary: Moodle language pack for Byelorussian +Summary: Moodle language pack for Belarusian Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description be -This package contains the files needed to display Moodle in Byelorussian. +This package contains the files needed to display Moodle in Belarusian. %files be %defattr (-,root,root,-) -%{moodlewebdir}/lang/be* +%{moodlewebdir}/lang/be_utf8 +%{moodlewebdir}/install/lang/be_utf8 %package bg Summary: Moodle language pack for Bulgarian @@ -84,7 +223,8 @@ This package contains the files needed to display Moodle in Bulgarian. %files bg %defattr (-,root,root,-) -%{moodlewebdir}/lang/bg* +%{moodlewebdir}/lang/bg_utf8 +%{moodlewebdir}/install/lang/bg_utf8 %package bs Summary: Moodle language pack for Bosnian @@ -96,7 +236,8 @@ This package contains the files needed to display Moodle in Bosnian. %files bs %defattr (-,root,root,-) -%{moodlewebdir}/lang/bs* +%{moodlewebdir}/lang/bs_utf8 +%{moodlewebdir}/install/lang/bs_utf8 %package ca Summary: Moodle language pack for Catalan @@ -108,7 +249,11 @@ This package contains the files needed to display Moodle in Catalan. %files ca %defattr (-,root,root,-) -%{moodlewebdir}/lang/ca* +%{moodlewebdir}/lang/ca_utf8 +%{moodlewebdir}/install/lang/ca_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ca.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ca.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-ca.php %package cs Summary: Moodle language pack for Czech @@ -120,7 +265,29 @@ This package contains the files needed to display Moodle in Czech. %files cs %defattr (-,root,root,-) -%{moodlewebdir}/lang/cs* +%{moodlewebdir}/lang/cs_utf8 +%{moodlewebdir}/install/lang/cs_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/cs.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/cs.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/cs.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-cz.php + +%package cy +Summary: Moodle language pack for Welsh +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description cy +This package contains the files needed to display Moodle in Welsh. Currently, +only the tinymce editor provides Welsh support. + +%files cy +%defattr (-,root,root,-) +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/cy.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cy.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/cy.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/cy.js %package da Summary: Moodle language pack for Danish @@ -132,7 +299,13 @@ This package contains the files needed to display Moodle in Danish. %files da %defattr (-,root,root,-) -%{moodlewebdir}/lang/da* +%{moodlewebdir}/lang/da_utf8 +%{moodlewebdir}/install/lang/da_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/da.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/da.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/da.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-dk.php %package de Summary: Moodle language pack for German @@ -144,7 +317,26 @@ This package contains the files needed to display Moodle in German. %files de %defattr (-,root,root,-) -%{moodlewebdir}/lang/de* +%{moodlewebdir}/lang/de_utf8 +%{moodlewebdir}/install/lang/de_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/de.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/de.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/de.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/de.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-de.php + +%package de_du +Summary: Moodle language pack for German (Personal) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description de_du +This package contains the files needed to display Moodle in German (Personal). + +%files de_du +%defattr (-,root,root,-) +%{moodlewebdir}/lang/de_du_utf8 +%{moodlewebdir}/install/lang/de_du_utf8 %package el Summary: Moodle language pack for Greek @@ -156,7 +348,10 @@ This package contains the files needed to display Moodle in Greek. %files el %defattr (-,root,root,-) -%{moodlewebdir}/lang/el* +%{moodlewebdir}/lang/el_utf8 +%{moodlewebdir}/install/lang/el_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/el.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/el.js %package es Summary: Moodle language pack for Spanish @@ -168,7 +363,13 @@ This package contains the files needed to display Moodle in Spanish. %files es %defattr (-,root,root,-) -%{moodlewebdir}/lang/es* +%{moodlewebdir}/lang/es_utf8 +%{moodlewebdir}/install/lang/es* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/es.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/es.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-es.php %package et Summary: Moodle language pack for Estonian @@ -180,7 +381,8 @@ This package contains the files needed to display Moodle in Estonian. %files et %defattr (-,root,root,-) -%{moodlewebdir}/lang/et* +%{moodlewebdir}/lang/et_utf8 +%{moodlewebdir}/install/lang/et_utf8 %package eu Summary: Moodle language pack for Basque @@ -192,19 +394,24 @@ This package contains the files needed to display Moodle in Basque. %files eu %defattr (-,root,root,-) -%{moodlewebdir}/lang/eu* +%{moodlewebdir}/lang/eu_utf8 +%{moodlewebdir}/install/lang/eu_utf8 %package fa -Summary: Moodle language pack for Persian +Summary: Moodle language pack for Farsi Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description fa -This package contains the files needed to display Moodle in Persian. +This package contains the files needed to display Moodle in Farsi. %files fa %defattr (-,root,root,-) -%{moodlewebdir}/lang/fa* +%{moodlewebdir}/lang/fa_utf8 +%{moodlewebdir}/install/lang/fa_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/fa.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fa* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/fa.js %package fi Summary: Moodle language pack for Finnish @@ -216,7 +423,38 @@ This package contains the files needed to display Moodle in Finnish. %files fi %defattr (-,root,root,-) -%{moodlewebdir}/lang/fi* +%{moodlewebdir}/lang/fi_utf8 +%{moodlewebdir}/install/lang/fi_utf8 +%{moodlewebdir}/lib/editor/htmlarea/plugins/TableOperations/lang/fi.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/fi.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/fi.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-fi.php + +%package fil +Summary: Moodle language pack for Filipino +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description fil +This package contains the files needed to display Moodle in Filipino. + +%files fil +%defattr (-,root,root,-) +%{moodlewebdir}/lang/fil_utf8 +%{moodlewebdir}/install/lang/fil_utf8 + +%package fo +Summary: Moodle language pack for Faroese +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description fo +This package contains the files needed to display Moodle in Faroese. +Currently, only the phpmailer supports Faroese. + +%files fo +%defattr (-,root,root,-) +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-fo.php %package fr Summary: Moodle language pack for French @@ -228,31 +466,69 @@ This package contains the files needed to display Moodle in French. %files fr %defattr (-,root,root,-) -%{moodlewebdir}/lang/fr* +%{moodlewebdir}/lang/fr_utf8 +%{moodlewebdir}/install/lang/fr_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/fr.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fr.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/fr.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/fr.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-fr.php + +%package fr_ca +Summary: Moodle language pack for French (Canada) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description fr_ca +This package contains the files needed to display Moodle in French (Canada). + +%files fr_ca +%defattr (-,root,root,-) +%{moodlewebdir}/lang/fr_ca_utf8 +%{moodlewebdir}/install/lang/fr_ca_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/fr_ca.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fr_ca.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/fr_ca.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/fr_ca.js %package ga -Summary: Moodle language pack for Irish +Summary: Moodle language pack for Gaelic Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description ga -This package contains the files needed to display Moodle in Irish. +This package contains the files needed to display Moodle in Gaelic. %files ga %defattr (-,root,root,-) -%{moodlewebdir}/lang/ga* +%{moodlewebdir}/lang/ga_utf8 +%{moodlewebdir}/install/lang/ga_utf8 %package gl -Summary: Moodle language pack for Galician +Summary: Moodle language pack for Gallego Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description gl -This package contains the files needed to display Moodle in Galician. +This package contains the files needed to display Moodle in Gallego. %files gl %defattr (-,root,root,-) -%{moodlewebdir}/lang/gl* +%{moodlewebdir}/lang/gl_utf8 +%{moodlewebdir}/install/lang/gl_utf8 + +%package gu +Summary: Moodle language pack for Gujarati +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description gu +This package contains the files needed to display Moodle in Gujarati. +Currently, only the installer is available in Gujarati. + +%files gu +%defattr (-,root,root,-) +%{moodlewebdir}/install/lang/gu_utf8 %package he Summary: Moodle language pack for Hebrew @@ -264,7 +540,38 @@ This package contains the files needed to display Moodle in Hebrew. %files he %defattr (-,root,root,-) -%{moodlewebdir}/lang/he* +%{moodlewebdir}/lang/he_utf8 +%{moodlewebdir}/install/lang/he_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/he.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/he.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/he.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/he.js + +%package hi +Summary: Moodle language pack for Hindi +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description hi +This package contains the files needed to display Moodle in Hindi. + +%files hi +%defattr (-,root,root,-) +%{moodlewebdir}/lang/hi_utf8 +%{moodlewebdir}/install/lang/hi_utf8 + +%package hr +Summary: Moodle language pack for Croatian +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description hr +This package contains the files needed to display Moodle in Croatian. + +%files hr +%defattr (-,root,root,-) +%{moodlewebdir}/lang/hr_utf8 +%{moodlewebdir}/install/lang/hr_utf8 %package hu Summary: Moodle language pack for Hungarian @@ -276,7 +583,13 @@ This package contains the files needed to display Moodle in Hungarian. %files hu %defattr (-,root,root,-) -%{moodlewebdir}/lang/hu* +%{moodlewebdir}/lang/hu_utf8 +%{moodlewebdir}/install/lang/hu_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/hu.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/hu.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/hu.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/hu.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-hu.php %package id Summary: Moodle language pack for Indonesian @@ -288,7 +601,25 @@ This package contains the files needed to display Moodle in Indonesian. %files id %defattr (-,root,root,-) -%{moodlewebdir}/lang/id* +%{moodlewebdir}/lang/id_utf8 +%{moodlewebdir}/install/lang/id_utf8 + +%package is +Summary: Moodle language pack for Icelandic +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description is +This package contains the files needed to display Moodle in Icelandic. + +%files is +%defattr (-,root,root,-) +%{moodlewebdir}/lang/is_utf8 +%{moodlewebdir}/install/lang/is_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/is.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/is.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/is.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/is.js %package it Summary: Moodle language pack for Italian @@ -300,7 +631,11 @@ This package contains the files needed to display Moodle in Italian. %files it %defattr (-,root,root,-) -%{moodlewebdir}/lang/it* +%{moodlewebdir}/lang/it_utf8 +%{moodlewebdir}/install/lang/it_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/it.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-it.php %package ja Summary: Moodle language pack for Japanese @@ -312,7 +647,11 @@ This package contains the files needed to display Moodle in Japanese. %files ja %defattr (-,root,root,-) -%{moodlewebdir}/lang/ja* +%{moodlewebdir}/lang/ja_utf8 +%{moodlewebdir}/install/lang/ja_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ja.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ja.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-ja.php %package ka Summary: Moodle language pack for Georgian @@ -324,19 +663,21 @@ This package contains the files needed to display Moodle in Georgian. %files ka %defattr (-,root,root,-) -%{moodlewebdir}/lang/ka* +%{moodlewebdir}/lang/ka_utf8 +%{moodlewebdir}/install/lang/ka_utf8 %package km -Summary: Moodle language pack for Cambodian +Summary: Moodle language pack for Khmer Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description km -This package contains the files needed to display Moodle in Cambodian. +This package contains the files needed to display Moodle in Khmer. %files km %defattr (-,root,root,-) -%{moodlewebdir}/lang/km* +%{moodlewebdir}/lang/km_utf8 +%{moodlewebdir}/install/lang/km_utf8 %package kn Summary: Moodle language pack for Kannada @@ -348,7 +689,8 @@ This package contains the files needed to display Moodle in Kannada. %files kn %defattr (-,root,root,-) -%{moodlewebdir}/lang/kn* +%{moodlewebdir}/lang/kn_utf8 +%{moodlewebdir}/install/lang/kn_utf8 %package ko Summary: Moodle language pack for Korean @@ -360,7 +702,24 @@ This package contains the files needed to display Moodle in Korean. %files ko %defattr (-,root,root,-) -%{moodlewebdir}/lang/ko* +%{moodlewebdir}/lang/ko_utf8 +%{moodlewebdir}/install/lang/ko_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ko.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ko.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ko.js + +%package lo +Summary: Moodle language pack for Lao +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description lo +This package contains the files needed to display Moodle in Lao. +Currently, only the installer is available in Lao. + +%files lo +%defattr (-,root,root,-) +%{moodlewebdir}/install/lang/lo_utf8 %package lt Summary: Moodle language pack for Lithuanian @@ -372,7 +731,8 @@ This package contains the files needed to display Moodle in Lithuanian. %files lt %defattr (-,root,root,-) -%{moodlewebdir}/lang/lt* +%{moodlewebdir}/lang/lt_utf8 +%{moodlewebdir}/install/lang/lt_utf8 %package lv Summary: Moodle language pack for Latvian @@ -384,31 +744,47 @@ This package contains the files needed to display Moodle in Latvian. %files lv %defattr (-,root,root,-) -%{moodlewebdir}/lang/lv* +%{moodlewebdir}/lang/lv_utf8 +%{moodlewebdir}/install/lang/lv_utf8 -%package mi -Summary: Moodle language pack for Maori +%package mi_tn +Summary: Moodle language pack for Maori (Ngai Tahu) Group: Applications/Publishing Requires: moodle = %{version}-%{release} -%description mi -This package contains the files needed to display Moodle in Maori. +%description mi_tn +This package contains the files needed to display Moodle in Maori (Ngai Tahu). -%files mi +%files mi_tn %defattr (-,root,root,-) -%{moodlewebdir}/lang/mi* +%{moodlewebdir}/lang/mi_tn_utf8 +%{moodlewebdir}/install/lang/mi_* + +%package ml +Summary: Moodle language pack for Malayalam +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description ml +This package contains the files needed to display Moodle in Malayalam. + +%files ml +%defattr (-,root,root,-) +%{moodlewebdir}/lang/ml_utf8 +%{moodlewebdir}/install/lang/ml_utf8 %package ms -Summary: Moodle language pack for Malay +Summary: Moodle language pack for Malaysian Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description ms -This package contains the files needed to display Moodle in Malay. +This package contains the files needed to display Moodle in Malaysian. %files ms %defattr (-,root,root,-) -%{moodlewebdir}/lang/ms* +%{moodlewebdir}/lang/ms_utf8 +%{moodlewebdir}/install/lang/ms_utf8 %package nl Summary: Moodle language pack for Dutch @@ -420,20 +796,30 @@ This package contains the files needed to display Moodle in Dutch. %files nl %defattr (-,root,root,-) -%{moodlewebdir}/lang/nl* +%{moodlewebdir}/lang/nl_utf8 +%{moodlewebdir}/install/lang/nl_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/nl.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nl.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/nl.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/nl.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-nl.php %package nn -Summary: Moodle language pack for Norwegian Nynorsk +Summary: Moodle language pack for Nynorsk Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description nn -This package contains the files needed to display Moodle in Norwegian -Nynorsk. +This package contains the files needed to display Moodle in Nynorsk. %files nn %defattr (-,root,root,-) -%{moodlewebdir}/lang/nn* +%{moodlewebdir}/lang/nn_utf8 +%{moodlewebdir}/install/lang/nn_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/nn.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nn.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/nn.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/nn.js %package no Summary: Moodle language pack for Norwegian Bokmal @@ -441,12 +827,31 @@ Group: Applications/Publishing Requires: moodle = %{version}-%{release} %description no -This package contains the files needed to display Moodle in Norwegian -Bokmal. +This package contains the files needed to display Moodle in Norwegian Bokmal. %files no %defattr (-,root,root,-) -%{moodlewebdir}/lang/no* +%{moodlewebdir}/lang/no_utf8 +%{moodlewebdir}/install/lang/no_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/nb.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nb.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/nb.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/nb.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-no.php + +%package no_gr +Summary: Moodle language pack for Norwegian (Primary) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description no_gr +This package contains the files needed to display Moodle in Norwegian +(Primary). + +%files no_gr +%defattr (-,root,root,-) +%{moodlewebdir}/lang/no_gr_utf8 +%{moodlewebdir}/install/lang/no_gr_utf8 %package pl Summary: Moodle language pack for Polish @@ -458,7 +863,13 @@ This package contains the files needed to display Moodle in Polish. %files pl %defattr (-,root,root,-) -%{moodlewebdir}/lang/pl* +%{moodlewebdir}/lang/pl_utf8 +%{moodlewebdir}/install/lang/pl_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/pl.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/pl.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-pl.php %package pt Summary: Moodle language pack for Portuguese @@ -470,7 +881,29 @@ This package contains the files needed to display Moodle in Portuguese. %files pt %defattr (-,root,root,-) -%{moodlewebdir}/lang/pt* +%{moodlewebdir}/lang/pt_utf8 +%{moodlewebdir}/install/lang/pt_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/pt.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/pt.js + +%package pt_br +Summary: Moodle language pack for Portuguese (Brazil) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description pt_br +This package contains the files needed to display Moodle in Portuguese +(Brazil). + +%files pt_br +%defattr (-,root,root,-) +%{moodlewebdir}/lang/pt_br_utf8 +%{moodlewebdir}/install/lang/pt_br_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/pt_br.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pt_br.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/pt_br.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/pt_br.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-br.php %package ro Summary: Moodle language pack for Romanian @@ -482,7 +915,10 @@ This package contains the files needed to display Moodle in Romanian. %files ro %defattr (-,root,root,-) -%{moodlewebdir}/lang/ro* +%{moodlewebdir}/lang/ro_utf8 +%{moodlewebdir}/install/lang/ro_utf8 +%{moodlewebdir}/lib/editor/htmlarea/plugins/TableOperations/lang/ro.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-ro.php %package ru Summary: Moodle language pack for Russian @@ -494,7 +930,30 @@ This package contains the files needed to display Moodle in Russian. %files ru %defattr (-,root,root,-) -%{moodlewebdir}/lang/ru* +%{moodlewebdir}/lang/ru_utf8 +%{moodlewebdir}/install/lang/ru_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ru* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ru* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/ru* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ru* +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-ru.php + +%package si +Summary: Moodle language pack for Sinhala +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description si +This package contains the files needed to display Moodle in Sinhala. + +%files si +%defattr (-,root,root,-) +%{moodlewebdir}/lang/si_utf8 +%{moodlewebdir}/install/lang/si_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/si.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/si.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/si.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/si.js %package sk Summary: Moodle language pack for Slovak @@ -506,7 +965,12 @@ This package contains the files needed to display Moodle in Slovak. %files sk %defattr (-,root,root,-) -%{moodlewebdir}/lang/sk* +%{moodlewebdir}/lang/sk_utf8 +%{moodlewebdir}/install/lang/sk_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/sk.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sk.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/sk.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/sk.js %package sl Summary: Moodle language pack for Slovenian @@ -518,7 +982,34 @@ This package contains the files needed to display Moodle in Slovenian. %files sl %defattr (-,root,root,-) -%{moodlewebdir}/lang/sl* +%{moodlewebdir}/lang/sl_utf8 +%{moodlewebdir}/install/lang/sl_utf8 + +%package sm +Summary: Moodle language pack for Samoan +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description sm +This package contains the files needed to display Moodle in Samoan. +Currently, only the installer is available in Samoan. + +%files sm +%defattr (-,root,root,-) +%{moodlewebdir}/install/lang/sm_utf8 + +%package so +Summary: Moodle language pack for Somali +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description so +This package contains the files needed to display Moodle in Somali. + +%files so +%defattr (-,root,root,-) +%{moodlewebdir}/lang/so_utf8 +%{moodlewebdir}/install/lang/so_utf8 %package sq Summary: Moodle language pack for Albanian @@ -530,19 +1021,49 @@ This package contains the files needed to display Moodle in Albanian. %files sq %defattr (-,root,root,-) -%{moodlewebdir}/lang/sq* +%{moodlewebdir}/lang/sq_utf8 +%{moodlewebdir}/install/lang/sq_utf8 -%package sr -Summary: Moodle language pack for Serbian +%package sr_cr +Summary: Moodle language pack for Serbian (Cyrillic) Group: Applications/Publishing Requires: moodle = %{version}-%{release} -%description sr -This package contains the files needed to display Moodle in Serbian. +%description sr_cr +This package contains the files needed to display Moodle in Serbian (Cyrillic). -%files sr +%files sr_cr %defattr (-,root,root,-) -%{moodlewebdir}/lang/sr* +%{moodlewebdir}/lang/sr_cr_utf8 +%{moodlewebdir}/install/lang/sr_cr_utf8 + +%package sr_cr_bo +Summary: Moodle language pack for Serbian (Cyrillic Bosnia Herzegovina) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description sr_cr_bo +This package contains the files needed to display Moodle in Serbian +(Cyrillic Bosnia Herzegovina). + +%files sr_cr_bo +%defattr (-,root,root,-) +%{moodlewebdir}/lang/sr_cr_bo_utf8 +%{moodlewebdir}/install/lang/sr_cr_bo_utf8 +%{moodlewebdir}/install/lang/sr_utf8 + +%package sr_lt +Summary: Moodle language pack for Serbian (Latin) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description sr_lt +This package contains the files needed to display Moodle in Serbian (Latin). + +%files sr_lt +%defattr (-,root,root,-) +%{moodlewebdir}/lang/sr_lt_utf8 +%{moodlewebdir}/install/lang/sr_lt_utf8 %package sv Summary: Moodle language pack for Swedish @@ -554,7 +1075,26 @@ This package contains the files needed to display Moodle in Swedish. %files sv %defattr (-,root,root,-) -%{moodlewebdir}/lang/sv* +%{moodlewebdir}/lang/sv_utf8 +%{moodlewebdir}/install/lang/sv_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/sv.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/sv.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/sv.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-se.php + +%package ta +Summary: Moodle language pack for Tamil +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description ta +This package contains the files needed to display Moodle in Tamil. +Currently, only the installer is available in Tamil. + +%files ta +%defattr (-,root,root,-) +%{moodlewebdir}/install/lang/ta_utf8 %package th Summary: Moodle language pack for Thai @@ -566,7 +1106,9 @@ This package contains the files needed to display Moodle in Thai. %files th %defattr (-,root,root,-) -%{moodlewebdir}/lang/th* +%{moodlewebdir}/lang/th_utf8 +%{moodlewebdir}/install/lang/th_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/th.js %package tl Summary: Moodle language pack for Tagalog @@ -578,7 +1120,21 @@ This package contains the files needed to display Moodle in Tagalog. %files tl %defattr (-,root,root,-) -%{moodlewebdir}/lang/tl* +%{moodlewebdir}/lang/tl_utf8 +%{moodlewebdir}/install/lang/tl_utf8 + +%package to +Summary: Moodle language pack for Tonga +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description to +This package contains the files needed to display Moodle in Tonga. +Currently, only the installer is available in Tonga. + +%files to +%defattr (-,root,root,-) +%{moodlewebdir}/install/lang/to_utf8 %package tr Summary: Moodle language pack for Turkish @@ -590,7 +1146,26 @@ This package contains the files needed to display Moodle in Turkish. %files tr %defattr (-,root,root,-) -%{moodlewebdir}/lang/tr* +%{moodlewebdir}/lang/tr_utf8 +%{moodlewebdir}/install/lang/tr_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/tr.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/tr.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/tr.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/tr.js +%{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-tr.php + +%package tw +Summary: Moodle language pack for Twi +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} + +%description tw +This package contains the files needed to display Moodle in Twi. +Currently, only one part of the tinymce editor is available in Twi. + +%files tw +%defattr (-,root,root,-) +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/tw.js %package uk Summary: Moodle language pack for Ukrainian @@ -602,7 +1177,8 @@ This package contains the files needed to display Moodle in Ukrainian. %files uk %defattr (-,root,root,-) -%{moodlewebdir}/lang/uk* +%{moodlewebdir}/lang/uk_utf8 +%{moodlewebdir}/install/lang/uk_utf8 %package vi Summary: Moodle language pack for Vietnamese @@ -614,19 +1190,44 @@ This package contains the files needed to display Moodle in Vietnamese. %files vi %defattr (-,root,root,-) -%{moodlewebdir}/lang/vi* +%{moodlewebdir}/lang/vi_utf8 +%{moodlewebdir}/install/lang/vi_utf8 + +%package zh_cn +Summary: Moodle language pack for Chinese (Simplified) +Group: Applications/Publishing +Requires: moodle = %{version}-%{release} -%package zh -Summary: Moodle language pack for Chinese +%description zh_cn +This package contains the files needed to display Moodle in Chinese +(Simplified). + +%files zh_cn +%defattr (-,root,root,-) +%{moodlewebdir}/lang/zh_cn_utf8 +%{moodlewebdir}/install/lang/zh_cn_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/zh_cn.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_cn.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/zh_cn.js +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/zh_cn.js + +%package zh_tw +Summary: Moodle language pack for Chinese (Traditional/Big5) Group: Applications/Publishing Requires: moodle = %{version}-%{release} -%description zh -This package contains the files needed to display Moodle in Chinese. +%description zh_tw +This package contains the files needed to display Moodle in Chinese +(Traditional/Big5). -%files zh +%files zh_tw %defattr (-,root,root,-) -%{moodlewebdir}/lang/zh* +%{moodlewebdir}/lang/zh_tw_utf8 +%{moodlewebdir}/install/lang/zh_tw_utf8 +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/zh_tw* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_tw* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/zh_tw* +%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/zh_tw* %package editor-spellcheck Summary: Spellcheck plugin for Moodle @@ -640,34 +1241,118 @@ This package contains the spellchecking plugin for Moodle's editor. %prep %setup -q -n %{name} -#%patch0 -p1 -b .mimetex-linux -#%patch1 -p1 -b .mimetex-fedora cp %{SOURCE6} README-rpm -find $RPM_BUILD_DIR/%{name} -name \*.bak -exec rm {} \; -find $RPM_BUILD_DIR/%{name} -type f -exec chmod a-x {} \; -find $RPM_BUILD_DIR/%{name} -name \*.pl -exec chmod a+x {} \; -find $RPM_BUILD_DIR/%{name} -name \*.cgi -exec chmod a+x {} \; -sed -i 's/\r//' README.txt -sed -i 's/\r//' lib/editor/htmlarea/plugins/SpellChecker/spell-check-logic.cgi + +cd lang +unzip -qq -o %{SOURCE7} +unzip -qq -o %{SOURCE8} +unzip -qq -o %{SOURCE9} +unzip -qq -o %{SOURCE10} +unzip -qq -o %{SOURCE11} +unzip -qq -o %{SOURCE12} +unzip -qq -o %{SOURCE13} +unzip -qq -o %{SOURCE14} +unzip -qq -o %{SOURCE15} +unzip -qq -o %{SOURCE16} +unzip -qq -o %{SOURCE17} +unzip -qq -o %{SOURCE18} +unzip -qq -o %{SOURCE19} +unzip -qq -o %{SOURCE20} +unzip -qq -o %{SOURCE21} +unzip -qq -o %{SOURCE22} +unzip -qq -o %{SOURCE23} +unzip -qq -o %{SOURCE24} +unzip -qq -o %{SOURCE25} +unzip -qq -o %{SOURCE26} +unzip -qq -o %{SOURCE27} +unzip -qq -o %{SOURCE28} +unzip -qq -o %{SOURCE29} +unzip -qq -o %{SOURCE30} +unzip -qq -o %{SOURCE31} +unzip -qq -o %{SOURCE32} +unzip -qq -o %{SOURCE33} +unzip -qq -o %{SOURCE34} +unzip -qq -o %{SOURCE35} +unzip -qq -o %{SOURCE36} +unzip -qq -o %{SOURCE37} +unzip -qq -o %{SOURCE38} +unzip -qq -o %{SOURCE39} +unzip -qq -o %{SOURCE40} +unzip -qq -o %{SOURCE41} +unzip -qq -o %{SOURCE42} +unzip -qq -o %{SOURCE43} +unzip -qq -o %{SOURCE44} +unzip -qq -o %{SOURCE45} +unzip -qq -o %{SOURCE46} +unzip -qq -o %{SOURCE47} +unzip -qq -o %{SOURCE48} +unzip -qq -o %{SOURCE49} +unzip -qq -o %{SOURCE50} +unzip -qq -o %{SOURCE51} +unzip -qq -o %{SOURCE52} +unzip -qq -o %{SOURCE53} +unzip -qq -o %{SOURCE54} +unzip -qq -o %{SOURCE55} +unzip -qq -o %{SOURCE56} +unzip -qq -o %{SOURCE57} +unzip -qq -o %{SOURCE58} +unzip -qq -o %{SOURCE59} +unzip -qq -o %{SOURCE60} +unzip -qq -o %{SOURCE61} +unzip -qq -o %{SOURCE62} +unzip -qq -o %{SOURCE63} +unzip -qq -o %{SOURCE64} +unzip -qq -o %{SOURCE65} +unzip -qq -o %{SOURCE66} +unzip -qq -o %{SOURCE67} +unzip -qq -o %{SOURCE68} +unzip -qq -o %{SOURCE69} +unzip -qq -o %{SOURCE70} +unzip -qq -o %{SOURCE71} +cd .. + +find . -type f \! -name \*.pl -exec chmod a-x {} \; +find . -name \*.cgi -exec chmod a+x {} \; +chmod a+x admin/process_email.php +chmod a+x mod/chat/chatd.php +chmod a+x mod/wiki/ewiki/fragments/mkhuge +sed -i 's/\r//' auth/fc/Readme.txt +sed -i 's/\r//' doc/contents.php +sed -i 's/\r//' lang/README.txt +sed -i 's/\r//' lang/en_utf8/help/assignment/quickgrade.html +sed -i 's/\r//' lang/en_utf8/help/lesson/importppt.html +sed -i 's/\r//' lang/en_utf8/help/lesson/questionoption.html +sed -i 's/\r//' lang/en_utf8/help/lesson/questiontypes.html +sed -i 's/\r//' lang/en_utf8/help/uploadgroups.html +sed -i 's/\r//' lib/adodb/license.txt +sed -i 's/\r//' lib/adodb/pear/readme.Auth.txt +sed -i 's/\r//' lib/adodb/readme.htm +sed -i 's/\r//' lib/adodb/readme.txt +sed -i 's/\r//' lib/adodb/tips_portable_sql.htm +sed -i 's/\r//' lib/mp3player/readme.txt +sed -i 's/\r//' login/change_password_form.html +sed -i 's/\r//' mod/wiki/ewiki/README +sed -i 's/\r//' mod/wiki/ewiki/README.de +sed -i 's/\r//' question/format/webct/TODO.txt +sed -i 's/\r//' theme/chameleon/pix/mod/README.txt %build rm config-dist.php install.php tags filter/tex/mimetex.* filter/tex/README.mimetex +%if ! %{with_spellcheck} +rm -rf lib/editor/htmlarea/plugins/SpellChecker +%endif %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{moodlewebdir} mkdir -p $RPM_BUILD_ROOT%{moodledatadir} cp -a * $RPM_BUILD_ROOT%{moodlewebdir} -cp -ad install/lang/* $RPM_BUILD_ROOT%{moodlewebdir}/lang/ rm $RPM_BUILD_ROOT%{moodlewebdir}/README* install -p -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/moodle.conf install -p -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{moodlewebdir}/config.php install -p -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/moodle install -p -D -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/moodle-cron install -p -D -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_initrddir}/moodle -%if %{with_spellcheck} < 1 -rm -rf $RPM_BUILD_ROOT/lib/editor/plugins/SpellChecker -%endif find $RPM_BUILD_ROOT -name \*.mimetex-\* -exec rm {} \; %clean @@ -686,15 +1371,95 @@ fi %defattr(-,root,root,-) %doc README* doc/COPYRIGHT.txt %dir %{_var}/www/moodle -%{moodlewebdir}/[a-ce-km-z]* +%dir %{moodlewebdir} +%{moodlewebdir}/[a-ce-hj-km-z]* %doc %{moodlewebdir}/doc +%{moodlewebdir}/index.php +%dir %{moodlewebdir}/install +%dir %{moodlewebdir}/install/lang +%{moodlewebdir}/install/lang/en* +%{moodlewebdir}/install/welcome.html +%{moodlewebdir}/iplookup +%dir %{moodlewebdir}/lang +%{moodlewebdir}/lang/en* +%{moodlewebdir}/lang/README.txt %{moodlewebdir}/lib +%if %{with_spellcheck} %exclude %{moodlewebdir}/lib/editor/htmlarea/plugins/SpellChecker +%endif +%exclude %{moodlewebdir}/lib/editor/htmlarea/plugins/TableOperations/lang/fi.js +%exclude %{moodlewebdir}/lib/editor/htmlarea/plugins/TableOperations/lang/ro.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/a* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/c* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/d* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/el.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/es.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/f* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/h* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/i* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/j* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/k* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/n* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/p* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ru* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/s* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/t* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/z* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/c* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/d* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/f* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/h* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/i* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/k* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/n* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/p* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/r* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/s* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/t* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/z* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/c* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/d* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/es.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/f* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/h* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/i* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/n* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/p* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/r* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/s* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/t* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/z* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/a* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/c* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/d* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/el.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/f* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/h* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/i* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/j* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/k* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/n* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/p* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ru* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/s* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/t* +%exclude %{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/z* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-b* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-c* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-d* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-es.php +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-f* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-h* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-i* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-j* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-n* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-p* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-r* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-s* +%exclude %{moodlewebdir}/lib/phpmailer/language/phpmailer.lang-t* %{moodlewebdir}/login -%dir %{moodlewebdir}/lang -%{moodlewebdir}/lang/en* -%{moodlewebdir}/lang/[^e]*_utf8 -%doc %{moodlewebdir}/lang/README.txt %attr(-,apache,apache) %{moodledatadir} %config(noreplace) %{_sysconfdir}/cron.d/%{name} %config(noreplace) %{_sysconfdir}/httpd/conf.d/moodle.conf @@ -708,6 +1473,16 @@ fi %endif %changelog +* Thu Apr 12 2007 Jerry James - 1.6.5-1 +- Update to 1.6.5 (fixes BZ 220041 and 232103) +- Own /var/www/moodle/web (BZ 233882) +- Drop unused mimetex patches +- Add executable bits to 3 scripts that should have them +- Remove the installation language files from the main package (twice) +- Package the moodle language files, not just the installation files +- Rename/add several language files to match the upstream list +- Minor typo fixes in the scripts + * Sat Oct 28 2006 Mike McGrath - 1.6.3-3 - Release bump diff --git a/sources b/sources index d38bf40..30e72fe 100644 --- a/sources +++ b/sources @@ -1,2 +1,72 @@ -86cddfda2b6d9a08b37cc3a16bda1090 moodle-1.5.4.tgz -2f9f3fcf83ab0f18c409f3a48e07eae2 moodle-1.6.3.tgz +7a8e9bfd778916f6a0183d913f0b2cd3 af_utf8.zip +fb06ec60796f08e95af01f1e040424f1 ar_utf8.zip +8b11d6e57bfddc5b5d77ebe36253f3d5 be_utf8.zip +f980776d6273fb5abb35fc2aa1222c90 bg_utf8.zip +97b582f205590b7f0f24f263d5df8833 bs_utf8.zip +973fd96c198d39a1b73e98049f6fbdbd ca_utf8.zip +b6057f3581e0d7813d706cc2f834f251 cs_utf8.zip +d66915c41692028fb57c00e30eaab6a6 da_utf8.zip +753205eface461cf74fe3b9537d36c37 de_du_utf8.zip +e29d43f89e7e707e073544ab76a408af de_utf8.zip +389a1485a32e0f5dce30f73f951e1b17 el_utf8.zip +5f86d0325523a9768f78635255f0befe en_us_utf8.zip +4dad3342f790fd6e036f1c2979c4a1ce en_utf8.zip +439a956080a9accb1ccd3b02a144d4ac es_utf8.zip +c7cdb5ce498d3da3889d0ab036d97aeb et_utf8.zip +555729fcdf24219c1c5237e7d4cb3514 eu_utf8.zip +0bfbace703d1e0008503a19d85608f06 fa_utf8.zip +cdcded6d20c6b684631228ef0b9abc73 fil_utf8.zip +1724e1dbc2f34bcdc352d688e1bfb75d fi_utf8.zip +cdb977c193163033992aec835c5a17d5 fr_ca_utf8.zip +544585c41d5b9c507741b43e662248ad fr_utf8.zip +b4c6b4fa701e89ff2cbb93a61d1224fe ga_utf8.zip +9492a85fbcefca8b0393f094bee42c95 gl_utf8.zip +10e89bcc365156c021268a8c7399c96f he_utf8.zip +f8a230d6656a25c8b867406a68e700d1 hi_utf8.zip +d98342fe75fcfdf071a1b2c902fe0ada hr_utf8.zip +b928c51420d72fb4f78b033f1304b1cb hu_utf8.zip +6caeefdb09c845352fdb683c4b32c6f8 id_utf8.zip +28abc5e7465974dcc7c30057880190eb is_utf8.zip +133b49d49b68a3ae901ab62a3c159276 it_utf8.zip +1584c2248ccc557a185de41b78d6af44 ja_utf8.zip +eb3f4d62d2ea839543e7a6645f38aa9f ka_utf8.zip +794a7861285ba99bcc636a7cc9d05149 km_utf8.zip +e4e5c6265a933a1a981d454ae1705470 kn_utf8.zip +6768d95469397a1655890aae3403e99b ko_utf8.zip +71360c57e1f06f9c71c2f99011e9a686 lt_utf8.zip +5b2053b492f08f86a2aa118f8ea35913 lv_utf8.zip +fdfae6ea3a39f5169e1ad61519132fe1 mi_tn_utf8.zip +11e19c422300b9831bec3b5e64a05ce4 ml_utf8.zip +cace1259d21c5e2d23d502f55fa200df moodle-1.6.5.tgz +383e001fd62d3be8a3c75bcec1a6d925 moodle.conf +325dca8497431ab6d2fe2b9bd7a7f2d7 moodle-config.php +0412e3f8081562a6da7579f093702f16 moodle-cron +64cf9d458296964bf90c2880c4ac8633 moodle.cron +9093b71b32a5724e1e4a3720befe0c4b moodle.init +92236b6db8242bc48730c1e028a4c0d6 moodle-README-rpm +438e6baeec71e294dfefac7a9beebf11 ms_utf8.zip +0683dac415f22d1ecc00d9cf72e8cdf0 nl_utf8.zip +3b2329dca71e527e378c1656e48ec579 nn_utf8.zip +42b4d10def4d71dab53aa3a4c81636d2 no_gr_utf8.zip +0fb80b8ca152d10d341b031dc7bd4b03 no_utf8.zip +1ffe8aca5e66c3a7517f5c555c4f5da6 pl_utf8.zip +d0c1ceba80b016b80aaed8d0e4d77989 pt_br_utf8.zip +40a6fc4ffefc12c296649c0e96351bc4 pt_utf8.zip +a45ad44d2c53aefc5d3336df0062b105 ro_utf8.zip +5a1686f23974925d1ad7d49b47deb568 ru_utf8.zip +e31ab0819d2261cacf2a11df2c12f4a7 si_utf8.zip +a15d49fb7f85131451bad142a7170010 sk_utf8.zip +7530f5df420ae545e5387c7788df1746 sl_utf8.zip +78270403cf752f08e2d2737e91dc9a05 so_utf8.zip +6cb34d6492db83bba013458c0b5d226f sq_utf8.zip +a34f23b2ed46b2af29977a96594bb7d1 sr_cr_bo_utf8.zip +16d99096427c3cc54e07ed69b61173f3 sr_cr_utf8.zip +7e2b37ad1f90cfed562c8e189e9895fc sr_lt_utf8.zip +29defaceb8a66230044dd2142c47bca9 sv_utf8.zip +4f668d364552f93bc972d40b1ae0c134 th_utf8.zip +c09bda23b720aa9562a66a7a048554df tl_utf8.zip +29e52926345a198d0eca053bd47c527b tr_utf8.zip +a99ef44a1ca745169b5070a7ce9a9815 uk_utf8.zip +a4d41c6a67d19bff45b9fd52bf55dac9 vi_utf8.zip +a76612a2a5423eb175c9cafadf000db4 zh_cn_utf8.zip +05c602da6b4b26da05a2795d91d64154 zh_tw_utf8.zip