[bacula-docs] Update to 7.0.0

Simone Caronni slaanesh at fedoraproject.org
Sun Mar 30 12:53:09 UTC 2014


commit 87752a9cbc2581e51611386193ade1bcee5625c4
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Sun Mar 30 14:53:05 2014 +0200

    Update to 7.0.0

 .gitignore       |    1 +
 bacula-docs.spec |   41 ++++++++++++++++++++++-------------------
 sources          |    2 +-
 3 files changed, 24 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0aa3582..d9bfa01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /bacula-docs-5.2.11.tar.bz2
 /bacula-docs-5.2.12.tar.bz2
 /bacula-docs-5.2.13.tar.bz2
+/bacula-docs-7.0.0.tar.bz2
diff --git a/bacula-docs.spec b/bacula-docs.spec
index 793d443..199b3c0 100644
--- a/bacula-docs.spec
+++ b/bacula-docs.spec
@@ -1,21 +1,23 @@
 %define debug_package %{nil}
 
 Name:           bacula-docs
-Version:        5.2.13
-Release:        4%{?dist}
+Version:        7.0.0
+Release:        1%{?dist}
 Summary:        Bacula documentation
-Group:          Documentation
-
 License:        GPLv2 with exceptions
+Group:          Documentation
 URL:            http://www.bacula.org
-Source0:        http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.bz2
-Patch0:         %{name}-aarch64.patch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+
 BuildArch:      noarch
 
 BuildRequires:  bacula-devel = %{version}
 BuildRequires:  ghostscript
 BuildRequires:  latex2html
+BuildRequires:  perl(HTML::Parser)
+BuildRequires:  perl(HTML::TreeBuilder)
 BuildRequires:  tetex
 BuildRequires:  tetex-latex
 
@@ -31,34 +33,35 @@ Bacula is a set of programs that allow you to manage the backup, recovery, and
 verification of computer data across a network of different computers. It is
 based on a client/server architecture.
 
-This package contains the documentation for most of the bacula packages.
+This package contains the documentation for most of the Bacula packages.
 
 %prep
 %setup -q
-%patch0 -p1 -b .aarch64
 
 %build
-%configure --with-bacula=%{_includedir}/bacula
-make
+make clean
+make web
+#make pdftex
 
+mkdir result
 for manual in problems console utility developers main misc; do
-    mkdir $manual
-    cp -f manuals/en/$manual/$manual/*.{css,html,png} $manual
-    cp -f manuals/en/$manual/$manual.pdf .
+    mkdir result/$manual
+    cp -f manuals/en/pdf-and-html/$manual/*.html result/$manual
+    cp -f manuals/en/pdf-and-html/$manual/*.pdf result/.
 done
+cp -fra manuals/en/pdf-and-html/images result/.
 
 %install
 
 %files
 %defattr(-,root,root,-)
-%doc problems.pdf problems
-%doc console.pdf console
-%doc utility.pdf utility
-%doc developers.pdf developers
-%doc main.pdf main
-%doc misc.pdf misc
+%doc result/*
 
 %changelog
+* Sun Mar 30 2014 Simone Caronni <negativo17 at gmail.com> - 7.0.0-1
+- Update to 7.0.0, rework spec file completely for new build system.
+- Momentarily disable pdf building for missing atxy.sty in Fedora.
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.2.13-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 121f06a..647b20f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0e7af41cc3b1c59662457679b02bf873  bacula-docs-5.2.13.tar.bz2
+80a669adb75be42fb9de117d329d3b4f  bacula-docs-7.0.0.tar.bz2


More information about the scm-commits mailing list