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

Annotation of /rpms/smeserver-ejabberd/contribs7/smeserver-ejabberd.spec

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


Revision 1.19 - (hide annotations) (download)
Mon Apr 27 16:11:20 2009 UTC (15 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.18: +7 -2 lines
Apply locale changes

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

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