1 |
jpp |
1.4 |
%define release 4 |
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.1 |
BuildArch: noarch |
17 |
jpp |
1.4 |
URL: https://www.nextcloud.com |
18 |
jpp |
1.1 |
|
19 |
|
|
BuildRequires: e-smith-devtools |
20 |
|
|
|
21 |
|
|
Requires: nextcloud >= 13.0.1 |
22 |
|
|
Requires: e-smith-apache |
23 |
|
|
Requires: e-smith-mysql |
24 |
|
|
Requires: smeserver-webapps-common |
25 |
|
|
Requires: smeserver-php-fpm |
26 |
|
|
Requires: samba-client |
27 |
|
|
Requires: php71-php-smbclient |
28 |
|
|
Requires: php71-php-opcache |
29 |
|
|
Requires: php71-php-pecl-apcu |
30 |
|
|
Requires: perl-JSON |
31 |
|
|
|
32 |
|
|
%description |
33 |
|
|
Koozali SME Server Nextcloud files and configuration. |
34 |
|
|
|
35 |
|
|
|
36 |
|
|
%prep |
37 |
|
|
%setup |
38 |
jpp |
1.3 |
%patch0 -p1 |
39 |
|
|
%patch1 -p1 |
40 |
jpp |
1.4 |
%patch2 -p1 |
41 |
|
|
%patch3 -p1 |
42 |
|
|
%patch4 -p1 |
43 |
|
|
%patch5 -p1 |
44 |
jpp |
1.1 |
|
45 |
|
|
%build |
46 |
|
|
perl createlinks |
47 |
|
|
|
48 |
|
|
%install |
49 |
|
|
rm -rf %{buildroot} |
50 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
51 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
52 |
|
|
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
53 |
|
|
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
54 |
|
|
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
55 |
|
|
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
56 |
|
|
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
57 |
|
|
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
58 |
|
|
> %{name}-%{version}-filelist |
59 |
|
|
|
60 |
|
|
cat %{name}-%{version}-filelist |
61 |
|
|
%files -f %{name}-%{version}-filelist |
62 |
|
|
%defattr(-,root,root) |
63 |
|
|
%doc COPYING |
64 |
|
|
|
65 |
|
|
|
66 |
|
|
%changelog |
67 |
jpp |
1.4 |
* Sun Apr 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
68 |
|
|
- fix wrong logrotate option [SME: 10560] |
69 |
|
|
- change password storage mode for smb share to allow access from portable devices [SME: 10558] |
70 |
|
|
- create the "ibays" main folder to mount all ibays in every user nextcloud space [SME: 10557] |
71 |
|
|
- add Shared folders in nextcloud under the ibays folder [SME: 10559] |
72 |
|
|
|
73 |
jpp |
1.3 |
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
74 |
jpp |
1.2 |
- tidying templates, set cron update |
75 |
jpp |
1.3 |
- fix bad folder name for ibays [SME: 10556] |
76 |
jpp |
1.2 |
|
77 |
jpp |
1.1 |
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
78 |
|
|
- initial release |
79 |
|
|
|