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} |
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 |
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 |
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 |
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 |
|
|