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

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

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


Revision 1.17 - (hide annotations) (download)
Fri Mar 27 18:29:11 2020 UTC (4 years, 2 months ago) by jpp
Branch: MAIN
Changes since 1.16: +6 -1 lines
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-15.sme
- log as admin and not admin@domain for cli tasks [SME: 10910]

1 unnilennium 1.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 jpp 1.17 %define release 15
8 unnilennium 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.gz
13 unnilennium 1.5 Patch0: smeserver-horde-1.0.0-bz10092-smtpdORqpsmtpd.patch
14 jpp 1.7 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 jpp 1.9 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 jpp 1.15 Patch8: smeserver-horde-1.0.0-bz10224-bz1005.patch
22 jpp 1.16 Patch9: smeserver-horde-1.0.0-bz10908-httpd-auth.patch
23     Patch10: smeserver-horde-1.0.0-bz10909-smeserver-horde-update.patch
24 jpp 1.17 Patch11: smeserver-horde-1.0.0-bz10910-admin.patch
25 jpp 1.9
26 unnilennium 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
27     BuildArchitectures: noarch
28     Requires: e-smith-base >= 4.9.44, php-horde-horde >= 5.2, mariadb
29     BuildRequires: e-smith-devtools >= 1.13.1-03
30     AutoReqProv: no
31     Obsoletes: horde-h3, e-smith-horde, imp-h3, e-smith-imp
32     Obsoletes: ingo-h3, e-smith-ingo, turba-h3, e-smith-turba
33     Obsoletes: kronolith-h3, smeserver-kronolith, nag-h3, smeserver-nag
34     Obsoletes: mnemo-h3, smeserver-mnemo
35 unnilennium 1.3 Requires: php-horde-content, php-horde-imp, php-horde-ingo, php-horde-kronolith
36 unnilennium 1.2 Requires: php-horde-mnemo, php-horde-nag, php-horde-turba
37 unnilennium 1.4 # optional functions we provide
38 unnilennium 1.3 Requires: php-horde-Horde-ActiveSync
39     Requires: php-horde-Horde-Service-Facebook
40     Requires: php-horde-Horde-Service-Twitter
41     Requires: php-pear-Date-Holidays-Australia, php-pear-Date-Holidays-Denmark
42     Requires: php-pear-Date-Holidays-Germany, php-pear-Date-Holidays-Italy
43     Requires: php-pear-Date-Holidays-Netherlands, php-pear-Date-Holidays-Norway
44     Requires: php-pear-Date-Holidays-Portugal, php-pear-Date-Holidays-Russia
45     Requires: php-pear-Date-Holidays-Slovenia, php-pear-Date-Holidays-Sweden
46 unnilennium 1.4 Requires: php-pear-Date-Holidays-France, php-pear-Date-Holidays-Turkey
47 unnilennium 1.3 Requires: php-horde-Horde-Text-Filter-Csstidy
48     Requires: timeobjects
49 unnilennium 1.4 # maybe not required, but JHB used to have them in previous installs
50     Requires: php-pear-Auth-SASL2
51     Requires: php-pear-Cache-Lite
52     Requires: php-pear-Console-GetoptPlus
53     Requires: php-pear-Crypt-Blowfish
54     Requires: php-pear-File-CSV
55     Requires: php-pear-File-Util
56     Requires: php-pear-HTTP
57     Requires: php-pear-HTTP-Request2
58     Requires: php-pear-HTTP_WebDAV_Server
59     Requires: php-pear-Log
60     Requires: php-pear-MDB2
61     Requires: php-pear-Net-URL2
62     Requires: php-pear-XML-Parser2
63     Requires: php-pear-XML-RPC2
64 unnilennium 1.1
65 unnilennium 1.2 %changelog
66 jpp 1.17 * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-15.sme
67     - log as admin and not admin@domain for cli tasks [SME: 10910]
68    
69 jpp 1.16 * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme
70     - allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908]
71     - add smeserver-horde-update event [SME: 10909]
72    
73 jpp 1.15 * Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme
74     - avoid loss of user parameter on Primary Domain change [SME: 1005]
75     this will also avoid the loss of parameter if we log with a different virtualhost
76     horde preference is now stored with the SME username without @domain
77     - fix bad regex to strip domain [SME: 10224]
78     also we can now force Primary domain to use as default email
79     we can strip heading string from virtualhost domain to create email
80     default identity email will update as long as no other identity is created for the user
81    
82 jpp 1.12 * Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme
83     - fix typo in php-fpm patch [SME: 10872]
84    
85 jpp 1.11 * Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme
86 jpp 1.9 - remove php3 references [SME: 10866]
87     - remove strict and warning alert from error log [SME: 10823]
88     - dedicated php-fpm pool for horde [SME: 10872]
89    
90 jpp 1.8 * Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme
91 jpp 1.7 - apply patches from John H. Bennett III [SME: 10717]
92 jpp 1.8 - cvs admin -ko on patch1
93 jpp 1.7
94 unnilennium 1.6 * Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme
95     - revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600]
96    
97 unnilennium 1.5 * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme
98     - fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092]
99 unnilennium 1.6 - add requires php-pear-Math_BigInteger [SME: 9600]
100 unnilennium 1.5
101 unnilennium 1.4 * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme
102     - added last optionals dependencies [SME: 9645]
103     - added France Holidays.
104    
105 unnilennium 1.3 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme
106     - added Requires for pear Dates [SME: 9645]
107     - Activesync, timeobjects, Facebook. Twitter, Text-Filter
108    
109 unnilennium 1.2 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme
110     - add main Required packages php-horde-* [SME: 9645]
111 unnilennium 1.1
112     * Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1
113     - First released build for SME10
114    
115     %description
116     This package adds necessary templates and configuration items
117     for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba
118     to work on SME Server 10
119    
120     %prep
121     %setup
122 unnilennium 1.5 %patch0 -p1
123 jpp 1.7 %patch1 -p1
124     %patch2 -p1
125     %patch3 -p1
126     %patch4 -p1
127 jpp 1.9 %patch5 -p1
128     %patch6 -p1
129     %patch7 -p1
130 jpp 1.15 %patch8 -p1
131 jpp 1.16 %patch9 -p1
132     %patch10 -p1
133 jpp 1.17 %patch11 -p1
134 jpp 1.9
135 jpp 1.10 mkdir -p root/var/lib/php/horde/session
136     mkdir -p root/var/lib/php/horde/opcache
137     mkdir -p root/var/lib/php/horde/tmp
138 unnilennium 1.1
139     %build
140     for i in post-install post-upgrade
141     do
142     mkdir -p root/etc/e-smith/events/$i
143     done
144     perl createlinks
145    
146     %install
147     rm -rf $RPM_BUILD_ROOT
148     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
149 jpp 1.9 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
150     --dir /var/lib/php/horde/session 'attr(0770,root,www)' \
151     --dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \
152     --dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \
153     > %{name}-%{version}-filelist
154 unnilennium 1.1 echo "%doc COPYING" >> %{name}-%{version}-filelist
155    
156     %clean
157     rm -rf $RPM_BUILD_ROOT
158    
159     %pre
160     %preun
161     %post
162    
163     %postun
164    
165     %files -f %{name}-%{version}-filelist
166     %defattr(-,root,root)

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