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

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

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

Revision 1.4 by slords, Wed Jun 25 19:02:58 2008 UTC Revision 1.5 by slords, Wed Jun 25 19:06:40 2008 UTC
# Line 1  Line 1 
1    # $Id: ejabberd.spec,v 1.3 2008/05/10 15:41:02 gnujpl Exp $
2    # Authority: gnujpl
3    # Name: Jean-Paul Leclère
4    
5  Name:           ejabberd  Name:           ejabberd
6  Version:        2.0.1  Version:        2.0.1
7  Release:        4%{?dist}  Release:        4%{?dist}
# Line 34  BuildRequires:  openssl-devel Line 38  BuildRequires:  openssl-devel
38  BuildRequires:  pam-devel  BuildRequires:  pam-devel
39  BuildRequires:  erlang  BuildRequires:  erlang
40  BuildRequires:  dos2unix  BuildRequires:  dos2unix
41  %if %{undefined rhel}  %if %{?rhel:0}%{!?rhel:1}
42  BuildRequires:  hevea  BuildRequires:  hevea
43  %endif  %endif
44    
45  Requires:       erlang  Requires:       erlang
46  Requires:       usermode  Requires:       usermode
47    
48  Requires(pre): fedora-usermgmt  #Requires(pre): fedora-usermgmt
49  Requires(post): /sbin/chkconfig  Requires(post): /sbin/chkconfig
50  Requires(preun): /sbin/chkconfig  Requires(preun): /sbin/chkconfig
51  Requires(preun): /sbin/service  Requires(preun): /sbin/service
# Line 64  Group: Documentation Line 68  Group: Documentation
68  Documentation for ejabberd.  Documentation for ejabberd.
69    
70  %pre  %pre
71  /usr/sbin/fedora-groupadd 27 -r ejabberd &>/dev/null || :  /usr/sbin/groupadd 33 -r ejabberd &>/dev/null || :
72  /usr/sbin/fedora-useradd  27 -r -s /sbin/nologin -d /var/lib/ejabberd -M \  /usr/sbin/useradd  33 -r -s /sbin/nologin -d /var/lib/ejabberd -M \
73                               -c 'ejabberd' -g ejabberd ejabberd &>/dev/null || :                               -c 'ejabberd' -g ejabberd ejabberd &>/dev/null || :
74    
75  %post  %post
# Line 99  pushd src Line 103  pushd src
103  # doesn't builds on SMP currently  # doesn't builds on SMP currently
104  make  make
105  popd  popd
106  %if %{undefined rhel}  %if %{?rhel:0}%{!?rhel:1}
107  pushd doc  pushd doc
108  make html pdf  make html pdf
109  popd  popd
# Line 176  rm -rf %{buildroot} Line 180  rm -rf %{buildroot}
180    
181  %files doc  %files doc
182  %defattr(-,root,root,-)  %defattr(-,root,root,-)
183  %if %{undefined rhel}  %if %{?rhel:0}%{!?rhel:1}
184  %doc ChangeLog COPYING doc/release_notes_* doc/*.pdf doc/*.html doc/*.png  %doc ChangeLog COPYING doc/release_notes_* doc/*.pdf doc/*.html doc/*.png
185  %else  %else
186  %doc ChangeLog COPYING doc/release_notes_*  %doc ChangeLog COPYING doc/release_notes_*
187  %endif  %endif
188    
189  %changelog  %changelog
190    * Wed Jun  25 2008 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.1-4.sme
191    - Don't use fedora-usermgmt
192    - set ejabberd uid to 33 for SME compatibility
193    - only spec file changes
194    
195  * Sun Jun 22 2008 Peter Lemenkov <lemenkov@gmail.com> 2.0.1-4  * Sun Jun 22 2008 Peter Lemenkov <lemenkov@gmail.com> 2.0.1-4
196  - Last minute fix (issue with shortnames/fqdn)  - Last minute fix (issue with shortnames/fqdn)
197    


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