git://git.onelab.eu
/
ejabberd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
631a952
)
on a second thought, just use the pre-built docs and remove the dependency to hevea.
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 22 Mar 2010 09:00:34 +0000
(09:00 +0000)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 22 Mar 2010 09:00:34 +0000
(09:00 +0000)
ejabberd.spec
patch
|
blob
|
history
diff --git
a/ejabberd.spec
b/ejabberd.spec
index
fa85f95
..
7f43eef
100644
(file)
--- a/
ejabberd.spec
+++ b/
ejabberd.spec
@@
-27,7
+27,6
@@
BuildRequires: expat-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
BuildRequires: erlang
BuildRequires: openssl-devel
BuildRequires: pam-devel
BuildRequires: erlang
-#docs disabled
#BuildRequires: hevea
Requires: erlang
#BuildRequires: hevea
Requires: erlang
@@
-46,6
+45,13
@@
Jabber/XMPP server. It is mostly written in Erlang, and runs on many
platforms (tested on Linux, FreeBSD, NetBSD, Solaris, Mac OS X and
Windows NT/2000/XP).
platforms (tested on Linux, FreeBSD, NetBSD, Solaris, Mac OS X and
Windows NT/2000/XP).
+%package doc
+Summary: Documentation for ejabberd
+Group: Documentation
+
+%description doc
+Documentation for ejabberd.
+
%pre
/usr/sbin/fedora-groupadd 27 -r ejabberd &>/dev/null || :
/usr/sbin/fedora-useradd 27 -r -s /sbin/nologin -d /var/lib/ejabberd -M \
%pre
/usr/sbin/fedora-groupadd 27 -r ejabberd &>/dev/null || :
/usr/sbin/fedora-useradd 27 -r -s /sbin/nologin -d /var/lib/ejabberd -M \
@@
-96,12
+102,6
@@
pushd src
make
popd
make
popd
-# compile w/o docs
-pushd doc
-# remove pre-built docs
-rm -f dev.html features.html features.pdf guide.html guide.pdf
-popd
-
%install
rm -rf %{buildroot}
%install
rm -rf %{buildroot}
@@
-179,6
+179,10
@@
rm -rf %{buildroot}
%attr(750,ejabberd,ejabberd) %dir /var/lock/ejabberdctl
%attr(750,ejabberd,ejabberd) %dir /var/log/ejabberd
%attr(750,ejabberd,ejabberd) %dir /var/lock/ejabberdctl
%attr(750,ejabberd,ejabberd) %dir /var/log/ejabberd
+%files doc
+%defattr(-,root,root,-)
+/usr/share/doc
+
%changelog
* Mon Mar 16 2010 Baris Metin <tmetin@sophia.inria.fr>
- first package from Fedora SRPM, for planetlab
%changelog
* Mon Mar 16 2010 Baris Metin <tmetin@sophia.inria.fr>
- first package from Fedora SRPM, for planetlab