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