[bacula/f16] Add HTML docs

Simone Caronni slaanesh at fedoraproject.org
Fri Dec 23 09:49:24 UTC 2011


commit 9b4cddd02deff8f887719a183596ea54a5a6a5f5
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Fri Dec 23 10:49:13 2011 +0100

    Add HTML docs

 bacula.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index b6a4867..cc8f61c 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -556,6 +556,9 @@ chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
 
 # Remove extra docs
 rm -rf %{buildroot}%{_datadir}/doc/bacula/
+find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.idx" -exec rm -f {} \;
+find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.pl" -exec rm -f {} \;
+find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.tex" -exec rm -f {} \;
 
 %clean
 rm -rf %{buildroot}
@@ -924,12 +927,17 @@ fi
 %files docs
 %defattr(-,root,root,-)
 %doc bacula-docs-%{version}/manuals/en/problems/problems.pdf
+%doc bacula-docs-%{version}/manuals/en/problems/problems
 %doc bacula-docs-%{version}/manuals/en/console/console.pdf
+%doc bacula-docs-%{version}/manuals/en/console/console
 %doc bacula-docs-%{version}/manuals/en/utility/utility.pdf
+%doc bacula-docs-%{version}/manuals/en/utility/utility
 %doc bacula-docs-%{version}/manuals/en/developers/developers.pdf
+%doc bacula-docs-%{version}/manuals/en/developers/developers
 %doc bacula-docs-%{version}/manuals/en/main/main.pdf
+%doc bacula-docs-%{version}/manuals/en/main/main
 %doc bacula-docs-%{version}/manuals/en/misc/misc.pdf
-
+%doc bacula-docs-%{version}/manuals/en/misc/misc
 
 
 %changelog
@@ -940,6 +948,7 @@ fi
 - Enable LZO compression.
 - Enable readline support and tab completion in bconsole.
 - Remove SQLite 2 support for RHEL 4.
+- Add HTML docs.
 
 * Thu Dec 22 2011 Lukáš Nykrýn <lnykryn at redhat.com> - 5.0.3-14
 - removed duplicity from logrotate file (#755970)


More information about the scm-commits mailing list