From: Barış Metin Date: Mon, 22 Mar 2010 09:00:34 +0000 (+0000) Subject: on a second thought, just use the pre-built docs and remove the dependency to hevea. X-Git-Tag: ejabberd-2.1.3-1~1 X-Git-Url: http://git.onelab.eu/?p=ejabberd.git;a=commitdiff_plain;h=73f60b0f0b460a6a4e3bf4c3053ad985a795c172 on a second thought, just use the pre-built docs and remove the dependency to hevea. --- diff --git a/ejabberd.spec b/ejabberd.spec index fa85f95..7f43eef 100644 --- a/ejabberd.spec +++ b/ejabberd.spec @@ -27,7 +27,6 @@ BuildRequires: expat-devel BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: erlang -#docs disabled #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). +%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 \ @@ -96,12 +102,6 @@ pushd src 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} @@ -179,6 +179,10 @@ rm -rf %{buildroot} %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 - first package from Fedora SRPM, for planetlab