%define _default_patch_fuzz 2
%define moodlewebdir %{_var}/www/moodle/web
%define moodledatadir %{_var}/www/moodle/data
# Suppress finding Perl libraries supplied by filter/algebra/*.p?
%define __perl_requires %{nil}
%define __perl_provides %{nil}
Name: moodle
Version: 1.9.18
Release: 1%{?dist}
Summary: A Course Management System
Group: Applications/Publishing
License: GPLv2+
URL: http://moodle.org/
Source0: http://download.moodle.org/stable19/%{name}-%{version}.tgz
#Using weekly snapshot downloaded 09/23/2009 for new PHP, BZ 525120
#Source0: http://download.moodle.org/stable19/moodle-weekly-19.tgz
Source1: moodle.conf
Source2: moodle-config.php
Source3: moodle.cron
Source4: moodle-cron
Source5: moodle.init
Source6: moodle-README-rpm
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
Source72: http://download.moodle.org/lang16/mn_utf8.zip
Source73: http://download.moodle.org/lang16/gu_utf8.zip
Source74: http://download.moodle.org/lang16/lo_utf8.zip
Source75: http://download.moodle.org/lang16/to_utf8.zip
# Font removed, license violation.
Source76: http://download.moodle.org/lang16/mi_wwow_utf8.zip
Source77: http://download.moodle.org/lang16/sm_utf8.zip
# Font removed, license violation.
Source78: http://download.moodle.org/lang16/ta_utf8.zip
Source79: http://download.moodle.org/lang16/hy_utf8.zip
Source80: http://download.moodle.org/lang16/mk_utf8.zip
Source81: http://download.moodle.org/lang16/ta_lk_utf8.zip
Source82: http://download.moodle.org/lang16/cy_utf8.zip
Source83: http://download.moodle.org/lang16/uz_utf8.zip
Source84: http://download.moodle.org/lang16/ur_utf8.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Patch0: moodle-1.9.3-rce-texed.patch
Patch1: moodle-1.9.4-CVE-2009-1171-1.patch
#Patch2: moodle-1.9.4-CVE-2009-1171-2.patch
#Patch3: moodle-1.9.9-htmlpurifier-4.1.1.patch
BuildRequires: unzip
Requires: php-gd vixie-cron mimetex perl(lib) php-mysql php-xmlrpc
Requires: perl(Encode) perl(Text::Aspell) perl(HTML::Parser) php
Requires: perl(HTML::Entities) perl(CGI)
Requires: php-Smarty
Requires: php-adodb
#Requires: php-magpierss
Requires: gnu-free-sans-fonts
Requires: php-pear-CAS
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
# Get rid of the old language pack names. We do not Provide them on purpose,
# since the base moodle package does not, in fact, support these languages.
Obsoletes: moodle-cy <= 1.8, moodle-fo <= 1.8, moodle-tw <= 1.8
%description
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-07-25.
#
# UPDATE: This list is being deprecated, as is duplicates upstream's
# website. I've created a script to download all packs, preserving
# timestamps, and will upload to CVS once some bugs are worked out
# WRT checking the spec for new language packs. -Jon Ciesla 4/1/08
#
# Afrikaans: 2007-01-05, Source7
# Albanian: 2007-08-11, Source60
# Arabic: 2007-05-01, Source8
# Armenian: 2007-05-30, Source79
# Basque: 2007-10-12, Source22
# Belarusian: 2007-08-11, Source9
# Bosnian: 2007-08-11, Source11
# Bulgarian: 2007-08-11, Source10
# Catalan: 2007-10-23, Source12
# Croatian: 2007-08-11, Source32
# Chinese (Simplified): 2007-08-22, Source70
# Chinese (Traditional/Big5): 2007-08-09, Source71
# Czech: 2007-10-20, Source13
# Danish: 2007-08-11, Source14
# Dutch: 2007-10-17, Source47
# English: 2007-10-24, Source18
# English (US): 2007-08-06, Source19
# Estonian: 2007-09-16, Source21
# Farsi: 2006-06-30, Source23
# Filipino: 2006-07-31, Source25
# Finnish: 2007-10-03, Source24
# French: 2007-10-24, Source26
# French (Canada): 2007-04-16, Source27
# Gaelic: 2007-01-05, Source28
# Gallego: 2007-08-11, Source29
# Georgian: 2007-04-16, Source38
# German: 2007-10-11, Source15
# German (Personal): 2007-08-20, Source16
# Greek: 2007-08-11, Source17
# Gujerati: 2006-11-05, Source73
# Hebrew: 2007-10-18, Source30
# Hindi: 2007-01-05, Source31
# Hungarian: 2007-08-11, Source33
# Icelandic: 2007-08-11, Source35
# Indonesian: 2007-08-11, Source34
# Italian: 2007-10-13, Source36
# Japanese: 2007-10-24, Source37
# Kannada: 2006-06-30, Source40
# Khmer: 2007-10-21, Source39
# Korean: 2007-09-10, Source41
# Lithuanian: 2007-08-11, Source42
# Lao: 2007-01-12, Source74
# Latvian: 2007-08-11, Source43
# Macedonian: 2007-10-19, Source80
# Malayalam: 2006-06-30, Source45
# Malaysian: 2007-01-05, Source46
# Maori (Ngai Tahu): 2006-07-06, Source44
# Maori (Waikato Uni): 2007-04-16, Source76
# Mongolian 2007-08-11, Source72
# Norwegian: 2007-10-19, Source49
# Norwegian (Primary): 2007-08-11, Source50
# Nynorsk: 2007-08-11, Source48
# Polish: 2007-09-06, Source51
# Portuguese: 2007-10-11, Source52
# Portuguese (Brazil): 2007-08-11, Source53
# Romanian: 2007-08-11, Source54
# Russian: 2007-09-27, Source55
# Samoan: 2007-04-16, Source77
# Sinhala: 2006-10-16, Source56
# Serbian (Cyrillic Bosnia Herzegovina): 2007-08-11, Source62
# Serbian (Cyrillic): 2007-10-08, Source61
# Serbian (Latin): 2007-10-08, Source63
# Slovak: 2007-10-22, Source57
# Slovenian: 2007-08-11, Source58
# Somali: 2006-06-30, Source59
# Spanish (International): 2007-10-16, Source20
# Swedish: 2007-10-15, Source64
# Tagalog: 2007-06-14, Source66
# Tamil: 2007-08-11, Source78
# Tamil (Sri Lanka): 2008-01-14, Source81
# Thai: 2007-06-10, Source65
# Tongan: 2007-04-16, Source75
# Turkish: 2007-09-12, Source67
# Ukrainian: 2007-08-11, Source68
# Vietnamese: 2007-08-11, Source69
%package af
Summary: Moodle language pack for Afrikaans
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description af
This package contains the files needed to display Moodle in Afrikaans.
%files af
%defattr (-,root,root,-)
%{moodlewebdir}/lang/af_utf8
%{moodlewebdir}/install/lang/af_utf8
%package ar
Summary: Moodle language pack for Arabic
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ar
This package contains the files needed to display Moodle in Arabic.
%files ar
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ar_utf8
%{moodlewebdir}/install/lang/ar_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-ar.inc.php
%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/langs/ar.js
%{moodlewebdir}/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/ar.js
%package ast
Summary: Moodle language pack for Asturian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ast
This package contains the files needed to display Moodle in Asturian
%files ast
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/ast_utf8
%package be
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 Belarusian.
%files be
%defattr (-,root,root,-)
%{moodlewebdir}/lang/be_utf8
%{moodlewebdir}/install/lang/be_utf8
%package bg
Summary: Moodle language pack for Bulgarian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description bg
This package contains the files needed to display Moodle in Bulgarian.
%files bg
%defattr (-,root,root,-)
%{moodlewebdir}/lang/bg_utf8
%{moodlewebdir}/install/lang/bg_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-bg*
%package bn
Summary: Moodle language pack for Bengali
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description bn
This package contains the files needed to display Moodle in Bengali.
%files bn
%defattr (-,root,root,-)
#%{moodlewebdir}/lang/bn_utf8
%{moodlewebdir}/install/lang/bn_utf8
%package bs
Summary: Moodle language pack for Bosnian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description bs
This package contains the files needed to display Moodle in Bosnian.
%files bs
%defattr (-,root,root,-)
%{moodlewebdir}/lang/bs_utf8
%{moodlewebdir}/install/lang/bs_utf8
%package ca
Summary: Moodle language pack for Catalan
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ca
This package contains the files needed to display Moodle in Catalan.
%files ca
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ca_utf8
%{moodlewebdir}/install/lang/ca_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-ca.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description cs
This package contains the files needed to display Moodle in Czech.
%files cs
%defattr (-,root,root,-)
%{moodlewebdir}/lang/cs_utf8
%{moodlewebdir}/install/lang/cs_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-cz.inc.php
%{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.
%files cy
%defattr (-,root,root,-)
%{moodlewebdir}/lang/cy_utf8
%{moodlewebdir}/install/lang/cy_utf8
%package da
Summary: Moodle language pack for Danish
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description da
This package contains the files needed to display Moodle in Danish.
%files da
%defattr (-,root,root,-)
%{moodlewebdir}/lang/da_utf8
%{moodlewebdir}/install/lang/da_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-ca.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description de
This package contains the files needed to display Moodle in German.
%files de
%defattr (-,root,root,-)
%{moodlewebdir}/lang/de_utf8
%{moodlewebdir}/install/lang/de_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-de.inc.php
%{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 dv
Summary: Moodle language pack for Dhivehi
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description dv
This package contains the files needed to display Moodle in Dhivehi.
%files dv
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/dv_utf8
%package dz
Summary: Moodle language pack for Dzongkha
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description dz
This package contains the files needed to display Moodle in Dzongkha.
%files dz
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/dz_utf8
%package el
Summary: Moodle language pack for Greek
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description el
This package contains the files needed to display Moodle in Greek.
%files el
%defattr (-,root,root,-)
%{moodlewebdir}/lang/el_utf8
%{moodlewebdir}/install/lang/el_utf8
#%{moodlewebdir}/lib/cas/languages/greek.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description es
This package contains the files needed to display Moodle in Spanish.
%files es
%defattr (-,root,root,-)
%{moodlewebdir}/lang/es_utf8
%{moodlewebdir}/install/lang/es*
#%{moodlewebdir}/lib/adodb/lang/adodb-es.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description et
This package contains the files needed to display Moodle in Estonian.
%files et
%defattr (-,root,root,-)
%{moodlewebdir}/lang/et_utf8
%{moodlewebdir}/install/lang/et_utf8
%package eu
Summary: Moodle language pack for Basque
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description eu
This package contains the files needed to display Moodle in Basque.
%files eu
%defattr (-,root,root,-)
%{moodlewebdir}/lang/eu_utf8
%{moodlewebdir}/install/lang/eu_utf8
%package fa
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 Farsi.
%files fa
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description fi
This package contains the files needed to display Moodle in Finnish.
%files fi
%defattr (-,root,root,-)
%{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 fr
Summary: Moodle language pack for French
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description fr
This package contains the files needed to display Moodle in French.
%files fr
%defattr (-,root,root,-)
%{moodlewebdir}/lang/fr_utf8
%{moodlewebdir}/install/lang/fr_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-fr.inc.php
#%{moodlewebdir}/lib/cas/languages/french.php
%{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 Gaelic
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ga
This package contains the files needed to display Moodle in Gaelic.
%files ga
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ga_utf8
%{moodlewebdir}/install/lang/ga_utf8
%package gl
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 Gallego.
%files gl
%defattr (-,root,root,-)
%{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}/lang/gu_utf8
%{moodlewebdir}/install/lang/gu_utf8
%package he
Summary: Moodle language pack for Hebrew
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description he
This package contains the files needed to display Moodle in Hebrew.
%files he
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description hu
This package contains the files needed to display Moodle in Hungarian.
%files hu
%defattr (-,root,root,-)
%{moodlewebdir}/lang/hu_utf8
%{moodlewebdir}/install/lang/hu_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-hu.inc.php
%{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 hy
Summary: Moodle language pack for Armenian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description hy
This package contains the files needed to display Moodle in Armenian.
%files hy
%defattr (-,root,root,-)
%{moodlewebdir}/lang/hy_utf8
%package id
Summary: Moodle language pack for Indonesian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description id
This package contains the files needed to display Moodle in Indonesian.
%files id
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description it
This package contains the files needed to display Moodle in Italian.
%files it
%defattr (-,root,root,-)
%{moodlewebdir}/lang/it_utf8
%{moodlewebdir}/install/lang/it_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-it.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ja
This package contains the files needed to display Moodle in Japanese.
%files ja
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ka
This package contains the files needed to display Moodle in Georgian.
%files ka
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ka_utf8
%{moodlewebdir}/install/lang/ka_utf8
%package kk
Summary: Moodle language pack for Kazakh
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description kk
This package contains the files needed to display Moodle in Kazakh.
%files kk
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/kk_utf8
%package km
Summary: Moodle language pack for Khmer
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
Requires: khmeros-base-fonts
%description km
This package contains the files needed to display Moodle in Khmer.
%files km
%defattr (-,root,root,-)
%{moodlewebdir}/lang/km_utf8
%{moodlewebdir}/install/lang/km_utf8
%package kn
Summary: Moodle language pack for Kannada
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description kn
This package contains the files needed to display Moodle in Kannada.
%files kn
%defattr (-,root,root,-)
%{moodlewebdir}/lang/kn_utf8
%{moodlewebdir}/install/lang/kn_utf8
%package ko
Summary: Moodle language pack for Korean
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ko
This package contains the files needed to display Moodle in Korean.
%files ko
%defattr (-,root,root,-)
%{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}/lang/lo_utf8
%{moodlewebdir}/install/lang/lo_utf8
%package lt
Summary: Moodle language pack for Lithuanian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description lt
This package contains the files needed to display Moodle in Lithuanian.
%files lt
%defattr (-,root,root,-)
%{moodlewebdir}/lang/lt_utf8
%{moodlewebdir}/install/lang/lt_utf8
%package lv
Summary: Moodle language pack for Latvian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description lv
This package contains the files needed to display Moodle in Latvian.
%files lv
%defattr (-,root,root,-)
%{moodlewebdir}/lang/lv_utf8
%{moodlewebdir}/install/lang/lv_utf8
%package mi_tn
Summary: Moodle language pack for Maori (Ngai Tahu)
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
Obsoletes: moodle-mi <= 1.6.3-3
%description mi_tn
This package contains the files needed to display Moodle in Maori (Ngai Tahu).
%files mi_tn
%defattr (-,root,root,-)
%{moodlewebdir}/lang/mi_tn_utf8
%{moodlewebdir}/install/lang/mi_tn*
%package mi_wwow
Summary: Moodle language pack for Maori (Waikato Uni)
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
Obsoletes: moodle-mi <= 1.6.3-3
%description mi_wwow
This package contains the files needed to display Moodle in Maori (Waikato Uni).
%files mi_wwow
%defattr (-,root,root,-)
%{moodlewebdir}/lang/mi_wwow_utf8
%{moodlewebdir}/install/lang/mi_wwow*
%package mk
Summary: Moodle language pack for Macedonian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description mk
This package contains the files needed to display Moodle in Macedonian
%files mk
%defattr (-,root,root,-)
%{moodlewebdir}/lang/mk_utf8
%{moodlewebdir}/install/lang/mk_utf8
%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 mn
Summary: Moodle language pack for Mongolian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description mn
This package contains the files needed to display Moodle in Mongolian.
%files mn
%defattr (-,root,root,-)
%{moodlewebdir}/lang/mn_utf8
%{moodlewebdir}/install/lang/mn_utf8
%package mr
Summary: Moodle language pack for Marathi
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description mr
This package contains the files needed to display Moodle in Marathi
%files mr
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/mr_utf8
%package ms
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 Malaysian.
%files ms
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ms_utf8
%{moodlewebdir}/install/lang/ms_utf8
%package nl
Summary: Moodle language pack for Dutch
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description nl
This package contains the files needed to display Moodle in Dutch.
%files nl
%defattr (-,root,root,-)
%{moodlewebdir}/lang/nl_utf8
%{moodlewebdir}/install/lang/nl_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-nl.inc.php
%{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 Nynorsk
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description nn
This package contains the files needed to display Moodle in Nynorsk.
%files nn
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description no
This package contains the files needed to display Moodle in Norwegian Bokmal.
%files no
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description pl
This package contains the files needed to display Moodle in Polish.
%files pl
%defattr (-,root,root,-)
%{moodlewebdir}/lang/pl_utf8
%{moodlewebdir}/install/lang/pl_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-pl.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description pt
This package contains the files needed to display Moodle in Portuguese.
%files pt
%defattr (-,root,root,-)
%{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/adodb/lang/adodb-pt-br.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ro
This package contains the files needed to display Moodle in Romanian.
%files ro
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ro_utf8
%{moodlewebdir}/install/lang/ro_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-ro.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ru
This package contains the files needed to display Moodle in Russian.
%files ru
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ru_utf8
%{moodlewebdir}/install/lang/ru_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-ru1251.inc.php
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description sk
This package contains the files needed to display Moodle in Slovak.
%files sk
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description sl
This package contains the files needed to display Moodle in Slovenian.
%files sl
%defattr (-,root,root,-)
%{moodlewebdir}/lang/sl_utf8
%{moodlewebdir}/install/lang/sl_utf8
%package sm
Summary: Moodle language pack for Samoan
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
Requires: dejavu-sans-fonts
%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}/lang/sm_utf8
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description sq
This package contains the files needed to display Moodle in Albanian.
%files sq
%defattr (-,root,root,-)
%{moodlewebdir}/lang/sq_utf8
%{moodlewebdir}/install/lang/sq_utf8
%package sr_cr
Summary: Moodle language pack for Serbian (Cyrillic)
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
Obsoletes: moodle-sr <= 1.6.3-3
%description sr_cr
This package contains the files needed to display Moodle in Serbian (Cyrillic).
%files sr_cr
%defattr (-,root,root,-)
%{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}
Obsoletes: moodle-sr <= 1.6.3-3
%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}
Obsoletes: moodle-sr <= 1.6.3-3
%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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description sv
This package contains the files needed to display Moodle in Swedish.
%files sv
%defattr (-,root,root,-)
%{moodlewebdir}/lang/sv_utf8
%{moodlewebdir}/install/lang/sv_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-sv.inc.php
%{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}/lang/ta_utf8
%{moodlewebdir}/install/lang/ta_utf8
%package ta_lk
Summary: Moodle language pack for Tamil (Sri Lanka)
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ta_lk
This package contains the files needed to display Moodle in Tamil (Sri Lanka).
Currently, only the installer is available in Tamil (Sri Lanka).
%files ta_lk
%defattr (-,root,root,-)
%{moodlewebdir}/lang/ta_lk_utf8
%{moodlewebdir}/install/lang/ta_lk_utf8
%package th
Summary: Moodle language pack for Thai
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description th
This package contains the files needed to display Moodle in Thai.
%files th
%defattr (-,root,root,-)
%{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
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description tl
This package contains the files needed to display Moodle in Tagalog.
%files tl
%defattr (-,root,root,-)
%{moodlewebdir}/lang/tl_utf8
%{moodlewebdir}/install/lang/tl_utf8
%package to
Summary: Moodle language pack for Tonga
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
Requires: dejavu-sans-fonts
%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}/lang/to_utf8
%{moodlewebdir}/install/lang/to_utf8
%package tr
Summary: Moodle language pack for Turkish
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description tr
This package contains the files needed to display Moodle in Turkish.
%files tr
%defattr (-,root,root,-)
%{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 uk
Summary: Moodle language pack for Ukrainian
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description uk
This package contains the files needed to display Moodle in Ukrainian.
%files uk
%defattr (-,root,root,-)
%{moodlewebdir}/lang/uk_utf8
%{moodlewebdir}/install/lang/uk_utf8
#%{moodlewebdir}/lib/adodb/lang/adodb-uk1251.inc.php
%package ur
Summary: Moodle language pack for Urdu
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description ur
This package contains the files needed to display Moodle in Urdu.
%files ur
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/ur_utf8
%package uz
Summary: Moodle language pack for Uzbek
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description uz
This package contains the files needed to display Moodle in Uzbek.
%files uz
%defattr (-,root,root,-)
%{moodlewebdir}/lang/uz_utf8
%{moodlewebdir}/install/lang/uz_utf8
%package vi
Summary: Moodle language pack for Vietnamese
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description vi
This package contains the files needed to display Moodle in Vietnamese.
%files vi
%defattr (-,root,root,-)
%{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}
Obsoletes: moodle-zh <= 1.6.3-3
%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/adodb/lang/adodb-cn.inc.php
%{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}
Obsoletes: moodle-zh <= 1.6.3-3
%description zh_tw
This package contains the files needed to display Moodle in Chinese
(Traditional/Big5).
%files zh_tw
%defattr (-,root,root,-)
%{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 zu
Summary: Moodle language pack for Zulu
Group: Applications/Publishing
Requires: moodle = %{version}-%{release}
%description zu
This package contains the files needed to display Moodle in Zulu
%files zu
%defattr (-,root,root,-)
%{moodlewebdir}/install/lang/zu_utf8
%prep
%setup -q -n %{name}
cp %{SOURCE6} README-rpm
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}
unzip -qq -o %{SOURCE72}
unzip -qq -o %{SOURCE73}
unzip -qq -o %{SOURCE74}
unzip -qq -o %{SOURCE75}
unzip -qq -o %{SOURCE76}
unzip -qq -o %{SOURCE77}
unzip -qq -o %{SOURCE78}
unzip -qq -o %{SOURCE79}
unzip -qq -o %{SOURCE80}
unzip -qq -o %{SOURCE81}
unzip -qq -o %{SOURCE82}
unzip -qq -o %{SOURCE83}
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
rm search/.cvsignore
sed -i 's/\r//' lib/adodb/license.txt
sed -i 's/\r//' lib/adodb/readme.txt
sed -i 's/\r//' lib/adodb/session/adodb-sess.txt
sed -i 's/\r//' lib/mp3player/readme.txt
sed -i 's/\r//' lib/pclzip/gnu-lgpl.txt
sed -i 's/\r//' lib/pclzip/readme.txt
sed -i 's/\r//' mod/wiki/ewiki/README
sed -i 's/\r//' mod/wiki/ewiki/README.de
%patch0 -p0
%patch1 -p0
#%patch2 -p0
#%patch3 -p0
%build
rm config-dist.php install.php tags filter/tex/mimetex.* filter/tex/README.mimetex
# Get rid of language files in subordinate packages for languages not supported
# by moodle itself.
rm lib/editor/tinymce/jscripts/tiny_mce/langs/cy.js
rm lib/editor/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cy.js
rm lib/editor/tinymce/jscripts/tiny_mce/plugins/fullscreen/langs/cy.js
rm lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/cy.js
rm lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/langs/tw.js
rm lib/phpmailer/language/phpmailer.lang-fo.php
#Drop spell-check-logic.cgi, CVE-2008-5153, per upstream.
rm lib/editor/htmlarea/plugins/SpellChecker/spell-check-logic.cgi
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{moodlewebdir}
mkdir -p $RPM_BUILD_ROOT%{moodledatadir}
cp -a * $RPM_BUILD_ROOT%{moodlewebdir}
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
find $RPM_BUILD_ROOT -name \*.mimetex-\* -exec rm {} \;
#use system smarty
rm -rf $RPM_BUILD_ROOT/var/www/moodle/web/lib/smarty
ln -s /usr/share/php/Smarty/ $RPM_BUILD_ROOT/var/www/moodle/web/lib/smarty
#use system adodb
rm -rf $RPM_BUILD_ROOT/var/www/moodle/web/lib/adodb
ln -s /usr/share/php/adodb/ $RPM_BUILD_ROOT/var/www/moodle/web/lib/adodb
#use system magpierss
#rm -rf $RPM_BUILD_ROOT/var/www/moodle/web/lib/magpie
#ln -s /usr/share/php/magpierss/ $RPM_BUILD_ROOT/var/www/moodle/web/lib/magpie
#symlinks for illegal fonts
#rm $RPM_BUILD_ROOT%{moodlewebdir}/lang/sm_utf8/fonts/default.ttf
#rm $RPM_BUILD_ROOT%{moodlewebdir}/lang/to_utf8/fonts/default.ttf
#ln -s /usr/share/fonts/dejavu/DejaVuSans.ttf $RPM_BUILD_ROOT%{moodlewebdir}/lang/sm_utf8/fonts/default.ttf
#ln -s /usr/share/fonts/dejavu/DejaVuSans.ttf $RPM_BUILD_ROOT%{moodlewebdir}/lang/to_utf8/fonts/default.ttf
#Symlink to FreeSans, to save space.
rm -f $RPM_BUILD_ROOT%{moodlewebdir}/lib/default.ttf
ln -s /usr/share/fonts/gnu-free/FreeSans.ttf $RPM_BUILD_ROOT%{moodlewebdir}/lib/default.ttf
#symlink to khmeros-base-fonts
rm -f $RPM_BUILD_ROOT%{moodlewebdir}/lang/km_utf8/fonts/default.ttf
ln -s /usr/share/fonts/khmeros/KhmerOS_sys.ttf $RPM_BUILD_ROOT%{moodlewebdir}/lang/km_utf8/fonts/default.ttf
#use system php-pear-CAS
rm -rf $RPM_BUILD_ROOT/var/www/moodle/web/auth/cas
ln -s /usr/share/pear/ $RPM_BUILD_ROOT/var/www/moodle/web/auth/cas
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add %{name}
if [ -d /var/www/moodle/web/lib/smarty -a ! -L /var/www/moodle/web/lib/smarty ]; then
mv /var/www/moodle/web/lib/smarty /var/www/moodle/web/lib/smarty.rpmbak && \
ln -s /usr/share/php/Smarty/ /var/www/moodle/web/lib/smarty
rm -rf /var/www/moodle/web/lib/smarty.rpmbak
fi
if [ ! -L /var/www/moodle/web/lib/smarty ]; then
ln -s /usr/share/php/Smarty/ /var/www/moodle/web/lib/smarty
fi
if [ -d /var/www/moodle/web/lib/adodb -a ! -L /var/www/moodle/web/lib/adodb ]; then
mv /var/www/moodle/web/lib/adodb /var/www/moodle/web/lib/adodb.rpmbak && \
ln -s /usr/share/php/adodb/ /var/www/moodle/web/lib/adodb
rm -rf /var/www/moodle/web/lib/adodb.rpmbak
fi
if [ ! -L /var/www/moodle/web/lib/adodb ]; then
ln -s /usr/share/php/adodb/ /var/www/moodle/web/lib/adodb
fi
if [ -d /var/www/moodle/web/auth/cas -a ! -L /var/www/moodle/web/auth/cas ]; then
mv /var/www/moodle/web/auth/cas /var/www/moodle/web/auth/cas.rpmbak && \
ln -s /usr/share/pear/ /var/www/moodle/web/auth/cas
rm -rf /var/www/moodle/web/auth/cas.rpmbak
fi
if [ ! -L /var/www/moodle/web/auth/cas ]; then
ln -s /usr/share/pear/ /var/www/moodle/web/auth/cas
fi
%preun
if [ $1 = 0 ]; then
/sbin/service %{name} stop >/dev/null 2>&1
/sbin/chkconfig --del %{name}
fi
%pre
if [ -h /var/www/moodle/web/lib/magpie ]; then
rm -f /var/www/moodle/web/lib/magpie
fi
%files
%defattr(-,root,root,-)
%doc README* COPYING.txt
%dir %{_var}/www/moodle
%dir %{moodlewebdir}
%config(noreplace) %{moodlewebdir}/config.php
%config(noreplace) %{moodlewebdir}/course/format/lams/config.php
%config(noreplace) %{moodlewebdir}/course/format/scorm/config.php
%config(noreplace) %{moodlewebdir}/course/format/social/config.php
%config(noreplace) %{moodlewebdir}/course/format/topics/config.php
%config(noreplace) %{moodlewebdir}/course/format/weeks/config.php
%config(noreplace) %{moodlewebdir}/course/format/weekscss/config.php
%config(noreplace) %{moodlewebdir}/theme/chameleon/config.php
%config(noreplace) %{moodlewebdir}/theme/cornflower/config.php
%config(noreplace) %{moodlewebdir}/theme/formal_white/config.php
%config(noreplace) %{moodlewebdir}/theme/metal/config.php
%config(noreplace) %{moodlewebdir}/theme/oceanblue/config.php
%config(noreplace) %{moodlewebdir}/theme/orangewhite/config.php
%config(noreplace) %{moodlewebdir}/theme/orangewhitepda/config.php
%config(noreplace) %{moodlewebdir}/theme/standard/config.php
%config(noreplace) %{moodlewebdir}/theme/standardblue/config.php
%config(noreplace) %{moodlewebdir}/theme/standardgreen/config.php
%config(noreplace) %{moodlewebdir}/theme/standardlogo/config.php
%config(noreplace) %{moodlewebdir}/theme/standardred/config.php
%config(noreplace) %{moodlewebdir}/theme/standardwhite/config.php
%config(noreplace) %{moodlewebdir}/theme/wood/config.php
%{moodlewebdir}/[a-hj-km-z]*
%{moodlewebdir}/index.php
%dir %{moodlewebdir}/install
%dir %{moodlewebdir}/install/lang
%{moodlewebdir}/install/lang/en*
%{moodlewebdir}/install/lang/hy_utf8
%{moodlewebdir}/install/welcome.html
%{moodlewebdir}/install/README.txt
%{moodlewebdir}/install/lang/la_utf8
%{moodlewebdir}/install/stringnames.txt
%{moodlewebdir}/iplookup
%dir %{moodlewebdir}/lang
%{moodlewebdir}/lang/en*
%{moodlewebdir}/lang/README.txt
%{moodlewebdir}/lib
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-a*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-b*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-c*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-d*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-es.inc.php
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-f*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-h*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-i*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-n*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-p*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-r*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-s*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-u*
#%exclude %{moodlewebdir}/lib/adodb/lang/adodb-u*
%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
%attr(-,apache,apache) %{moodledatadir}
%config(noreplace) %{_sysconfdir}/cron.d/%{name}
%config(noreplace) %{_sysconfdir}/httpd/conf.d/moodle.conf
%{_initrddir}/%{name}
%{_sbindir}/%{name}-cron
%ghost /var/www/moodle/web/lib/smarty
%ghost /var/www/moodle/web/lib/adodb
%exclude %{moodlewebdir}/COPYING.txt
%changelog
* Wed May 23 2012 Jon Ciesla <limburgher@gmail.com> - 1.9.18-1
- New upstream, security fixes, 824481.
* Mon Apr 02 2012 Jon Ciesla <limburgher@gmail.com> - 1.9.17-1
- New upstream, security fixes, 809226.
* Tue Jan 24 2012 Jon Ciesla <limburgher@gmail.com> - 1.9.16-1
- New upstream, security fixes, 783534.
* Fri Dec 09 2011 Jon Ciesla <limburgher@gmail.com> - 1.9.15-1
- New upstream, security fixes, 761249.
* Fri Oct 21 2011 Jon Ciesla <limb@jcomserv.net> - 1.9.14-1
- New upstream, security fixes, 747445.
* Tue Feb 22 2011 Jon Ciesla <limb@jcomserv.net> - 1.9.11-1
- New upstream, security fixes.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Oct 26 2010 Jon Ciesla <limb@jcomserv.net> - 1.9.10-1
- New upstream, MSA-10-0017.
- htmlpurifier patch upstreamed.
* Mon Oct 04 2010 Jon Ciesla <limb@jcomserv.net> - 1.9.9-3
- Correction of CAS symlink typo.
* Thu Aug 19 2010 Jon Ciesla <limb@jcomserv.net> - 1.9.9-2
- Switch to system php-pear-CAS, BZ 577467, 620772.
- Patching htmlpurifier, BZ 624754.
* Tue Jun 22 2010 Jon Ciesla <limb@jcomserv.net> - 1.9.9-1
- Update to 1.9.9, BZ 605810.
* Thu Mar 25 2010 Jon Ciesla <limb@jcomserv.net> - 1.9.8-1
- Update to 1.9.8, BZ 575905.
* Tue Dec 08 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.7-1
- Update to 1.9.7, BZ 544766.
* Thu Nov 05 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.6-2
- Reverted erroneous cron fix.
* Thu Nov 05 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.6-1
- Update to 1.9.6.
- Make moodle-cron honor lock, BZ 533171.
* Wed Sep 23 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.5-3
- Using weekly snapshot downloaded 09/23/2009 for new PHP, BZ 525120
- Added Urdu installer.
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu May 14 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.5-1
- Move symlink scripts from pretrans to post, pre.
- 1.9.5.
* Fri Apr 03 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.4-7
- Move symlink scripts from pre to pretrans.
- Corrented moodle-cron BZ 494090.
* Wed Apr 01 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.4-6
- Patch for CVE-2009-1171, BZ 493109.
* Tue Mar 24 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.4-5
- Update for freefont->gnu-free-fonts change.
* Thu Feb 26 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.4-4
- Fix for symlink dir replacement.
* Mon Feb 23 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.4-2
- Putting back bundled MagpieRSS due to incompatibility, BZ 486777.
- Corrected moodle-cron.
* Tue Feb 10 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.4-1
- Update to 1.9.4 to fix CVE-2009-0499,0500,0501,0502.
* Tue Jan 27 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.3-6
- Dropped and symlinked to khmeros-base-fonts.
* Thu Jan 20 2009 Jon Ciesla <limb@jcomserv.net> - 1.9.3-5
- Dropped and symlinked illegal sm and to fonts.
- Symlinking to FreeSans.
- Drop spell-check-logic.cgi, CVE-2008-5153, per upstream, BZ 472117, 472119, 472120.
* Wed Dec 17 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.3-4
- Texed fix, BZ 476709.
* Fri Nov 07 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.3-3
- Moved to weekly downloaded 11/7/08 to fix Snoopy CVE-2008-4796.
* Fri Oct 31 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.3-2
- Fix for BZ 468929, overactive cron job.
* Wed Oct 22 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.3-1
- Updated to 1.9.3.
- Updated language packs to 22 Oct 2008 versions.
* Wed Aug 06 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.2-2
- Remove bundled adodb, use system php-adodb. BZ 457886.
- Remove bundled magpie, use system php-magpierss. BZ 457886.
* Wed Aug 06 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.2-1
- Updated to 1.9.2.
- Remove bundled Smarty, use system php-Smarty. BZ 457886.
- Updated language packs to 06 Aug 2008 versions.
* Mon Jun 23 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.1-2
- Add php Requires, BZ 452341.
* Thu May 22 2008 Jon Ciesla <limb@jcomserv.net> - 1.9.1-1
- Update to 1.9.1.
- Updated language packs to 22 May 2008 versions.
- Added Welsh, Uzbek support.
- Added php-xmlrpc Requires.
* Sat Mar 29 2008 Jon Ciesla <limb@jcomserv.net> - 1.9-1
- Update to 1.9.
- Updated language packs to 01 April 2008 versions.
* Sat Jan 12 2008 Jon Ciesla <limb@jcomserv.net> - 1.8.4-1
- Upgrade to 1.8.4, fix CVE-2008-0123.
- Added Tamil (Sri Lanka) support.
* Mon Nov 12 2007 Jon Ciesla <limb@jcomserv.net> - 1.8.3-2
- Corrected init script to prevent starting by default.
* Thu Oct 25 2007 Jon Ciesla <limb@jcomserv.net> - 1.8.3-1
- Update to 1.8.3.
- Fix init script for LSB BZ 246986.
- Updated language packs to 25 October 2007 versions.
- Added Armenian, Macedonian.
* Thu Aug 16 2007 Jon Ciesla <limb@jcomserv.net> - 1.8.2-2
- License tag correction.
* Wed Jul 25 2007 Jon Ciesla <limb@jcomserv.net> - 1.8.2-1
- Update to 1.8.2.
- Updated language packs to the 25 July 2007 versions.
- Added Mongolian, Gujerati, Lao, Tongan, Maori (Waikato Uni), Samoan, Tamil.
* Tue May 15 2007 Jerry James <Jerry.James@usu.edu> - 1.8-5
- Fix language packs to not obsolete themselves.
- Update language packs to the 15 May 2007 versions.
* Mon May 7 2007 Jerry James <Jerry.James@usu.edu> - 1.8-4
- Mark a bunch of config.php files as configuration files.
- Update language packs to the 07 May 2007 versions.
* Fri Apr 20 2007 Jerry James <Jerry.James@usu.edu> - 1.8-3
- perl-Text-Aspell is now available, so use it. Don't make the spellchecker
a separate package, however, since it is an htmlarea plugin, not a moodle
plugin. Somebody we will provide htmlarea as a separate package.
- Fix version numbers on obsoletes.
- Update language packs to the 20 Apr 2007 versions.
* Tue Apr 17 2007 Jerry James <Jerry.James@usu.edu> - 1.8-2
- Fix a CVS gaffe.
- Obsolete language packs with old names.
- Update language packs to the 17 Apr 2007 versions.
* Fri Apr 13 2007 Jerry James <Jerry.James@usu.edu> - 1.8-1
- Update to 1.8 (fixes BZ 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 Jan 07 2007 Mike McGrath <imlinux@gmail.com> - 1.7-1
- Security fix for BZ# 220041
* Sat Oct 28 2006 Mike McGrath <imlinux@gmail.com> - 1.6.3-3
- Release bump
* Sun Oct 22 2006 Mike McGrath <imlinux@gmail.com> - 1.6.3-2
- Added requires php-mysql
* Fri Oct 13 2006 Mike McGrath <imlinux@gmail.com> - 1.6.3-1
- Major changes, update to 1.6.3
- SpellChecker moved
- Language install method has been changed (added a cp)
* Thu Sep 07 2006 Mike McGrath <imlinux@gmail.com> - 1.5.4-2
- Release bump
* Thu Aug 24 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.5.4-1
- Update to 1.5.4.
- Remove SA18267.patch; not needed in 1.5.4.
- Add -nn subpackage for new Norwegian Nynorsk language.
- Change description for -no subpackage to indicate Bokmal explicitly.
Note that I have purposefully misspelled "Bokmal" in order to avoid
introducing a non-ASCII character.
* Mon Jan 9 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.5.3-2
- Add security patch for adodb (SA18267)
* Sat Dec 10 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.5.3-1
- Update to 1.5.3
- Split off spell check package due to lack of Text::Aspell
* Mon Oct 12 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.5.2-1
- Initial RPM release