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