-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnethserver-moodle.spec
78 lines (59 loc) · 2.51 KB
/
nethserver-moodle.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Name: nethserver-moodle
Summary: Moodle integration in NethServer
Version: 0.0.9
Release: 1%{?dist}
License: GPL
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
URL: %{url_prefix}/%{name}
BuildRequires: nethserver-devtools
Requires: moodle >= 3.1.2
# Moodle dependencies (not included in moodle spec).
Requires: php-soap, php-pecl-zendopcache, php-ldap
# NethServer dependencies.
Requires: nethserver-httpd, nethserver-mysql
%description
This package provides NethServer templates and actions needed to
integrate Moodle learning platform in NethServer.
%prep
%setup
%build
perl createlinks
%install
rm -rf %{buildroot}
(cd root/etc/e-smith/templates/var/www/moodle/web/config.php/; ln -s /etc/e-smith/templates-default/template-begin-php template-begin)
(cd root; find . -depth -print | cpio -dump %{buildroot})
%{genfilelist} %{buildroot} > %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%doc COPYING README.rst
%dir %{_nseventsdir}/%{name}-update
%changelog
* Wed Dec 7 2016 Alain Reguera Delgado <[email protected]> - 0.0.9-1
- Add support to both alias and virtualhost configuration
- Update README.srt file to describe recent changes
* Tue Nov 29 2016 Alain Reguera Delgado <[email protected]> - 0.0.7-1
- Update actions to expand moodle configuration files
- Remove empty line from final config.php file
* Mon Nov 28 2016 Alain Reguera Delgado <[email protected]> - 0.0.6-1
- Add a property to restrict to the LAN if wanted
- Add moodle dependencies not included in moodle spec itself
* Sun Nov 27 2016 Alain Reguera Delgado <[email protected]> - 0.0.5-1
- Remove /var/lib/nethserver/moodle directory
- Remove sudoers.d reference from package spec
- Remove 90_nethserver_moodle from sudoers.d
- Remove config.php from backup-data.d/moodle.include
- Automate password setting in config.php template
* Sun Nov 27 2016 Alain Reguera Delgado <[email protected]> - 0.0.4-1
- Update README.rst
- Consider README.rst a documentation file
* Sat Nov 26 2016 Alain Reguera Delgado <[email protected]> - 0.0.3-1
- Fix template header in config.php
- Remove duplicated php opening tag from final config.php file
- Remove ^M characters from config.php file
- Update config.php to use https instead of http as value to wwwroot
* Sat Nov 26 2016 Alain Reguera Delgado <[email protected]> - 0.0.2-1
- Fix access control in moodle.conf
- Fix moodle's module class name definition
* Fri Nov 25 2016 Alain Reguera Delgado <[email protected]> - 0.0.1-1
- Initial build.