/[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.14 - (hide annotations) (download)
Sun Nov 30 22:02:58 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-ejabberd-2_0_1-6_el4_sme
Changes since 1.13: +7 -2 lines
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-6
- Apply 30 Nov 2008 locale patch

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

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