/[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.1 - (hide annotations) (download)
Thu May 15 17:16:30 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Initial import of smeserver-ejabberd-2.0.0-1.el4.sme.src.rpm

1 slords 1.1 # $Id$
2     # 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     %define release 1
10    
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     BuildRequires: e-smith-devtools >= 1.7.5
18     Requires: ejabberd >= 2.0.0
19     Obsoletes: e-smith-jabber
20     AutoReqProv: no
21    
22     %package debug
23     Group: Networking/Daemons
24     Summary: smeserver-ejabberd debug package
25    
26     %changelog
27     * Wed May 14 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-1
28     - bump to ejabberd 2.0.0
29     - no more contains ejabberd Process-One binary installer (due to GPL violation)
30     - use smecontribs ejabberd rpm
31    
32     * Thu Apr 24 2008 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-5
33     - convert fr locale to UTF-8
34    
35     * Wed Oct 17 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-5
36     - fix another bug for starttls in ejabberd.cfg template
37    
38     * Tue Oct 16 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-4
39     - fix bug for starttls in ejabberd.cfg template
40    
41     * Sun Oct 14 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-3
42     - modify ejabberd.cfg template for ejabberd services add-ons
43    
44     * Sat Oct 6 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-2
45     - fix bug in ejabberd.cfg template for users acls
46     - add more ejabberd restarting events
47     - add more ejabberd.cfg generation events
48    
49     * Sun Sep 30 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.1.4-1
50     - Initial Release with ejabberd 1.1.4
51    
52     %description
53     SME Server implementation of ejabberd XMPP server
54    
55     %description debug
56     SME ejabberd server debug package
57    
58     %pre
59    
60     %preun
61     if [ $1 -eq 0 ]; then
62     /opt/ejabberd/bin/preuninstall.sh
63     fi
64    
65     %prep
66     %setup
67    
68     %build
69     perl createlinks
70    
71     %install
72     rm -rf $RPM_BUILD_ROOT
73     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
74     rm -f %{name}-%{version}-%{release}-filelist
75     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
76     --dir '/var/service/ejabberd' 'attr(1755,root,root)' \
77     --file '/var/service/ejabberd/down' 'attr(0644,root,root)' \
78     --file '/var/service/ejabberd/run' 'attr(0755,root,root)' \
79     --dir '/var/service/ejabberd/supervise' 'attr(0700,root,root)' \
80     --dir '/var/service/ejabberd/log' 'attr(1755,root,root)' \
81     --file '/var/service/ejabberd/log/run' 'attr(0755,root,root)' \
82     --dir '/var/service/ejabberd/log/supervise' 'attr(0700,root,root)' \
83     --dir '/var/log/ejabberd' 'attr(0750,ejabberd,ejabberd)' \
84     --dir '/var/log/ejabberd.run' 'attr(0750,smelog,root)' \
85     | egrep -v '^/opt/ejabberd/(database/ejabberd/|conf/ejabberd.cfg)' > %{name}-%{version}-%{release}-filelist
86    
87     %clean
88     rm -rf $RPM_BUILD_ROOT
89    
90     %post
91     chown -R ejabberd.ejabberd /opt/ejabberd/database/ejabberd
92     chown -R ejabberd.ejabberd /opt/ejabberd/conf
93    
94     %postun
95    
96     %files -f %{name}-%{version}-%{release}-filelist
97     %defattr(-,root,root)
98     %attr(0660,ejabberd,ejabberd) %config(noreplace) /opt/ejabberd/conf/ejabberd.cfg
99     %files debug -f debugfiles.list
100     %defattr(-,root,root)

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