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