/[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.15 - (hide annotations) (download)
Fri Mar 27 04:47:56 2020 UTC (4 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-horde-1_0_0-13_el7_sme
Changes since 1.14: +12 -1 lines
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme
- avoid loss of user parameter on Primary Domain change [SME: 1005]
  this will also avoid the loss of parameter if we log with a different virtualhost
  horde preference is now stored with the SME username without @domain
- fix bad regex to strip domain [SME: 10224]
  also we can now force Primary domain to use as default email
  we can strip heading string from virtualhost domain to create email
  default identity email will update as long as no other identity is created for the user

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

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