/[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.9 - (hide annotations) (download)
Tue Oct 14 14:39:16 2008 UTC (16 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: smeserver-ejabberd-2_0_1-3_el4_sme
Changes since 1.8: +7 -2 lines
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-3
- Apply 14 Oct 2008 locale patch

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

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