%define debug_package %{nil} Name: bacula-docs Version: 5.2.10 Release: 1%{?dist} Summary: Bacula documentation Group: Documentation License: GPLv2 with exceptions URL: http://www.bacula.org Source0: http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: tetex-latex, tetex, ghostscript, latex2html BuildRequires: bacula-devel = %{version} %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6 BuildRequires: dvipdfm %endif Provides: bacula-docs = %{version}-%{release} Obsoletes: bacula-docs < 5.2.2-4 %description 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. %prep %setup -q %build %configure --with-bacula=%{_includedir}/bacula make 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 . done %install %files %defattr(-,root,root,-) %doc problems.pdf problems console.pdf console %doc utility.pdf utility developers.pdf developers %doc main.pdf main misc.pdf misc %changelog * Mon Jul 02 2012 Simone Caronni - 5.2.10-1 - Updated to 5.2.10. * Mon Jun 12 2012 Simone Caronni - 5.2.9-1 - Updated to 5.2.9. * Mon Jun 11 2012 Simone Caronni - 5.2.8-1 - Updated to 5.2.8. * Mon Jun 04 2012 Simone Caronni - 5.2.7-1 - Updated to 5.2.7. - Replaced tabs with blanks in spec file (rpmlint). * Mon May 21 2012 Simone Caronni - 5.2.6-3 - Removed __make macro. * Mon May 21 2012 Simone Caronni - 5.2.6-2 - Removed latex2html conditional for RHEL 4 (EOL). * Wed Feb 22 2012 Simone Caronni - 5.2.6-1 - Update to 5.2.6. * Thu Jan 26 2012 Simone Caronni - 5.2.5-1 - Update. * Wed Jan 18 2012 Simone Caronni - 5.2.4-1 - Update and require bacula-devel correct version. * Sun Jan 15 2012 Simone Caronni - 5.2.3-8 - Make the noarch package update the architecture specific one. * Thu Jan 05 2012 Simone Caronni - 5.2.3-7 - First build.