1 |
jpp |
1.10 |
%define release 9 |
2 |
jpp |
1.1 |
%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 |
jpp |
1.3 |
Patch0: smeserver-nextcloud-1.1.0.patch0.patch |
11 |
|
|
Patch1: smeserver-nextcloud-1.1.0.bz10556.patch |
12 |
jpp |
1.4 |
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 |
jpp |
1.5 |
Patch6: smeserver-nextcloud-1.1.0-bz10560-signal-event-hang.patch |
17 |
jpp |
1.8 |
Patch7: smeserver-nextcloud-1.1.0-bz10564-improve-shares.patch |
18 |
jpp |
1.7 |
Patch8: smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch |
19 |
jpp |
1.9 |
Patch9: smeserver-nextcloud-1.1.0-bz10608-fail2ban.patch |
20 |
jpp |
1.10 |
Patch10: smeserver-nextcloud-1.1.0-bz10596-fix-update.patch |
21 |
jpp |
1.1 |
BuildArch: noarch |
22 |
jpp |
1.4 |
URL: https://www.nextcloud.com |
23 |
jpp |
1.1 |
|
24 |
|
|
BuildRequires: e-smith-devtools |
25 |
|
|
|
26 |
|
|
Requires: nextcloud >= 13.0.1 |
27 |
|
|
Requires: e-smith-apache |
28 |
|
|
Requires: e-smith-mysql |
29 |
|
|
Requires: smeserver-webapps-common |
30 |
|
|
Requires: smeserver-php-fpm |
31 |
|
|
Requires: samba-client |
32 |
|
|
Requires: php71-php-smbclient |
33 |
|
|
Requires: php71-php-opcache |
34 |
|
|
Requires: php71-php-pecl-apcu |
35 |
|
|
Requires: perl-JSON |
36 |
|
|
|
37 |
|
|
%description |
38 |
|
|
Koozali SME Server Nextcloud files and configuration. |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
%setup |
43 |
jpp |
1.3 |
%patch0 -p1 |
44 |
|
|
%patch1 -p1 |
45 |
jpp |
1.4 |
%patch2 -p1 |
46 |
|
|
%patch3 -p1 |
47 |
|
|
%patch4 -p1 |
48 |
|
|
%patch5 -p1 |
49 |
jpp |
1.5 |
%patch6 -p1 |
50 |
jpp |
1.6 |
%patch7 -p1 |
51 |
jpp |
1.7 |
%patch8 -p1 |
52 |
jpp |
1.9 |
%patch9 -p1 |
53 |
jpp |
1.10 |
%patch10 -p1 |
54 |
jpp |
1.1 |
|
55 |
|
|
%build |
56 |
|
|
perl createlinks |
57 |
|
|
|
58 |
|
|
%install |
59 |
|
|
rm -rf %{buildroot} |
60 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
61 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
62 |
|
|
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
63 |
|
|
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
64 |
|
|
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
65 |
|
|
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
66 |
|
|
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
67 |
|
|
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
68 |
|
|
> %{name}-%{version}-filelist |
69 |
|
|
|
70 |
|
|
cat %{name}-%{version}-filelist |
71 |
|
|
%files -f %{name}-%{version}-filelist |
72 |
|
|
%defattr(-,root,root) |
73 |
|
|
%doc COPYING |
74 |
|
|
|
75 |
|
|
|
76 |
|
|
%changelog |
77 |
jpp |
1.10 |
* Wed Dec 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
78 |
|
|
- fix timeout on update [SME: 10596] |
79 |
|
|
|
80 |
jpp |
1.9 |
* Wed Jul 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
81 |
|
|
- fix wrong filter name for fail2ban jail.conf [SME: 10608] |
82 |
|
|
|
83 |
jpp |
1.7 |
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
84 |
|
|
- fix long update [SME: 10564] |
85 |
|
|
- fix IncludeIbay not working. |
86 |
|
|
|
87 |
jpp |
1.6 |
* Wed Apr 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
88 |
|
|
- fix shares not correctly handled [SME: 10564] |
89 |
|
|
- improve shares support |
90 |
|
|
- reload file cache after creation of ibays folder, so it displays to users. |
91 |
|
|
- improve output to message log |
92 |
|
|
|
93 |
jpp |
1.5 |
* Mon Apr 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
94 |
|
|
- fix signal-event nextcloud-update hang [SME: 10560] |
95 |
|
|
|
96 |
jpp |
1.4 |
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
97 |
|
|
- fix wrong logrotate option [SME: 10560] |
98 |
|
|
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |
99 |
|
|
- create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557] |
100 |
|
|
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
101 |
|
|
|
102 |
jpp |
1.3 |
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
103 |
jpp |
1.2 |
- tidying templates, set cron update |
104 |
jpp |
1.3 |
- fix bad folder name for ibays [SME: 10556] |
105 |
jpp |
1.2 |
|
106 |
jpp |
1.1 |
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
107 |
|
|
- initial release |
108 |
|
|
|