1 |
# $Id: e-smith-horde.spec,v 1.22 2010/05/11 04:07:35 mrjhb3 Exp $ |
2 |
|
3 |
Summary: e-smith specific Horde configuration and templates. |
4 |
%define name smeserver-horde |
5 |
Name: %{name} |
6 |
%define version 1.0.0 |
7 |
%define release 7 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: smeserver-horde-1.0.0-bz10092-smtpdORqpsmtpd.patch |
14 |
Patch1: smeserver-horde-bz10717-config.phphorde5.2.14compliance.patch |
15 |
Patch2: smeserver-horde-1.0.0-bz10092-spam_learning.patch |
16 |
Patch3: smeserver-horde-1.0.0-bz10717-activesync_turba_backends.local.php.patch |
17 |
Patch4: smeserver-horde-1.0.0-bz10717-task_sharing.patch |
18 |
#Patch1: e-smith-horde-4.8.0_renumber_database_creation.order.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
21 |
Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
AutoReqProv: no |
24 |
Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp |
25 |
Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba |
26 |
Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag |
27 |
Obsoletes: mnemo-h3, smeserver-mnemo |
28 |
Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith |
29 |
Requires: php-horde-mnemo, php-horde-nag, php-horde-turba |
30 |
# optional functions we provide |
31 |
Requires: php-horde-Horde-ActiveSync |
32 |
Requires: php-horde-Horde-Service-Facebook |
33 |
Requires: php-horde-Horde-Service-Twitter |
34 |
Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark |
35 |
Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy |
36 |
Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway |
37 |
Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia |
38 |
Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden |
39 |
Requires: php-pear-Date-Holidays-France, php-pear-Date-Holidays-Turkey |
40 |
Requires: php-horde-Horde-Text-Filter-Csstidy |
41 |
Requires: timeobjects |
42 |
# maybe not required, but JHB used to have them in previous installs |
43 |
Requires: php-pear-Auth-SASL2 |
44 |
Requires: php-pear-Cache-Lite |
45 |
Requires: php-pear-Console-GetoptPlus |
46 |
Requires: php-pear-Crypt-Blowfish |
47 |
Requires: php-pear-File-CSV |
48 |
Requires: php-pear-File-Util |
49 |
Requires: php-pear-HTTP |
50 |
Requires: php-pear-HTTP-Request2 |
51 |
Requires: php-pear-HTTP_WebDAV_Server |
52 |
Requires: php-pear-Log |
53 |
Requires: php-pear-MDB2 |
54 |
Requires: php-pear-Net-URL2 |
55 |
Requires: php-pear-XML-Parser2 |
56 |
Requires: php-pear-XML-RPC2 |
57 |
|
58 |
%changelog |
59 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-7.sme |
60 |
- apply patches from John H. Bennett III [SME: 10717] |
61 |
|
62 |
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme |
63 |
- revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600] |
64 |
|
65 |
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme |
66 |
- fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092] |
67 |
- add requires php-pear-Math_BigInteger [SME: 9600] |
68 |
|
69 |
* Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme |
70 |
- added last optionals dependencies [SME: 9645] |
71 |
- added France Holidays. |
72 |
|
73 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme |
74 |
- added Requires for pear Dates [SME: 9645] |
75 |
- Activesync, timeobjects, Facebook. Twitter, Text-Filter |
76 |
|
77 |
* Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme |
78 |
- add main Required packages php-horde-* [SME: 9645] |
79 |
|
80 |
* Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1 |
81 |
- First released build for SME10 |
82 |
|
83 |
%description |
84 |
This package adds necessary templates and configuration items |
85 |
for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba |
86 |
to work on SME Server 10 |
87 |
|
88 |
%prep |
89 |
%setup |
90 |
%patch0 -p1 |
91 |
%patch1 -p1 |
92 |
%patch2 -p1 |
93 |
%patch3 -p1 |
94 |
%patch4 -p1 |
95 |
|
96 |
%build |
97 |
for i in post-install post-upgrade |
98 |
do |
99 |
mkdir -p root/etc/e-smith/events/$i |
100 |
done |
101 |
perl createlinks |
102 |
|
103 |
%install |
104 |
rm -rf $RPM_BUILD_ROOT |
105 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
106 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
107 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
108 |
|
109 |
%clean |
110 |
rm -rf $RPM_BUILD_ROOT |
111 |
|
112 |
%pre |
113 |
%preun |
114 |
%post |
115 |
|
116 |
%postun |
117 |
|
118 |
%files -f %{name}-%{version}-filelist |
119 |
%defattr(-,root,root) |