/[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.12 - (hide annotations) (download)
Wed Mar 11 05:09:48 2020 UTC (4 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-horde-1_0_0-12_el7_sme
Changes since 1.11: +4 -1 lines
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme
- fix typo in php-fpm patch [SME: 10872]

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

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