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