/[smecontribs]/rpms/smeserver-ejabberd/contribs7/smeserver-ejabberd.spec
ViewVC logotype

Diff of /rpms/smeserver-ejabberd/contribs7/smeserver-ejabberd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by snetram, Wed May 21 20:10:23 2008 UTC Revision 1.16 by snetram, Sat Jan 31 07:45:07 2009 UTC
# Line 1  Line 1 
1  # $Id: smeserver-ejabberd.spec,v 1.1 2008/05/15 17:16:30 slords Exp $  # $Id: smeserver-ejabberd.spec,v 1.15 2009/01/01 11:36:41 snetram Exp $
2  # Authority: gnujpl  # Authority: gnujpl
3  # Name: Jean-Paul Leclère  # Name: Jean-Paul Leclère
4    
5  Summary: SME Server ejabberd Jabber service  Summary: SME Server ejabberd Jabber service
6  %define name smeserver-ejabberd  %define name smeserver-ejabberd
7  Name: %{name}  Name: %{name}
8  %define version 2.0.0  %define version 2.0.1
9  %define release 2  %define release 8
10    
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: GPL  License: GPL
14  Group: Networking/Daemons  Group: Networking/Daemons
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  Patch0: smeserver-ejabberd-2.0.0-locale-2008-05-21.patch  Patch1: smeserver-ejabberd-2.0.1-locale-2008-07-01.patch
17    Patch2: smeserver-ejabberd-2.0.1-locale-2008-10-14.patch
18    Patch3: smeserver-ejabberd-2.0.1-locale-2008-10-16.patch
19    Patch4: smeserver-ejabberd-2.0.1-locale-2008-11-19.patch
20    Patch5: smeserver-ejabberd-2.0.1-locale-2008-11-30.patch
21    Patch6: smeserver-ejabberd-2.0.1-locale-2009-01-01.patch
22    Patch7: smeserver-ejabberd-2.0.1-locale-2009-01-31.patch
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24    BuildArch: noarch
25  BuildRequires: e-smith-devtools >= 1.7.5  BuildRequires: e-smith-devtools >= 1.7.5
26  Requires: ejabberd >= 2.0.0  Requires: ejabberd >= 2.0.1
27    Requires: e-smith-formmagick >= 1.4.0-12
28  Obsoletes: e-smith-jabber  Obsoletes: e-smith-jabber
29  AutoReqProv: no  AutoReqProv: no
30    
 %package debug  
 Group: Networking/Daemons  
 Summary: smeserver-ejabberd debug package  
   
31  %changelog  %changelog
32    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-8
33    - Apply 31 Jan 2009 locale patch [SME: 4951]
34    
35    * Thu Jan  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-7
36    - Apply  1 Jan 2009 locale patch [SME: 4900]
37    
38    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-6
39    - Apply 30 Nov 2008 locale patch
40    
41    * Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-5
42    - Apply 19 Nov 2008 locale patch
43    
44    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-4
45    - Apply 16 Oct 2008 locale patch
46    
47    * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-3
48    - Apply 14 Oct 2008 locale patch
49    
50    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.1-2
51    - Apply 1 July 2008 locale patch
52    
53    * Fri Jun 27 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.1-1
54    - update for ejabberd >= 2.0.1
55    - disable polling (thanks to Daniel Berteaud)
56    
57    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5
58    - Apply 27 Jun 2008 locale patch
59    - Added missing dependency on e-smith-formmagick >= 1.4.0-12
60    
61    * Sun Jun 22 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-4
62    - use new ejabberd ssl cert file in /var/service/ejabberd/ssl
63    - sync ejabberd cert file with SME cert file
64    
65    * Thu May 22 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-3
66    - no more use /opt
67    - use SME server ssl certs
68    - db migrate process
69    
70  * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2  * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2
71  - Apply 21 May 2008 locale patch  - Apply 21 May 2008 locale patch
72    
# Line 56  Summary: smeserver-ejabberd debug packag Line 98  Summary: smeserver-ejabberd debug packag
98  %description  %description
99  SME Server implementation of ejabberd XMPP server  SME Server implementation of ejabberd XMPP server
100    
 %description debug  
 SME ejabberd server debug package  
   
101  %pre  %pre
102    
103  %preun  %preun
104  if [ $1 -eq 0 ]; then  if [ $1 -eq 0 ]; then
105  /opt/ejabberd/bin/preuninstall.sh  # remove, not upgrade
106    /sbin/e-smith/db configuration delete ejabberd
107    /sbin/e-smith/db configuration delete ejabberd.init
108    /usr/bin/sv down /service/ejabberd
109    /usr/lib/erlang/bin/epmd -kill
110    cd /service/ejabberd
111    rm /service/ejabberd
112    /usr/bin/sv exit . log
113  fi  fi
114    exit 0
115    
116  %prep  %prep
117  %setup  %setup
118  %patch0 -p1  %patch1 -p1
119    %patch2 -p1
120    %patch3 -p1
121    %patch4 -p1
122    %patch5 -p1
123    %patch6 -p1
124    %patch7 -p1
125    
126  %build  %build
127  perl createlinks  perl createlinks
# Line 82  rm -f %{name}-%{version}-%{release}-file Line 135  rm -f %{name}-%{version}-%{release}-file
135      --file '/var/service/ejabberd/down' 'attr(0644,root,root)' \      --file '/var/service/ejabberd/down' 'attr(0644,root,root)' \
136      --file '/var/service/ejabberd/run' 'attr(0755,root,root)' \      --file '/var/service/ejabberd/run' 'attr(0755,root,root)' \
137      --dir '/var/service/ejabberd/supervise' 'attr(0700,root,root)' \      --dir '/var/service/ejabberd/supervise' 'attr(0700,root,root)' \
138        --file '/var/service/ejabberd/control/2' 'attr(0755,root,root)' \
139      --dir '/var/service/ejabberd/log' 'attr(1755,root,root)' \      --dir '/var/service/ejabberd/log' 'attr(1755,root,root)' \
140      --file '/var/service/ejabberd/log/run' 'attr(0755,root,root)' \      --file '/var/service/ejabberd/log/run' 'attr(0755,root,root)' \
141      --dir '/var/service/ejabberd/log/supervise' 'attr(0700,root,root)' \      --dir '/var/service/ejabberd/log/supervise' 'attr(0700,root,root)' \
142      --dir '/var/log/ejabberd' 'attr(0750,ejabberd,ejabberd)' \      --dir '/var/log/ejabberd' 'attr(0750,ejabberd,ejabberd)' \
143      --dir '/var/log/ejabberd.run' 'attr(0750,smelog,root)' \      --dir '/var/log/ejabberd.run' 'attr(0750,smelog,root)' \
144   | egrep -v '^/opt/ejabberd/(database/ejabberd/|conf/ejabberd.cfg)'     > %{name}-%{version}-%{release}-filelist       > %{name}-%{version}-%{release}-filelist
145    
146  %clean  %clean
147  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
148    
149  %post  %post
150  chown -R ejabberd.ejabberd /opt/ejabberd/database/ejabberd  mkdir -p /var/service/ejabberd/ssl
 chown -R ejabberd.ejabberd /opt/ejabberd/conf  
151    
152  %postun  %postun
153    
154  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
155  %defattr(-,root,root)  %defattr(-,root,root)
 %attr(0660,ejabberd,ejabberd) %config(noreplace) /opt/ejabberd/conf/ejabberd.cfg  
 %files debug -f debugfiles.list  
 %defattr(-,root,root)  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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