1 |
%define version 13.0.1 |
%define version 15.0.0 |
2 |
%define release 2 |
%define release 2 |
3 |
|
|
4 |
%define apache_serverroot /usr/share |
%define apache_serverroot /usr/share |
7 |
%define nc_config_dir %{nc_dir}/config |
%define nc_config_dir %{nc_dir}/config |
8 |
%define nc_data_dir %{nc_dir}/data |
%define nc_data_dir %{nc_dir}/data |
9 |
|
|
10 |
%define nc_user apache |
%define nc_user www |
11 |
%define nc_group apache |
%define nc_group www |
12 |
|
|
13 |
# Turn off the brp-python-bytecompile script |
# Turn off the brp-python-bytecompile script |
14 |
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') |
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') |
33 |
Requires: php71-php-gd |
Requires: php71-php-gd |
34 |
Requires: php71-php-pdo |
Requires: php71-php-pdo |
35 |
Requires: php71-php-mbstring |
Requires: php71-php-mbstring |
36 |
|
Requires: php71-php-pecl-zip |
37 |
|
Requires: php71-php-imagick |
38 |
|
|
39 |
# Recommended php packages |
# Recommended php packages |
40 |
Requires: php71-php-intl |
Requires: php71-php-intl |
67 |
mkdir -p %{buildroot}/%{nc_dir}/etc |
mkdir -p %{buildroot}/%{nc_dir}/etc |
68 |
mkdir -p %{buildroot}/%{nc_data_dir} |
mkdir -p %{buildroot}/%{nc_data_dir} |
69 |
mkdir -p %{buildroot}/%{nc_config_dir} |
mkdir -p %{buildroot}/%{nc_config_dir} |
70 |
mkdir -p %{buildroot}/%{nc_dir}/assets |
# mkdir -p %{buildroot}/%{nc_dir}/assets |
71 |
mkdir -p %{buildroot}/%{nc_dir}/updater |
mkdir -p %{buildroot}/%{nc_dir}/updater |
72 |
|
|
73 |
mkdir -p %{buildroot}/etc/httpd/conf.d |
mkdir -p %{buildroot}/etc/httpd/conf.d |
76 |
|
|
77 |
%files |
%files |
78 |
%defattr(0640,root,%{nc_group},0750) |
%defattr(0640,root,%{nc_group},0750) |
79 |
%dir %attr(0755,root,%{nc_group}) %{nc_dir} |
%dir %attr(0775,root,%{nc_group}) %{nc_dir} |
80 |
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/occ |
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/occ |
81 |
%attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/apps |
%attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/apps |
82 |
%attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/assets |
# %attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/assets |
83 |
%attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/updater |
%attr(0750,%{nc_user},%{nc_group}) %{nc_dir}/updater |
84 |
%attr(0775,%{nc_user},%{nc_group}) %{nc_data_dir} |
%attr(0775,%{nc_user},%{nc_group}) %{nc_data_dir} |
85 |
%attr(0775,%{nc_user},%{nc_group}) %{nc_config_dir} |
%attr(0775,%{nc_user},%{nc_group}) %{nc_config_dir} |
103 |
|
|
104 |
|
|
105 |
%changelog |
%changelog |
106 |
* Wed Mar 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-2.sme |
* Fri Dec 21 2018 Jean-Philipe Pialasse <tests@pialasse.com> 15.0.0-2.sme |
107 |
|
- Update to release 15.0.0 [SME: 10669] |
108 |
|
|
109 |
|
* Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-5.sme |
110 |
|
- fix failure to update [SME: 10596] |
111 |
|
remove assets folder before 13.0.4 update |
112 |
|
|
113 |
|
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-4.sme |
114 |
|
- missing dependency for php71-php-pecl-zip [SME: 10554] |
115 |
|
|
116 |
|
* Wed Mar 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13.0.1-3.sme |
117 |
- import for SME9 using remi scl |
- import for SME9 using remi scl |
118 |
|
|
119 |
* Mon Mar 19 2018 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 13.0.1-1 |
* Mon Mar 19 2018 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 13.0.1-1 |