]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/rpms/suse/bacula-docs.spec.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / bacula / platforms / rpms / suse / bacula-docs.spec.in
1 #
2 # Bacula RPM spec file
3 #
4 #
5 # Copyright (C) 2000-2015 Kern Sibbald
6 # License: BSD 2-Clause; see file LICENSE-FOSS
7 #
8
9 # Platform Build Configuration
10
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>
16
17 %define _prefix        /usr
18 %define _sbindir       %_prefix/sbin
19 %define _mandir        %_prefix/share/man
20
21
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 #--------------------------------------------------------------------------
26
27 %{?contrib_packager:%define _packager %{contrib_packager}}
28
29 Summary: Bacula - The Network Backup Solution
30 Name: %{product}-docs
31 Version: %{_version}
32 Release: %{_release}
33 Group: System Environment/Daemons
34 License: AGPLv3
35 BuildRoot: %{_tmppath}/%{name}-root
36 URL: http://www.bacula.org/
37 Vendor: The Bacula Team
38 Packager: %{_packager}
39 BuildArchitectures: noarch
40 Prefix: %{_prefix}
41 Distribution: Bacula Documentation
42
43 Source: %{name}-%{_version}.tar.bz2
44
45 # Source directory locations
46 %define _docsrc .
47
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.
57
58 Summary: Bacula - The Network Backup Solution
59 Group: System Environment/Daemons
60
61 %description
62 %{blurb}
63
64 %{blurb2}
65 %{blurb3}
66 %{blurb4}
67 %{blurb5}
68 %{blurb6}
69 %{blurb7}
70 %{blurb8}
71
72 This package installs the Bacula pdf and html documentation.
73
74 %prep
75 %setup
76
77
78 %clean
79 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
80 rm -rf $RPM_BUILD_DIR/%{name}-%{_version}
81
82 %files
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
89
90 %changelog
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