5 # Platform Build Configuration
7 # basic defines for every build
8 %define _release @RELEASE@
9 %define _version @VERSION@
10 %define product bacula
11 %define _packager Kern Sibbald <kern@sibbald.com>
14 %define _sbindir %_prefix/sbin
15 %define _mandir %_prefix/share/man
18 #--------------------------------------------------------------------------
19 # it should not be necessary to change anything below here for a release
20 # except for patch macros in the setup section
21 #--------------------------------------------------------------------------
23 %{?contrib_packager:%define _packager %{contrib_packager}}
25 Summary: Bacula - The Network Backup Solution
29 Group: System Environment/Daemons
31 BuildRoot: %{_tmppath}/%{name}-root
32 URL: http://www.bacula.org/
33 Vendor: The Bacula Team
34 Packager: %{_packager}
35 BuildArchitectures: noarch
37 Distribution: Bacula Documentation
39 Source: %{name}-%{_version}.tar.bz2
41 # Source directory locations
44 # define the basic package description
45 %define blurb Bacula - The Leading Open Source Backup Solution.
46 %define blurb2 Bacula is a set of computer programs that permit you (or the system
47 %define blurb3 administrator) to manage backup, recovery, and verification of computer
48 %define blurb4 data across a network of computers of different kinds. In technical terms,
49 %define blurb5 it is a network client/server based backup program. Bacula is relatively
50 %define blurb6 easy to use and efficient, while offering many advanced storage management
51 %define blurb7 features that make it easy to find and recover lost or damaged files.
52 %define blurb8 Bacula source code has been released under the AGPL version 3 license.
54 Summary: Bacula - The Network Backup Solution
55 Group: System Environment/Daemons
68 This package installs the Bacula pdf and html documentation.
75 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
76 rm -rf $RPM_BUILD_DIR/%{name}-%{_version}
79 %doc %{_docsrc}/manuals/en/console/console %{_docsrc}/manuals/en/console/console.pdf
80 %doc %{_docsrc}/manuals/en/developers/developers %{_docsrc}/manuals/en/developers/developers.pdf
81 %doc %{_docsrc}/manuals/en/main/main %{_docsrc}/manuals/en/main/main.pdf
82 %doc %{_docsrc}/manuals/en/misc/misc %{_docsrc}/manuals/en/misc/misc.pdf
83 %doc %{_docsrc}/manuals/en/problems/problems %{_docsrc}/manuals/en/problems/problems.pdf
84 %doc %{_docsrc}/manuals/en/utility/utility %{_docsrc}/manuals/en/utility/utility.pdf
87 * Sat Jan 30 2010 D. Scott Barninger <barninger@fairfieldcomputers.com>
88 - change source file to bz2, update for new doc structure
89 * Sat Aug 1 2009 Kern Sibbald <kern@sibbald.com>
90 - Split docs into separate bacula-docs.spec