]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/redhat/bacula-docs.spec
Split docs into bacula-docs.spec
[bacula/bacula] / bacula / platforms / redhat / bacula-docs.spec
1 # Bacula RPM spec file
2 #
3 # Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
4
5 # Basic defines for every build
6 %define _release           1
7 %define _version           3.0.2
8 %define _packager D. Scott Barninger <barninger@fairfieldcomputers.com>
9
10 %define _prefix        /usr
11 %define _sbindir       %_prefix/sbin
12 %define _mandir        %_prefix/share/man
13
14
15 #--------------------------------------------------------------------------
16 # it should not be necessary to change anything below here for a release
17 # except for patch macros in the setup section
18 #--------------------------------------------------------------------------
19
20 %{?contrib_packager:%define _packager %{contrib_packager}}
21
22 Summary: Bacula - The Network Backup Solution
23 Name: bacula-docs
24 Version: %{_version}
25 Release: %{_release}
26 Group: System Environment/Daemons
27 License: GPL v2
28 BuildRoot: %{_tmppath}/%{name}-root
29 URL: http://www.bacula.org/
30 Vendor: The Bacula Team
31 Packager: %{_packager}
32 Prefix: %{_prefix}
33 Distribution: Bacula Documentation
34
35 Source: %{name}-%{_version}.tar.gz
36
37 # Source directory locations
38 %define _docsrc .
39
40 # define the basic package description
41 %define blurb Bacula - It comes by night and sucks the vital essence from your computers.
42 %define blurb2 Bacula is a set of computer programs that permit you (or the system
43 %define blurb3 administrator) to manage backup, recovery, and verification of computer
44 %define blurb4 data across a network of computers of different kinds. In technical terms,
45 %define blurb5 it is a network client/server based backup program. Bacula is relatively
46 %define blurb6 easy to use and efficient, while offering many advanced storage management
47 %define blurb7 features that make it easy to find and recover lost or damaged files.
48 %define blurb8 Bacula source code has been released under the GPL version 2 license.
49
50 Summary: Bacula - The Network Backup Solution
51 Group: System Environment/Daemons
52
53 %description
54 %{blurb}
55
56 %{blurb2}
57 %{blurb3}
58 %{blurb4}
59 %{blurb5}
60 %{blurb6}
61 %{blurb7}
62 %{blurb8}
63
64 This package installs the Bacula pdf and html documentation.
65
66 %prep
67 %setup
68
69
70 %clean
71 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
72 rm -rf $RPM_BUILD_DIR/%{name}-%{_version}
73
74 %files
75 %doc %{_docsrc}/manuals/en/catalog/catalog %{_docsrc}/manuals/en/catalog/catalog.pdf
76 %doc %{_docsrc}/manuals/en/concepts/concepts %{_docsrc}/manuals/en/concepts/concepts.pdf
77 %doc %{_docsrc}/manuals/en/console/console %{_docsrc}/manuals/en/console/console.pdf
78 %doc %{_docsrc}/manuals/en/developers/developers %{_docsrc}/manuals/en/developers/developers.pdf
79 %doc %{_docsrc}/manuals/en/install/install %{_docsrc}/manuals/en/install/install.pdf
80 %doc %{_docsrc}/manuals/en/problems/problems %{_docsrc}/manuals/en/problems/problems.pdf
81 %doc %{_docsrc}/manuals/en/utility/utility %{_docsrc}/manuals/en/utility/utility.pdf
82
83 %changelog
84 * Sat Aug 1 2009 Kern Sibbald <kern@sibbald.com>
85 - Split docs into separate bacula-docs.spec