/[smeserver]/rpms/smeserver-horde/sme10/smeserver-horde.spec
ViewVC logotype

Contents of /rpms/smeserver-horde/sme10/smeserver-horde.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (show annotations) (download)
Tue Mar 10 18:33:32 2020 UTC (4 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-horde-1_0_0-10_el7_sme
Changes since 1.9: +5 -5 lines
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-10.sme
- remove php3 references [SME: 10866]
- remove strict and warning alert from error log [SME: 10823]
- dedicated php-fpm pool for horde [SME: 10872]

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 10
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 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
23 BuildArchitectures: noarch
24 Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb
25 BuildRequires: e-smith-devtools >= 1.13.1-03
26 AutoReqProv: no
27 Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp
28 Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba
29 Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag
30 Obsoletes: mnemo-h3, smeserver-mnemo
31 Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith
32 Requires: php-horde-mnemo, php-horde-nag, php-horde-turba
33 # optional functions we provide
34 Requires: php-horde-Horde-ActiveSync
35 Requires: php-horde-Horde-Service-Facebook
36 Requires: php-horde-Horde-Service-Twitter
37 Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark
38 Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy
39 Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway
40 Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia
41 Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden
42 Requires: php-pear-Date-Holidays-France, php-pear-Date-Holidays-Turkey
43 Requires: php-horde-Horde-Text-Filter-Csstidy
44 Requires: timeobjects
45 # maybe not required, but JHB used to have them in previous installs
46 Requires: php-pear-Auth-SASL2
47 Requires: php-pear-Cache-Lite
48 Requires: php-pear-Console-GetoptPlus
49 Requires: php-pear-Crypt-Blowfish
50 Requires: php-pear-File-CSV
51 Requires: php-pear-File-Util
52 Requires: php-pear-HTTP
53 Requires: php-pear-HTTP-Request2
54 Requires: php-pear-HTTP_WebDAV_Server
55 Requires: php-pear-Log
56 Requires: php-pear-MDB2
57 Requires: php-pear-Net-URL2
58 Requires: php-pear-XML-Parser2
59 Requires: php-pear-XML-RPC2
60
61 %changelog
62 * Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-10.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
68 - apply patches from John H. Bennett III [SME: 10717]
69 - cvs admin -ko on patch1
70
71 * Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme
72 - revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600]
73
74 * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme
75 - fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092]
76 - add requires php-pear-Math_BigInteger [SME: 9600]
77
78 * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme
79 - added last optionals dependencies [SME: 9645]
80 - added France Holidays.
81
82 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme
83 - added Requires for pear Dates [SME: 9645]
84 - Activesync, timeobjects, Facebook. Twitter, Text-Filter
85
86 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme
87 - add main Required packages php-horde-* [SME: 9645]
88
89 * Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1
90 - First released build for SME10
91
92 %description
93 This package adds necessary templates and configuration items
94 for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba
95 to work on SME Server 10
96
97 %prep
98 %setup
99 %patch0 -p1
100 %patch1 -p1
101 %patch2 -p1
102 %patch3 -p1
103 %patch4 -p1
104 %patch5 -p1
105 %patch6 -p1
106 %patch7 -p1
107
108 mkdir -p root/var/lib/php/horde/session
109 mkdir -p root/var/lib/php/horde/opcache
110 mkdir -p root/var/lib/php/horde/tmp
111
112 %build
113 for i in post-install post-upgrade
114 do
115 mkdir -p root/etc/e-smith/events/$i
116 done
117 perl createlinks
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
122 /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
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %pre
133 %preun
134 %post
135
136 %postun
137
138 %files -f %{name}-%{version}-filelist
139 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed