/[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.2 - (hide annotations) (download)
Wed May 21 20:10:23 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.1: +7 -2 lines
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2
- Apply 21 May 2008 locale patch

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

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