]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/rpms/suse/bacula-docs.spec.in
Backport from BEE
[bacula/bacula] / bacula / platforms / rpms / suse / bacula-docs.spec.in
1 #
2 # Bacula RPM spec file
3 #
4 # Copyright (C) 2000-2014 Bacula Systems SA
5
6 # Platform Build Configuration
7
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>
13
14 %define _prefix        /usr
15 %define _sbindir       %_prefix/sbin
16 %define _mandir        %_prefix/share/man
17
18
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 #--------------------------------------------------------------------------
23
24 %{?contrib_packager:%define _packager %{contrib_packager}}
25
26 Summary: Bacula - The Network Backup Solution
27 Name: %{product}-docs
28 Version: %{_version}
29 Release: %{_release}
30 Group: System Environment/Daemons
31 License: AGPLv3
32 BuildRoot: %{_tmppath}/%{name}-root
33 URL: http://www.bacula.org/
34 Vendor: The Bacula Team
35 Packager: %{_packager}
36 BuildArchitectures: noarch
37 Prefix: %{_prefix}
38 Distribution: Bacula Documentation
39
40 Source: %{name}-%{_version}.tar.bz2
41
42 # Source directory locations
43 %define _docsrc .
44
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.
54
55 Summary: Bacula - The Network Backup Solution
56 Group: System Environment/Daemons
57
58 %description
59 %{blurb}
60
61 %{blurb2}
62 %{blurb3}
63 %{blurb4}
64 %{blurb5}
65 %{blurb6}
66 %{blurb7}
67 %{blurb8}
68
69 This package installs the Bacula pdf and html documentation.
70
71 %prep
72 %setup
73
74
75 %clean
76 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
77 rm -rf $RPM_BUILD_DIR/%{name}-%{_version}
78
79 %files
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
86
87 %changelog
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