/[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.7 - (hide annotations) (download)
Tue Jul 1 20:01:58 2008 UTC (16 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.6: +6 -21 lines
Update

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

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