/[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.13 - (hide annotations) (download)
Fri Mar 20 21:05:45 2020 UTC (4 years, 2 months ago) by jpp
Branch: MAIN
Changes since 1.12: +6 -1 lines
* Fri Mar 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme
- fix warnings and strict message filling error.log [SME: 10824]

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.13 %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.13 Patch8: smeserver-horde-1.0.0-bz10824-warnings_strict.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.13 * Fri Mar 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-13.sme
64     - fix warnings and strict message filling error.log [SME: 10824]
65    
66 jpp 1.12 * Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme
67     - fix typo in php-fpm patch [SME: 10872]
68    
69 jpp 1.11 * Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-11.sme
70 jpp 1.9 - remove php3 references [SME: 10866]
71     - remove strict and warning alert from error log [SME: 10823]
72     - dedicated php-fpm pool for horde [SME: 10872]
73    
74 jpp 1.8 * Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-8.sme
75 jpp 1.7 - apply patches from John H. Bennett III [SME: 10717]
76 jpp 1.8 - cvs admin -ko on patch1
77 jpp 1.7
78 unnilennium 1.6 * Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-6.sme
79     - revert requires php-pear-Math_BigInteger provided by php-phpseclib-math-biginteger [SME: 9600]
80    
81 unnilennium 1.5 * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-5.sme
82     - fix incorrect expansion of backends.local.php with non numerical releases [SME: 10092]
83 unnilennium 1.6 - add requires php-pear-Math_BigInteger [SME: 9600]
84 unnilennium 1.5
85 unnilennium 1.4 * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-4.sme
86     - added last optionals dependencies [SME: 9645]
87     - added France Holidays.
88    
89 unnilennium 1.3 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-3.sme
90     - added Requires for pear Dates [SME: 9645]
91     - Activesync, timeobjects, Facebook. Twitter, Text-Filter
92    
93 unnilennium 1.2 * Wed Jul 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-2.sme
94     - add main Required packages php-horde-* [SME: 9645]
95 unnilennium 1.1
96     * Sun Jun 19 2016 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.0-1
97     - First released build for SME10
98    
99     %description
100     This package adds necessary templates and configuration items
101     for Horde, Imp, Ingo, Kronolith, Mnemo, Nag and Turba
102     to work on SME Server 10
103    
104     %prep
105     %setup
106 unnilennium 1.5 %patch0 -p1
107 jpp 1.7 %patch1 -p1
108     %patch2 -p1
109     %patch3 -p1
110     %patch4 -p1
111 jpp 1.9 %patch5 -p1
112     %patch6 -p1
113     %patch7 -p1
114 jpp 1.13 %patch8 -p1
115 jpp 1.9
116 jpp 1.10 mkdir -p root/var/lib/php/horde/session
117     mkdir -p root/var/lib/php/horde/opcache
118     mkdir -p root/var/lib/php/horde/tmp
119 unnilennium 1.1
120     %build
121     for i in post-install post-upgrade
122     do
123     mkdir -p root/etc/e-smith/events/$i
124     done
125     perl createlinks
126    
127     %install
128     rm -rf $RPM_BUILD_ROOT
129     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
130 jpp 1.9 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
131     --dir /var/lib/php/horde/session 'attr(0770,root,www)' \
132     --dir /var/lib/php/horde/tmp 'attr(0770,root,www)' \
133     --dir /var/lib/php/horde/opcache 'attr(0770,root,www)' \
134     > %{name}-%{version}-filelist
135 unnilennium 1.1 echo "%doc COPYING" >> %{name}-%{version}-filelist
136    
137     %clean
138     rm -rf $RPM_BUILD_ROOT
139    
140     %pre
141     %preun
142     %post
143    
144     %postun
145    
146     %files -f %{name}-%{version}-filelist
147     %defattr(-,root,root)

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