1 |
jpp |
1.3 |
%define release 3 |
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.1 |
BuildArch: noarch |
13 |
|
|
URL: %{url_prefix}/%{name} |
14 |
|
|
|
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
|
17 |
|
|
Requires: nextcloud >= 13.0.1 |
18 |
|
|
Requires: e-smith-apache |
19 |
|
|
Requires: e-smith-mysql |
20 |
|
|
Requires: smeserver-webapps-common |
21 |
|
|
Requires: smeserver-php-fpm |
22 |
|
|
Requires: samba-client |
23 |
|
|
Requires: php71-php-smbclient |
24 |
|
|
Requires: php71-php-opcache |
25 |
|
|
Requires: php71-php-pecl-apcu |
26 |
|
|
Requires: perl-JSON |
27 |
|
|
|
28 |
|
|
%description |
29 |
|
|
Koozali SME Server Nextcloud files and configuration. |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
%prep |
33 |
|
|
%setup |
34 |
jpp |
1.3 |
%patch0 -p1 |
35 |
|
|
%patch1 -p1 |
36 |
jpp |
1.1 |
|
37 |
|
|
%build |
38 |
|
|
perl createlinks |
39 |
|
|
|
40 |
|
|
%install |
41 |
|
|
rm -rf %{buildroot} |
42 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
43 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
44 |
|
|
--dir /var/lib/php/nextcloud 'attr(0755,www,www)' \ |
45 |
|
|
--dir /var/lib/php/nextcloud/tmp 'attr(0755,www,www)' \ |
46 |
|
|
--dir /var/lib/php/nextcloud/opcache 'attr(0755,www,www)' \ |
47 |
|
|
--dir /var/lib/php/nextcloud/session 'attr(0755,www,www)' \ |
48 |
|
|
--dir /home/e-smith/files/nextcloud 'attr(0755,www,www)' \ |
49 |
|
|
--dir /home/e-smith/files/nextcloud/data 'attr(0755,www,www)' \ |
50 |
|
|
> %{name}-%{version}-filelist |
51 |
|
|
|
52 |
|
|
cat %{name}-%{version}-filelist |
53 |
|
|
%files -f %{name}-%{version}-filelist |
54 |
|
|
%defattr(-,root,root) |
55 |
|
|
%doc COPYING |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
%changelog |
59 |
jpp |
1.3 |
* Sat Apr 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
60 |
jpp |
1.2 |
- tidying templates, set cron update |
61 |
jpp |
1.3 |
- fix bad folder name for ibays [SME: 10556] |
62 |
jpp |
1.2 |
|
63 |
jpp |
1.1 |
* Fri Mar 30 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
64 |
|
|
- initial release |
65 |
|
|
|