4 |
%define name smeserver-horde |
%define name smeserver-horde |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.0.0 |
%define version 1.0.0 |
7 |
%define release 8 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: smeserver-horde-1.0.0-bz10092-spam_learning.patch |
Patch2: smeserver-horde-1.0.0-bz10092-spam_learning.patch |
16 |
Patch3: smeserver-horde-1.0.0-bz10717-activesync_turba_backends.local.php.patch |
Patch3: smeserver-horde-1.0.0-bz10717-activesync_turba_backends.local.php.patch |
17 |
Patch4: smeserver-horde-1.0.0-bz10717-task_sharing.patch |
Patch4: smeserver-horde-1.0.0-bz10717-task_sharing.patch |
18 |
#Patch1: e-smith-horde-4.8.0_renumber_database_creation.order.patch |
Patch5: smeserver-horde-1.0.0-bz10866-php3.patch |
19 |
|
Patch6: smeserver-horde-1.0.0-bz10823-strict-warming.patch |
20 |
|
Patch7: smeserver-horde-1.0.0-bz10872-enable-php-fpm.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb |
Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb |
59 |
Requires: php-pear-XML-RPC2 |
Requires: php-pear-XML-RPC2 |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-9.sme |
63 |
|
- remove php3 references [SME: 10866] |
64 |
|
- remove strict and warning alert from error log [SME: 10823] |
65 |
|
- dedicated php-fpm pool for horde [SME: 10872] |
66 |
|
|
67 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme |
68 |
- apply patches from John H. Bennett III [SME: 10717] |
- apply patches from John H. Bennett III [SME: 10717] |
69 |
- cvs admin -ko on patch1 |
- cvs admin -ko on patch1 |
101 |
%patch2 -p1 |
%patch2 -p1 |
102 |
%patch3 -p1 |
%patch3 -p1 |
103 |
%patch4 -p1 |
%patch4 -p1 |
104 |
|
%patch5 -p1 |
105 |
|
%patch6 -p1 |
106 |
|
%patch7 -p1 |
107 |
|
|
108 |
|
mkdir -p /var/lib/php/horde/session |
109 |
|
mkdir -p /var/lib/php/horde/opcache |
110 |
|
mkdir -p /var/lib/php/horde/tmp |
111 |
|
|
112 |
%build |
%build |
113 |
for i in post-install post-upgrade |
for i in post-install post-upgrade |
119 |
%install |
%install |
120 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
121 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
122 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
123 |
|
--dir /var/lib/php/horde/session 'attr(0770,root,www)' \ |
124 |
|
--dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \ |
125 |
|
--dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \ |
126 |
|
> %{name}-%{version}-filelist |
127 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
128 |
|
|
129 |
%clean |
%clean |