/[smecontribs]/rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud.spec
ViewVC logotype

Contents of /rpms/smeserver-nextcloud/contribs9/smeserver-nextcloud.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.21 - (show annotations) (download)
Sun Nov 8 16:50:12 2020 UTC (3 years, 6 months ago) by jpp
Branch: MAIN
Changes since 1.20: +3 -0 lines
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-17.sme
- use php73-fpm [SME: 11003]
- Require php-gmp for Nextcloud 19 and newer [SME: 11004]
- add phpbasedir support so you can add individual access to dir or files [SME: 11083]
  simply use nextcloud PHPBaseDir property
- increase FastCgiExternalServer php pool timeout to 300 [SME: 11084]

1 %define release 17
2 %define version 1.1.0
3
4 Summary: Koozali SME Server Nextcloud configuration
5 Name: smeserver-nextcloud
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Source: %{name}-%{version}.tar.gz
10 Patch0: smeserver-nextcloud-1.1.0.patch0.patch
11 Patch1: smeserver-nextcloud-1.1.0.bz10556.patch
12 Patch2: smeserver-nextcloud-1.1.0-bz10560-logrotate.patch
13 Patch3: smeserver-nextcloud-1.1.0-bz10558-logincredentials.patch
14 Patch4: smeserver-nextcloud-1.1.0-bz10559-shares.patch
15 Patch5: smeserver-nextcloud-1.1.0-bz10557-ibays_folder.patch
16 Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch
17 Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch
18 Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch
19 Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch
20 Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch
21 Patch11: smeserver-nextcloud-1.1.0-bz10695-memory-limit.patch
22 Patch12: smeserver-nextcloud-1.1.0-bz10709-well-known.patch
23 Patch13: smeserver-nextcloud-1.1.0-bz10711-occ-command.patch
24 Patch14: smeserver-nextcloud-1.1.0-bz10710-dbcolumnupdate.patch
25 Patch15: smeserver-nextcloud-1.1.0-bz10728-OCC512.patch
26 Patch16: smeserver-nextcloud-1.1.0.bz10852.php72.patch
27 Patch17: smeserver-nextcloud-1.1.0.bz11003-php73.patch
28 Patch18: smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch
29 Patch19: smeserver-nextcloud-1.1.0.bz11084-idletimeout.patch
30
31 BuildArch: noarch
32 URL: https://www.nextcloud.com
33
34 BuildRequires: e-smith-devtools
35
36 Requires: nextcloud >= 13.0.1
37 Requires: e-smith-apache
38 Requires: e-smith-mysql
39 Requires: smeserver-webapps-common
40 Requires: smeserver-php-fpm >= 0.1.1-3
41 Requires: samba-client
42 Requires: perl-JSON
43 Requires: php73-php-smbclient
44 Requires: php73-php-opcache
45 Requires: php73-php-pecl-apcu
46 Requires: php73-php-pecl-inotify
47 Requires: php73-php-pecl-zip
48 Requires: php73-php-pecl-imagick
49 Requires: php73-php-gmp
50
51
52 %description
53 Koozali SME Server Nextcloud files and configuration.
54
55
56 %prep
57 %setup
58 %patch0 -p1
59 %patch1 -p1
60 %patch2 -p1
61 %patch3 -p1
62 %patch4 -p1
63 %patch5 -p1
64 %patch6 -p1
65 %patch7 -p1
66 %patch8 -p1
67 %patch9 -p1
68 %patch10 -p1
69 %patch11 -p1
70 %patch12 -p1
71 %patch13 -p1
72 %patch14 -p1
73 %patch15 -p1
74 %patch16 -p1
75 touch root/etc/e-smith/templates/etc/opt/remi/php72/php.d/20-opcache.ini/template-begin
76 %patch17 -p1
77 %patch18 -p1
78 %patch19 -p1
79
80 %build
81 perl createlinks
82
83 %install
84 rm -rf %{buildroot}
85 mkdir -p root/var/log/php/nextcloud
86 (cd root; find . -depth -print | cpio -dump %{buildroot})
87 /sbin/e-smith/genfilelist %{buildroot} \
88 --dir /var/log/php/nextcloud 'attr(0755,www,www)' \
89 --dir /var/lib/php/nextcloud 'attr(0755,www,www)' \
90 --dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \
91 --dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \
92 --dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \
93 --dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \
94 --dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \
95 --file /usr/bin/OCC 'attr(0755,root,root)'\
96 > %{name}-%{version}-filelist
97
98 cat %{name}-%{version}-filelist
99 %files -f %{name}-%{version}-filelist
100 %defattr(-,root,root)
101 %doc COPYING
102
103
104 %changelog
105 * Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-17.sme
106 - use php73-fpm [SME: 11003]
107 - Require php-gmp for Nextcloud 19 and newer [SME: 11004]
108 - add phpbasedir support so you can add individual access to dir or files [SME: 11083]
109 simply use nextcloud PHPBaseDir property
110 - increase FastCgiExternalServer php pool timeout to 300 [SME: 11084]
111
112 * Mon Jan 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-16.sme
113 - fix missing Requirement and template-begins [SME: 10852]
114
115 * Mon Dec 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-15.sme
116 - use php72-fpm instead of php71-fpm [SME: 10852]
117
118 * Sun Feb 17 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-14.sme
119 - fix 512MB error on events [SME: 10728]
120 - add requirement for inotify support [SME: 10733]
121
122 * Wed Jan 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-13.sme
123 - fix /.well-known check [SME: 10709]
124 - created a OCC command you can call as root as if you were the right user. [SME: 10711]
125 - night cron to fix db [SME: 10710 ]
126
127 * Mon Jan 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme
128 - increase memory limit to new default from 128M to 512M [SME: 10695]
129 add property to nextcloud db key MemoryLimit to set to local value if needed.
130
131 * Thu Dec 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-10.sme
132 - fix /var/log/php/nextcloud/ is missing [SME: 10601]
133
134 * Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme
135 - fix timeout on update [SME: 10596]
136
137 * Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme
138 - fix wrong filter name for fail2ban jail.conf [SME: 10608]
139
140 * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme
141 - fix long update [SME: 10564]
142 - fix IncludeIbay not working.
143
144 * Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
145 - fix shares not correctly handled [SME: 10564]
146 - improve shares support
147 - reload file cache after creation of ibays folder, so it displays to users.
148 - improve output to message log
149
150 * Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme
151 - fix signal-event nextcloud-update hang [SME: 10560]
152
153 * Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme
154 - fix wrong logrotate option [SME: 10560]
155 - change password storage mode for smb share to allow access from portable devices [SME: 10558]
156 - create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557]
157 - add Shared folders in nextcloud under the ibays folder [SME: 10559]
158
159 * Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme
160 - tidying templates, set cron update
161 - fix bad folder name for ibays [SME: 10556]
162
163 * Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme
164 - initial release
165

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed