1 |
%define release 1 |
%define release 12 |
2 |
%define version 1.2.0 |
%define version 1.2.0 |
3 |
|
|
4 |
Summary: Koozali SME Server Nextcloud configuration |
Summary: Koozali SME Server Nextcloud configuration |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
10 |
|
Patch0: smeserver-nextcloud-1.2.0-bz10876-username-for-ldap.patch |
11 |
|
Patch1: smeserver-nextcloud-1.2.0.bz11086-db-phpver-typo.patch |
12 |
|
Patch2: smeserver-nextcloud-1.2.0.bz11086-add-missing-conf-details.patch |
13 |
|
Patch3: smeserver-nextcloud-1.2.0.bz11171-template-min-max-start-servers.patch |
14 |
|
Patch4: smeserver-nextcloud-1.2.0.bz11171-check-min-max-start-servers.patch |
15 |
|
Patch5: smeserver-nextcloud-1.2.0.bz11268-fix-typo-php-pool-template.patch |
16 |
|
Patch6: smeserver-nextcloud-1.2.0-bz11086.patch |
17 |
|
Patch7: smeserver-nextcloud-1.2.0-bz11086-dav-externalfs.patch |
18 |
|
Patch8: smeserver-nextcloud-1.2.0-bz11172-logrotate.patch |
19 |
|
Patch9: smeserver-nextcloud-1.2.0-bz11920-bz11854-bz11973.patch |
20 |
|
|
21 |
BuildArch: noarch |
BuildArch: noarch |
22 |
URL: https://www.nextcloud.com |
URL: https://www.nextcloud.com |
23 |
|
|
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
|
|
26 |
Requires: nextcloud >= 13.0.1 |
Requires: nextcloud >= 20.0.1 |
27 |
Requires: e-smith-apache |
Requires: e-smith-apache |
28 |
Requires: e-smith-mysql |
Requires: e-smith-mysql |
29 |
Requires: smeserver-webapps-common |
Requires: smeserver-webapps-common |
30 |
Requires: smeserver-php-fpm >= 0.1.1-3 |
Requires: smeserver-php >= 3.0.0-15 |
31 |
Requires: samba-client |
Requires: samba-client |
32 |
Requires: perl-JSON |
Requires: perl-JSON |
33 |
|
Requires: perl-Exporter-Tiny |
34 |
|
Requires: perl-Sub-Quote |
35 |
Requires: php74-php-smbclient |
Requires: php74-php-smbclient |
36 |
Requires: php74-php-opcache |
Requires: php74-php-opcache |
37 |
Requires: php74-php-pecl-apcu |
Requires: php74-php-pecl-apcu |
47 |
|
|
48 |
%prep |
%prep |
49 |
%setup |
%setup |
50 |
|
%patch0 -p1 |
51 |
|
%patch1 -p1 |
52 |
|
%patch2 -p1 |
53 |
|
%patch3 -p1 |
54 |
|
%patch4 -p1 |
55 |
|
%patch5 -p1 |
56 |
|
%patch6 -p1 |
57 |
|
%patch7 -p1 |
58 |
|
%patch8 -p1 |
59 |
|
%patch9 -p1 |
60 |
|
|
61 |
%build |
%build |
62 |
perl createlinks |
perl createlinks |
73 |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
74 |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
75 |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
76 |
|
--ignoredir "/etc/sudoers.d" \ |
77 |
|
--file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \ |
78 |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
--file /usr/bin/OCC 'attr(0755,root,root)'\ |
79 |
|
--file /usr/bin/occ 'attr(0755,root,root)'\ |
80 |
|
--file /usr/bin/nc_dbupdate 'attr(0755,root,root)'\ |
81 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
82 |
|
|
83 |
cat %{name}-%{version}-filelist |
cat %{name}-%{version}-filelist |
87 |
|
|
88 |
|
|
89 |
%changelog |
%changelog |
90 |
|
* Wed May 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-12.sme |
91 |
|
- use php_pecl-apcu for cli [SME: 11920] |
92 |
|
- db update of keys and indexes [SME: 11854] |
93 |
|
- few nextcloud-occ-conf fixes [SME: 11973] |
94 |
|
make occ used in scripts rather than OCC |
95 |
|
|
96 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme |
97 |
|
- fix logrotate error [SME: 11172] |
98 |
|
- fix noise in error log |
99 |
|
|
100 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
101 |
|
- fix dav redirections for domain use and subdir [SME: 11086] |
102 |
|
- refresh externalfs on loading, best for ibays |
103 |
|
- tidying |
104 |
|
|
105 |
|
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
106 |
|
- add update event [SME: 11086] |
107 |
|
- add occ as hard link of OCC |
108 |
|
|
109 |
|
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-7.sme |
110 |
|
- Fix typo in php pool template [SME: 11268] |
111 |
|
|
112 |
|
* Tue Dec 01 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-6.sme |
113 |
|
- Add a check for the Min/Max/Start servers [SME: 11171] |
114 |
|
- https://bugs.contribs.org/show_bug.cgi?id=11171#c4 |
115 |
|
|
116 |
|
* Mon Nov 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-5.sme |
117 |
|
- Template missing Min/Start/Max Servers and Children [SME: 11171] |
118 |
|
|
119 |
|
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-4.sme |
120 |
|
- Add missing SMB configuration details including domain/workgroup |
121 |
|
|
122 |
|
* Mon Nov 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-3.sme |
123 |
|
- Fix sudoer file permissions in file list |
124 |
|
- Fix some install bugs |
125 |
|
- typo in httpd.conf |
126 |
|
- switch db from mysql to maria db |
127 |
|
- update php version |
128 |
|
- add Requires |
129 |
|
|
130 |
|
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
131 |
|
- use username as id in place of ldap uuid [SME: 10876] |
132 |
|
|
133 |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme |
134 |
- initial SME10 import [SME: 11086] |
- initial SME10 import [SME: 11086] |
135 |
|
|