/[smecontribs]/rpms/smeserver-ejabberd/contribs8/smeserver-ejabberd.spec
ViewVC logotype

Contents of /rpms/smeserver-ejabberd/contribs8/smeserver-ejabberd.spec

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


Revision 1.3 - (show annotations) (download)
Wed Mar 9 07:09:23 2016 UTC (8 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ejabberd-2_0_1-21_el5_sme
Changes since 1.2: +9 -2 lines
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.1-21.sme
- apply locale 2016-03-09 patch

1 # $Id: smeserver-ejabberd.spec,v 1.2 2013/07/14 20:42:28 unnilennium Exp $
2 # Authority: gnujpl
3 # Name: Jean-Paul Leclère
4
5 Summary: SME Server ejabberd Jabber service
6 %define name smeserver-ejabberd
7 Name: %{name}
8 %define version 2.0.1
9 %define release 21
10
11 Version: %{version}
12 Release: %{release}%{?dist}
13 License: GPL
14 Group: Networking/Daemons
15 Source: %{name}-%{version}.tar.gz
16 Patch1: smeserver-ejabberd-2.0.1-locale-2008-07-01.patch
17 Patch2: smeserver-ejabberd-2.0.1-locale-2008-10-14.patch
18 Patch3: smeserver-ejabberd-2.0.1-locale-2008-10-16.patch
19 Patch4: smeserver-ejabberd-2.0.1-locale-2008-11-19.patch
20 Patch5: smeserver-ejabberd-2.0.1-locale-2008-11-30.patch
21 Patch6: smeserver-ejabberd-2.0.1-locale-2009-01-01.patch
22 Patch7: smeserver-ejabberd-2.0.1-locale-2009-01-31.patch
23 Patch8: smeserver-ejabberd-2.0.1-locale-2009-03-01.patch
24 Patch9: smeserver-ejabberd-2.0.1-locale-2009-03-03.patch
25 Patch10: smeserver-ejabberd-2.0.1-locale-2009-04-27.patch
26 Patch11: smeserver-ejabberd-2.0.1-locale-2009-05-20.patch
27 Patch12: smeserver-ejabberd-2.0.1-locale-2009-08-24.patch
28 Patch13: smeserver-ejabberd-2.0.1-locale-2009-10-21.patch
29 Patch14: smeserver-ejabberd-2.0.1-locale-2009-10-27.patch
30 Patch15: smeserver-ejabberd-2.0.1-locale-2010-03-02.patch
31 Patch16: smeserver-ejabberd-2.0.1-locale-2010-05-23.patch
32 Patch17: smeserver-ejabberd-2.0.1-mod_admin_extra.patch
33 Patch18: smeserver-ejabberd-2.0.1-locale-2011-03-06.patch
34 Patch19: smeserver-ejabberd-2.0.1-locale-2013-07-14.patch
35 Patch20: smeserver-ejabberd-2.0.1-64patch.patch
36 Patch21: smeserver-ejabberd-2.0.1-locale-2016-03-09.patch
37
38 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
39 BuildArch: noarch
40 BuildRequires: e-smith-devtools >= 1.7.5
41 Requires: ejabberd >= 2.0.1
42 Requires: e-smith-formmagick >= 1.4.0-12
43 Obsoletes: e-smith-jabber
44 AutoReqProv: no
45
46 %changelog
47 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.1-21.sme
48 - apply locale 2016-03-09 patch
49
50 * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.0.1-20.sme
51 - apply locale 2013-07-14 patch
52 - fix 64 bit bug [SME: 7129]
53
54 * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.1-19.sme
55 - apply locale 2011-03-06 patch
56
57 * Sun Jan 2 2011 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.1-18.sme
58 - add mod_admin_extra support (see Bug 6462)
59
60 * Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.1-17.sme
61 - apply locale 2010-05-23 patch
62
63 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.1-16.sme
64 - apply locale 2010-03-02 patch
65
66 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.1-15.sme
67 - apply locale 2009-10-27 patch
68
69 * Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 2.0.1-14.sme
70 - apply locale 2009-10-21 patch
71
72 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.1-13.sme
73 - apply locale 2009-08-24 patch
74
75 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.1-12.sme
76 - apply locale 2009-05-20 patch
77
78 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.1-11.sme
79 - apply locale 2009-04-27 patch
80
81 * Tue Mar 03 2009 SME Translation Server
82 - apply locale 2009-03-03 patch
83
84 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-9
85 - Apply 1 Mar 2009 locale patch [SME: 5018]
86
87 * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-8
88 - Apply 31 Jan 2009 locale patch [SME: 4951]
89
90 * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-7
91 - Apply 1 Jan 2009 locale patch [SME: 4900]
92
93 * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-6
94 - Apply 30 Nov 2008 locale patch
95
96 * Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-5
97 - Apply 19 Nov 2008 locale patch
98
99 * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-4
100 - Apply 16 Oct 2008 locale patch
101
102 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-3
103 - Apply 14 Oct 2008 locale patch
104
105 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-2
106 - Apply 1 July 2008 locale patch
107
108 * Fri Jun 27 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.1-1
109 - update for ejabberd >= 2.0.1
110 - disable polling (thanks to Daniel Berteaud)
111
112 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5
113 - Apply 27 Jun 2008 locale patch
114 - Added missing dependency on e-smith-formmagick >= 1.4.0-12
115
116 * Sun Jun 22 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-4
117 - use new ejabberd ssl cert file in /var/service/ejabberd/ssl
118 - sync ejabberd cert file with SME cert file
119
120 * Thu May 22 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-3
121 - no more use /opt
122 - use SME server ssl certs
123 - db migrate process
124
125 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2
126 - Apply 21 May 2008 locale patch
127
128 * Wed May 14 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-1
129 - bump to ejabberd 2.0.0
130 - no more contains ejabberd Process-One binary installer (due to GPL violation)
131 - use smecontribs ejabberd rpm
132
133 * Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-5
134 - convert fr locale to UTF-8
135
136 * Wed Oct 17 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-5
137 - fix another bug for starttls in ejabberd.cfg template
138
139 * Tue Oct 16 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-4
140 - fix bug for starttls in ejabberd.cfg template
141
142 * Sun Oct 14 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-3
143 - modify ejabberd.cfg template for ejabberd services add-ons
144
145 * Sat Oct 6 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-2
146 - fix bug in ejabberd.cfg template for users acls
147 - add more ejabberd restarting events
148 - add more ejabberd.cfg generation events
149
150 * Sun Sep 30 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-1
151 - Initial Release with ejabberd 1.1.4
152
153 %description
154 SME Server implementation of ejabberd XMPP server
155
156 %pre
157
158 %preun
159 if [ $1 -eq 0 ]; then
160 # remove, not upgrade
161 /sbin/e-smith/db configuration delete ejabberd
162 /sbin/e-smith/db configuration delete ejabberd.init
163 /usr/bin/sv down /service/ejabberd
164 /usr/lib/erlang/bin/epmd -kill
165 cd /service/ejabberd
166 rm /service/ejabberd
167 /usr/bin/sv exit . log
168 fi
169 exit 0
170
171 %prep
172 %setup
173 %patch1 -p1
174 %patch2 -p1
175 %patch3 -p1
176 %patch4 -p1
177 %patch5 -p1
178 %patch6 -p1
179 %patch7 -p1
180 %patch8 -p1
181 %patch9 -p1
182 %patch10 -p1
183 %patch11 -p1
184 %patch12 -p1
185 %patch13 -p1
186 %patch14 -p1
187 %patch15 -p1
188 %patch16 -p1
189 %patch17 -p1
190 %patch18 -p1
191 %patch19 -p1
192 %patch20 -p1
193 %patch21 -p1
194
195
196 %build
197 perl createlinks
198
199 %install
200 rm -rf $RPM_BUILD_ROOT
201 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
202 rm -f %{name}-%{version}-%{release}-filelist
203 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
204 --dir '/var/service/ejabberd' 'attr(1755,root,root)' \
205 --file '/var/service/ejabberd/down' 'attr(0644,root,root)' \
206 --file '/var/service/ejabberd/run' 'attr(0755,root,root)' \
207 --dir '/var/service/ejabberd/supervise' 'attr(0700,root,root)' \
208 --file '/var/service/ejabberd/control/2' 'attr(0755,root,root)' \
209 --dir '/var/service/ejabberd/log' 'attr(1755,root,root)' \
210 --file '/var/service/ejabberd/log/run' 'attr(0755,root,root)' \
211 --dir '/var/service/ejabberd/log/supervise' 'attr(0700,root,root)' \
212 --dir '/var/log/ejabberd' 'attr(0750,ejabberd,ejabberd)' \
213 --dir '/var/log/ejabberd.run' 'attr(0750,smelog,root)' \
214 > %{name}-%{version}-%{release}-filelist
215
216 %clean
217 rm -rf $RPM_BUILD_ROOT
218
219 %post
220 mkdir -p /var/service/ejabberd/ssl
221
222 %postun
223
224 %files -f %{name}-%{version}-%{release}-filelist
225 %defattr(-,root,root)

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