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