/[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.3 - (hide annotations) (download)
Thu May 22 18:44:09 2008 UTC (16 years, 6 months ago) by gnujpl
Branch: MAIN
CVS Tags: smeserver-ejabberd-2_0_0-3_el4_sme
Changes since 1.2: +27 -17 lines
no more use /opt, use ejabberd EPEL dirs instead

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

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