]>
Commit | Line | Data |
---|---|---|
8a8273c2 JR |
1 | # TODO: |
2 | # | |
3 | # CLIENT warning: Installed (but unpackaged) file(s) found: | |
4 | # /etc/amanda/amanda-security.conf | |
5 | # /etc/amanda/amanda.conf | |
6 | # /etc/cron.d/amanda-srv | |
7 | # /etc/sysconfig/rc-inetd/amandaidx | |
8 | # /etc/sysconfig/rc-inetd/amidxtape | |
9 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Amservice.pm | |
10 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Extract.pm | |
11 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump.pm | |
12 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump/Application.pm | |
13 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump/ClientApplication.pm | |
14 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump/Local.pm | |
15 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Message.pm | |
16 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Recovery/Clerk.pm | |
17 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Recovery/Planner.pm | |
18 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Recovery/Scan.pm | |
19 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Restore.pm | |
20 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Service.pm | |
21 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Service/Restore.pm | |
22 | # /usr/libexec/amanda/ambind | |
23 | # /usr/libexec/amanda/amcat.awk | |
24 | # /usr/libexec/amanda/amplot.awk | |
25 | # /usr/libexec/amanda/amplot.g | |
26 | # /usr/libexec/amanda/amplot.gp | |
27 | # /usr/libexec/amanda/application/amrandom | |
28 | # /usr/libexec/amanda/application/script-fail | |
29 | # /usr/libexec/amanda/restore | |
30 | # /usr/libexec/amanda/senddiscover | |
31 | # /usr/sbin/amaespipe | |
32 | # /usr/sbin/ambackup | |
33 | # /usr/sbin/amconvert-zd-mtx-to-robot.sh | |
34 | # /usr/sbin/amplot | |
35 | # /usr/sbin/amservice | |
36 | # /usr/sbin/amssl | |
37 | # /usr/share/man/man5/amanda-security.conf.5.gz | |
38 | # /usr/share/man/man5/amanda.conf.5.gz | |
39 | # /usr/share/man/man7/amanda-auth-ssl.7.gz | |
40 | # /usr/share/man/man8/ambackup.8.gz | |
41 | # /usr/share/man/man8/amplot.8.gz | |
42 | # /usr/share/man/man8/amservice.8.gz | |
43 | # /usr/share/man/man8/amssl.8.gz | |
44 | # | |
45 | # SERVER warning: Installed (but unpackaged) file(s) found: | |
46 | # /etc/amanda/amanda-client.conf | |
47 | # /etc/amanda/amanda-security.conf | |
48 | # /etc/sysconfig/rc-inetd/amanda | |
49 | # /etc/sysconfig/rc-inetd/k5amanda | |
50 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Amdump.pm | |
51 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Amflush.pm | |
52 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Amservice.pm | |
53 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/CheckDump.pm | |
54 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Chunker/Controller.pm | |
55 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Chunker/Protocol.pm | |
56 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Chunker/Scribe.pm | |
57 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Cleanup.pm | |
58 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Cmdfile.pm | |
59 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/DB.pm | |
60 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump.pm | |
61 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump/Application.pm | |
62 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump/ClientApplication.pm | |
63 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/FetchDump/Local.pm | |
64 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Index.pm | |
65 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Label.pm | |
66 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Message.pm | |
67 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Policy.pm | |
68 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Recovery.pm | |
69 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Amcheck.pm | |
70 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Configs.pm | |
71 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Dles.pm | |
72 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Dumps.pm | |
73 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Labels.pm | |
74 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Report.pm | |
75 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Runs.pm | |
76 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Services.pm | |
77 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Status.pm | |
78 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Storages.pm | |
79 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Storages/Labels.pm | |
80 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Rest/Version.pm | |
81 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Restore.pm | |
82 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Service.pm | |
83 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Service/Amidxtaped.pm | |
84 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Status.pm | |
85 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Storage.pm | |
86 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/Amanda/Vault.pm | |
87 | # /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-pld-linux-thread-multi/auto/Amanda/Cmdfile/libCmdfile.so | |
88 | # /usr/libexec/amanda/amadmin_perl | |
89 | # /usr/libexec/amanda/amandad | |
90 | # /usr/libexec/amanda/ambackupd | |
91 | # /usr/libexec/amanda/ambind | |
92 | # /usr/libexec/amanda/rest-server/bin/app-dancer2.pl | |
93 | # /usr/libexec/amanda/rest-server/bin/app.pl | |
94 | # /usr/libexec/amanda/rest-server/config-dancer/config.yml | |
95 | # /usr/libexec/amanda/rest-server/config.yml | |
96 | # /usr/libexec/amanda/rest-server/environments/development.yml | |
97 | # /usr/libexec/amanda/rest-server/environments/production.yml | |
98 | # /usr/libexec/amanda/rest-server/lib/Amanda/Rest.pm | |
99 | # /usr/libexec/amanda/rest-server/public/404.html | |
100 | # /usr/libexec/amanda/rest-server/public/500.html | |
101 | # /usr/libexec/amanda/rest-server/public/css/error.css | |
102 | # /usr/libexec/amanda/rest-server/public/css/style.css | |
103 | # /usr/libexec/amanda/rest-server/public/dispatch.cgi | |
104 | # /usr/libexec/amanda/rest-server/public/dispatch.fcgi | |
105 | # /usr/libexec/amanda/rest-server/public/favicon.ico | |
106 | # /usr/libexec/amanda/rest-server/public/images/perldancer-bg.jpg | |
107 | # /usr/libexec/amanda/rest-server/public/images/perldancer.jpg | |
108 | # /usr/libexec/amanda/rest-server/public/javascripts/jquery.js | |
109 | # /usr/libexec/amanda/rest-server/views/index.tt | |
110 | # /usr/libexec/amanda/rest-server/views/layout/main.tt | |
111 | # /usr/sbin/amanda-rest-server | |
112 | # /usr/sbin/amreindex | |
113 | # /usr/sbin/amssl | |
114 | # /usr/share/man/man5/amanda-client.conf.5.gz | |
115 | # /usr/share/man/man5/amanda-command-file.5.gz | |
116 | # /usr/share/man/man5/amanda-security.conf.5.gz | |
117 | # /usr/share/man/man7/amanda-auth-ssl.7.gz | |
118 | # /usr/share/man/man8/amanda-rest-server.8.gz | |
119 | # /usr/share/man/man8/amreindex.8.gz | |
120 | # /usr/share/man/man8/amssl.8.gz | |
277a8aa8 | 121 | # |
6f4fa4cc | 122 | # Conditional build: |
d9653125 | 123 | %bcond_without xfs # without (possible) support for xfsdump |
7ba1ec44 | 124 | %bcond_without samba # without smbclient support |
a9736a51 JR |
125 | %bcond_without client # without client package |
126 | %bcond_without server # without server package | |
31fd601a | 127 | |
c5b0ce89 | 128 | %include /usr/lib/rpm/macros.perl |
83e7acbd | 129 | Summary: A network-capable tape backup solution |
9720936a | 130 | Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych |
83e7acbd | 131 | Name: amanda |
e4018321 AM |
132 | Version: 3.5.1 |
133 | Release: 0.1 | |
8ae81366 | 134 | License: BSD |
241d28fd | 135 | Group: Networking/Utilities |
45255b39 | 136 | Source0: http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz |
e4018321 | 137 | # Source0-md5: f57307959f79e722b1dcb3f985ebb0d0 |
b95f206b | 138 | Source1: %{name}-srv.crontab |
139 | Source2: %{name}.inetd | |
140 | Source3: %{name}idx.inetd | |
b083e9f8 | 141 | Source4: amidxtape.inetd |
75783156 | 142 | Source5: k5%{name}.inet |
824da05b | 143 | # http://amanda.svn.sourceforge.net/viewvc/amanda/amanda/branches/3_2/contrib/convert-zd-mtx-to-robot.sh |
e4d1512f | 144 | Source6: convert-zd-mtx-to-robot.sh |
66f68fd8 | 145 | Source7: %{name}-ssh_config |
072637cc JR |
146 | # https://github.com/janekr/amlvm-snapshot |
147 | Source8: amlvm-snapshot.conf | |
148 | Source9: amlvm-snapshot.pl | |
149 | Source10: amlvm-snapshot.README | |
8ae81366 | 150 | Patch0: %{name}-no_libnsl.patch |
e4018321 | 151 | |
c8cba693 | 152 | Patch2: %{name}-tar.patch |
824da05b | 153 | Patch3: %{name}-common.patch |
05b023d3 | 154 | Patch4: %{name}-as_needed.patch |
d4c615c9 JR |
155 | Patch5: %{name}-tapetypes.patch |
156 | Patch6: %{name}-FHS.patch | |
7d023072 | 157 | Patch7: %{name}-no-buildtime-ipv6.patch |
e3dd0b48 | 158 | Patch8: %{name}-heimdal.patch |
824da05b | 159 | Patch9: %{name}-ac.patch |
e4018321 | 160 | |
25012ceb | 161 | Patch12: %{name}-krb5-auth.patch |
e4018321 | 162 | |
f5929ca0 | 163 | Patch14: swig.patch |
e2a11a76 | 164 | Patch15: krb5-ac.patch |
5dbc26fb | 165 | URL: http://www.amanda.org/ |
a278cf9e | 166 | %{?with_samba:BuildRequires: /usr/bin/smbclient} |
0f15b6ab | 167 | BuildRequires: autoconf >= 2.64 |
7bb8ef98 | 168 | BuildRequires: automake |
106e7764 | 169 | BuildRequires: curl-devel >= 7.10.0 |
b083e9f8 | 170 | BuildRequires: dump |
47d7a19a | 171 | BuildRequires: flex |
c8cba693 | 172 | BuildRequires: glib2-devel |
5c693887 | 173 | BuildRequires: gnuplot |
686209a5 | 174 | BuildRequires: heimdal-devel |
a278cf9e ER |
175 | BuildRequires: rpmbuild(macros) >= 1.654 |
176 | # curl is broken, see curl-config --libs (c8cba693) | |
31fd601a | 177 | BuildRequires: keyutils-devel |
47d7a19a | 178 | BuildRequires: libtool |
c8cba693 JR |
179 | BuildRequires: libxslt-progs |
180 | BuildRequires: ncurses-devel | |
181 | BuildRequires: openssh-clients | |
182 | BuildRequires: openssl-devel | |
106e7764 | 183 | BuildRequires: perl-devel >= 5.6.0 |
4b36a6fa | 184 | BuildRequires: pkgconfig |
e271841a | 185 | BuildRequires: readline-devel >= 4.2 |
5c693887 | 186 | BuildRequires: rpm-perlprov |
31fd601a | 187 | BuildRequires: rpmbuild(macros) >= 1.654 |
c8cba693 | 188 | BuildRequires: swig |
856a76de | 189 | %{?with_xfs:BuildRequires: xfsdump} |
c9fdcd61 | 190 | Conflicts: pwdutils < 3.1.2-2 |
31fd601a | 191 | Conflicts: shadow < 1:4.0.4.1-4 |
316f81cd | 192 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64e6fb7c | 193 | |
db958f9a | 194 | # for some unknown reason those get detected in R but not in P (Tie::StdHash comes from perl) |
31fd601a | 195 | %define _noautoreq_perl Tie::StdHash Amanda::Recovery::Clerk::Feedback Amanda::Taper::Scribe::Feedback |
db958f9a | 196 | |
aa667a14 JR |
197 | %define _ulibdir %{_prefix}/lib |
198 | ||
864ae446 | 199 | %description |
a895e21d | 200 | AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a |
201 | backup system that allows the administrator of a LAN to set up a | |
202 | single master backup server to back up multiple hosts to a single | |
203 | large capacity tape drive. AMANDA uses native dump and/or GNU tar | |
204 | facilities and can back up a large number of workstations running | |
205 | multiple versions of Unix. Newer versions of AMANDA (including this | |
206 | version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts. | |
207 | The amanda package contains the core AMANDA programs and will need to | |
208 | be installed on both AMANDA clients and AMANDA servers. Note that you | |
209 | will have to install the amanda-client and amanda-server packages as | |
210 | well. | |
64e6fb7c | 211 | |
4b4f6542 | 212 | %description -l pl.UTF-8 |
9fa4a022 | 213 | AMANDA jest sieciowo zorientowanym systemem tworzenia kopii |
4b4f6542 JR |
214 | zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku |
215 | hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer. | |
216 | Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft | |
217 | Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera | |
218 | podstawowe pliki programu i powinien być zainstalowany zarówno na | |
219 | serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów | |
a895e21d | 220 | amanda-client i amanda-server! |
32595315 | 221 | |
5c693887 JR |
222 | %package common |
223 | Summary: Amanda common files | |
224 | Summary(pl.UTF-8): Wspólne pliki pakietu amanda | |
e48f92a2 | 225 | Group: Networking/Utilities |
0e3510b6 ER |
226 | Requires(postun): /usr/sbin/groupdel |
227 | Requires(postun): /usr/sbin/userdel | |
0da854c3 | 228 | Requires(pre): /bin/id |
e0651f2a | 229 | Requires(pre): /usr/bin/chsh |
934dc2b1 | 230 | Requires(pre): /usr/bin/getgid |
0da854c3 | 231 | Requires(pre): /usr/sbin/groupadd |
232 | Requires(pre): /usr/sbin/useradd | |
a278cf9e | 233 | %requires_ge glib2 |
5f9ce2ec | 234 | Requires: setup >= 2.6.1-1 |
934dc2b1 | 235 | Provides: group(amanda) |
236 | Provides: user(amanda) | |
5c693887 JR |
237 | Obsoletes: amanda-libs |
238 | Obsoletes: amanda-perl | |
e48f92a2 | 239 | |
5c693887 JR |
240 | %description common |
241 | AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a | |
242 | backup system that allows the administrator of a LAN to set up a | |
243 | single master backup server to back up multiple hosts to a single | |
244 | large capacity tape drive. AMANDA uses native dump and/or GNU tar | |
245 | facilities and can back up a large number of workstations running | |
246 | multiple versions of Unix. Newer versions of AMANDA (including this | |
247 | version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts. | |
248 | The amanda package contains the core AMANDA programs and will need to | |
249 | be installed on both AMANDA clients and AMANDA servers. Note that you | |
250 | will have to install the amanda-client and amanda-server packages as | |
251 | well. | |
e48f92a2 | 252 | |
5c693887 JR |
253 | Amanda common files. |
254 | ||
255 | %description common -l pl.UTF-8 | |
256 | AMANDA jest sieciowo zorientowanym systemem tworzenia kopii | |
257 | zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku | |
258 | hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer. | |
259 | Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft | |
260 | Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera | |
261 | podstawowe pliki programu i powinien być zainstalowany zarówno na | |
262 | serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów | |
263 | amanda-client i amanda-server! | |
264 | ||
265 | Wspólne pliki pakietu amanda. | |
e48f92a2 | 266 | |
64e6fb7c | 267 | %package client |
83e7acbd | 268 | Summary: The client side of Amanda |
9720936a | 269 | Summary(pl.UTF-8): Klient Amandy |
83e7acbd | 270 | Group: Networking/Utilities |
aa667a14 JR |
271 | Requires(post): /bin/hostname |
272 | Requires(post): /usr/bin/ssh-keygen | |
5c693887 | 273 | Requires: %{name}-common = %{version}-%{release} |
0e3510b6 | 274 | Requires: rc-inetd |
31fd601a | 275 | Suggests: gzip |
106e7764 JR |
276 | Suggests: openssh-clients |
277 | Suggests: openssh-server | |
106e7764 | 278 | Suggests: star |
31fd601a | 279 | Suggests: tar |
106e7764 | 280 | Conflicts: tar < 1.15 |
64e6fb7c | 281 | |
282 | %description client | |
a895e21d | 283 | The Amanda-client package should be installed on any machine that will |
284 | be backed up by AMANDA (including the server if it also needs to be | |
285 | backed up). You will also need to install the amanda package to each | |
ff131879 | 286 | AMANDA client. It requires at least one of dump and GNU tar installed. |
64e6fb7c | 287 | |
4b4f6542 JR |
288 | %description client -l pl.UTF-8 |
289 | Ten pakiet powinien być zainstalowany ma maszynach, z których | |
290 | zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co | |
291 | najmniej jednego z pakietów dump i GNU tar. | |
32595315 | 292 | |
64e6fb7c | 293 | %package server |
83e7acbd | 294 | Summary: The server side of Amanda |
9720936a | 295 | Summary(pl.UTF-8): Serwer Amandy |
83e7acbd | 296 | Group: Networking/Utilities |
aa667a14 JR |
297 | Requires(post): /bin/hostname |
298 | Requires(post): /usr/bin/ssh-keygen | |
5c693887 | 299 | Requires: %{name}-common = %{version}-%{release} |
b083e9f8 | 300 | Requires: /etc/cron.d |
0e3510b6 ER |
301 | Requires: crondaemon |
302 | Requires: gnuplot | |
4af804ab JR |
303 | Requires: mt-st |
304 | Requires: mtx | |
0e3510b6 | 305 | Requires: rc-inetd |
106e7764 JR |
306 | Suggests: openssh-clients |
307 | Suggests: openssh-server | |
caae9f77 | 308 | Obsoletes: amanda |
bc488149 | 309 | Obsoletes: amanda-perl-server |
64e6fb7c | 310 | |
311 | %description server | |
a895e21d | 312 | The amanda-server package should be installed on the AMANDA server, |
313 | the machine attached to the device (such as a tape drive) where | |
314 | backups will be written. You will also need to install the amanda | |
315 | package to the AMANDA server. And, if the server is also to be backed | |
316 | up, the server also needs to have the amanda-client package installed. | |
64e6fb7c | 317 | |
4b4f6542 JR |
318 | %description server -l pl.UTF-8 |
319 | Ten pakiet powinien być zainstalowany na maszynach, na których będą | |
320 | magazynowane kopie zapasowe (lub do których podpięte są urządzenia | |
a895e21d | 321 | typu streamer). |
32595315 | 322 | |
64e6fb7c | 323 | %prep |
324 | %setup -q | |
7bb8ef98 | 325 | %patch0 -p1 |
e4018321 | 326 | |
c8cba693 | 327 | %patch2 -p1 |
47d7a19a | 328 | %patch3 -p1 |
05b023d3 | 329 | %patch4 -p1 |
d4c615c9 JR |
330 | %patch5 -p1 |
331 | %patch6 -p1 | |
7d023072 | 332 | %patch7 -p1 |
e3dd0b48 | 333 | %patch8 -p1 |
824da05b | 334 | %patch9 -p1 |
e4018321 | 335 | |
25012ceb | 336 | %patch12 -p1 |
e4018321 | 337 | |
f5929ca0 | 338 | %patch14 -p1 |
e2a11a76 | 339 | %patch15 -p1 |
072637cc | 340 | cp -a %{SOURCE10} . |
64e6fb7c | 341 | |
253b3911 JR |
342 | find perl/ -name '*.swg' -print0 | xargs -0 touch |
343 | ||
64e6fb7c | 344 | %build |
0f15b6ab | 345 | %{__libtoolize} |
c8cba693 | 346 | %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive |
5154d365 | 347 | %{__autoconf} |
5154d365 | 348 | %{__automake} |
b083e9f8 | 349 | %configure \ |
5c0ffaf3 | 350 | DUMP=/sbin/dump \ |
5c0ffaf3 | 351 | GZIP=/bin/gzip \ |
67f09374 | 352 | MAILER=/bin/mail \ |
5c0ffaf3 JR |
353 | MT=/bin/mt \ |
354 | MTX=/usr/sbin/mtx \ | |
67f09374 | 355 | PRINT=/usr/bin/lpr \ |
67f09374 | 356 | RESTORE=/sbin/restore \ |
a9736a51 JR |
357 | %{?with_xfs:XFSDUMP=/sbin/xfsdump} \ |
358 | %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \ | |
fa26b3d0 | 359 | --disable-static \ |
8ae81366 | 360 | --enable-shared \ |
a9736a51 JR |
361 | %{!?with_server:--without-server} \ |
362 | %{!?with_client:--without-client} \ | |
64e6fb7c | 363 | --with-index-server=localhost \ |
fa26b3d0 | 364 | --with-user=amanda \ |
365 | --with-group=amanda \ | |
fa26b3d0 | 366 | --with-tape-device=/dev/null \ |
fa26b3d0 | 367 | --with-fqdn \ |
7ba1ec44 | 368 | %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \ |
824da05b JR |
369 | --with-star=%{_bindir}/star \ |
370 | --with-gnuplot=%{_bindir}/gnuplot \ | |
fa26b3d0 | 371 | --with-bsd-security \ |
a4070aee | 372 | --with-bsdtcp-security \ |
a9736a51 | 373 | --with-ssh-security \ |
b2b905b0 | 374 | --with-krb5-security \ |
fa26b3d0 | 375 | --with-buffered-dump \ |
83e7acbd | 376 | --with-amandahosts \ |
d4c615c9 | 377 | --with-configdir=%{_sysconfdir}/amanda \ |
c8f2ee48 | 378 | --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \ |
c8cba693 JR |
379 | --with-amandates=%{_sharedstatedir}/amanda/amandates \ |
380 | --with-debugging=%{_sharedstatedir}/amanda/debug \ | |
824da05b | 381 | --with-tmpdir=/var/tmp/amanda \ |
c8cba693 | 382 | --with-amperldir=%{perl_vendorarch} \ |
7d023072 | 383 | --with-ipv6 \ |
824da05b | 384 | --with-readline \ |
c8cba693 | 385 | --disable-installperms |
fa26b3d0 | 386 | |
f8165eb1 | 387 | %{__make} |
64e6fb7c | 388 | |
389 | %install | |
390 | rm -rf $RPM_BUILD_ROOT | |
a895e21d | 391 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \ |
106e7764 | 392 | $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \ |
5c0ffaf3 | 393 | $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server} |
b083e9f8 | 394 | |
15ce42ff | 395 | %{__make} install \ |
c8cba693 | 396 | DESTDIR=$RPM_BUILD_ROOT |
fa26b3d0 | 397 | |
a278cf9e | 398 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv |
4b4b52b8 JR |
399 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda |
400 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx | |
401 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape | |
e4d1512f | 402 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE5} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/k5amanda |
b083e9f8 | 403 | |
a278cf9e ER |
404 | cp -p example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda |
405 | cp -p example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda | |
c8cba693 | 406 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts |
ff131879 | 407 | |
a278cf9e | 408 | install -p %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/amconvert-zd-mtx-to-robot.sh |
824da05b | 409 | |
a278cf9e | 410 | cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/config |
106e7764 JR |
411 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys |
412 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub} | |
413 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub} | |
414 | ||
c29a68ef | 415 | %if %{with server} |
a278cf9e | 416 | cp -p %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/amanda/lvm-snapshot.conf |
c29a68ef JR |
417 | %endif |
418 | ||
419 | %if %{with client} | |
1710bed5 | 420 | sed -e 's|@@PERL_VENDORARCH@@|%{perl_vendorarch}|' %{SOURCE9} >$RPM_BUILD_ROOT%{_libexecdir}/amanda/application/amlvm-snapshot |
c29a68ef | 421 | %endif |
072637cc | 422 | |
c8cba693 JR |
423 | > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates |
424 | ||
aa667a14 JR |
425 | # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib |
426 | # Tools can't be "fixed" because keys generated on server are to be used on client | |
427 | if [ "%{_lib}" != "lib" ] ; then | |
428 | install -d $RPM_BUILD_ROOT%{_ulibdir} | |
429 | ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda | |
430 | fi | |
431 | ||
c8cba693 | 432 | find $RPM_BUILD_ROOT -name \*.la | xargs rm -f |
b083e9f8 | 433 | |
824da05b JR |
434 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes} |
435 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/example/{chg-multi,chg-scsi}.conf | |
436 | ||
fa26b3d0 | 437 | %clean |
64e6fb7c | 438 | rm -rf $RPM_BUILD_ROOT |
439 | ||
5c693887 | 440 | %triggerpostun common -- amanda-libs < 2.6.0p2-3 |
5f9ce2ec JR |
441 | echo "Adding amanda to disk and tape groups" |
442 | /usr/sbin/usermod -G disk,tape amanda | |
e28e7d88 JR |
443 | echo "Setting amanda shell to /bin/sh" |
444 | /usr/bin/chsh -s /bin/sh amanda | |
c8cba693 JR |
445 | if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then |
446 | echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file" | |
447 | chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts | |
448 | chmod 600 %{_sharedstatedir}/amanda/.amandahosts | |
a148ef70 | 449 | fi |
611427b2 | 450 | |
c29a68ef JR |
451 | %triggerpostun common -- amanda-common < 3.3 |
452 | %banner %{name}-common -e << EOF | |
453 | In amanda 3.3 the default auth has changed to "bsdtcp", | |
454 | if you are using the default "bsd" then you must add it | |
455 | to your configuration: | |
456 | ||
457 | * in amanda.conf | |
458 | * in amanda-client.conf | |
459 | * in dumptype/disklist | |
460 | * in inetd (if no '-auth' argument to amandad) | |
461 | EOF | |
31fd601a | 462 | |
5c693887 JR |
463 | %pre common |
464 | %groupadd -P %{name}-common -g 80 amanda | |
465 | %useradd -P %{name}-common -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda | |
0da854c3 | 466 | |
5c693887 | 467 | %postun common |
0da854c3 | 468 | if [ "$1" = "0" ]; then |
934dc2b1 | 469 | %userremove amanda |
470 | %groupremove amanda | |
0da854c3 | 471 | fi |
472 | ||
b083e9f8 | 473 | %post client |
35efb826 | 474 | %service -q rc-inetd reload |
aa667a14 JR |
475 | if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then |
476 | HOST="`/bin/hostname`" | |
c3701baf | 477 | FQDNHOST="`/bin/hostname -f`" |
106e7764 JR |
478 | if [ -z "$HOST" ] ; then |
479 | COMMENT="root@client" | |
480 | else | |
481 | COMMENT="root@$HOST" | |
482 | fi | |
483 | /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || : | |
484 | chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || : | |
485 | chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || : | |
c3701baf JR |
486 | if [ -n "$FQDNHOST" ]; then |
487 | echo -n "from=\"$FQDNHOST\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command=\"%{_ulibdir}/amanda/amandad -auth=ssh amindexd amidxtaped\" " >/var/lib/amanda/.ssh/server_authorized_keys | |
488 | cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys | |
489 | ||
490 | echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to" | |
491 | echo "/var/lib/amanda/.ssh/authorized_keys on amanda server" | |
492 | fi | |
106e7764 | 493 | fi |
b083e9f8 | 494 | |
495 | %postun client | |
35efb826 ER |
496 | if [ "$1" = 0 ]; then |
497 | %service -q rc-inetd reload | |
47123b2c | 498 | fi |
b083e9f8 | 499 | |
500 | %post server | |
35efb826 | 501 | %service -q rc-inetd reload |
aa667a14 JR |
502 | if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then |
503 | HOST="`/bin/hostname`" | |
106e7764 JR |
504 | if [ -z "$HOST" ] ; then |
505 | COMMENT="amanda@server" | |
506 | else | |
507 | COMMENT="amanda@$HOST" | |
508 | fi | |
509 | /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || : | |
510 | chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || : | |
511 | chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || : | |
512 | fi | |
856a76de JB |
513 | if [ "$1" = "1" ]; then |
514 | echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2 | |
515 | fi | |
9a3836ba JR |
516 | |
517 | %postun server | |
518 | if [ "$1" = 0 ]; then | |
519 | %service -q rc-inetd reload | |
520 | fi | |
521 | ||
522 | %triggerpostun server -- amanda-server < 3.2.0 | |
e02d5d4c JR |
523 | %banner %{name} -e << EOF |
524 | Warning: Tape changer configuration has chaged, please read | |
525 | %{_docdir}/%{name}-server-%{version}/ReleaseNotes.gz | |
526 | and %{_docdir}/%{name}-server-%{version}/NEWS.gz for details. | |
527 | You can use %{_sbindir}/amconvert-zd-mtx-to-robot.sh script | |
528 | to upgrade to chg-robot. | |
529 | EOF | |
b083e9f8 | 530 | |
5c693887 | 531 | %files common |
83e7acbd | 532 | %defattr(644,root,root,755) |
072637cc | 533 | %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING amlvm-snapshot.README |
c8cba693 | 534 | %attr(755,root,root) %{_libdir}/amanda/libamanda*.so |
5c693887 | 535 | %attr(755,root,root) %{_libdir}/amanda/libamar*.so |
824da05b | 536 | %attr(755,root,root) %{_libdir}/amanda/libamxfer*.so |
5c693887 | 537 | %attr(755,root,root) %{_libdir}/amanda/libamglue*.so |
824da05b JR |
538 | %attr(755,root,root) %{_libdir}/amanda/libndmjob*.so |
539 | %attr(755,root,root) %{_libdir}/amanda/libndmlib*.so | |
f85baaef | 540 | %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda |
c8cba693 | 541 | %dir %{_libdir}/amanda |
aa667a14 JR |
542 | %if %{_lib} != "lib" |
543 | %{_ulibdir}/amanda | |
544 | %endif | |
1710bed5 JR |
545 | %dir %{_libexecdir}/amanda |
546 | %{_libexecdir}/amanda/amanda-sh-lib.sh | |
547 | %attr(755,root,root) %{_libexecdir}/amanda/amndmjob | |
548 | %attr(755,root,root) %{_libexecdir}/amanda/ndmjob | |
5c693887 | 549 | %attr(755,root,root) %{_sbindir}/amarchiver |
824da05b JR |
550 | %attr(755,root,root) %{_sbindir}/amcrypt* |
551 | %attr(755,root,root) %{_sbindir}/amgetconf | |
552 | %attr(755,root,root) %{_sbindir}/amgpgcrypt | |
5c693887 JR |
553 | %attr(750,amanda,amanda) %dir %{_datadir}/amanda |
554 | %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example | |
555 | %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example/label-templates | |
556 | %attr(640,amanda,amanda) %{_datadir}/amanda/example/*amanda* | |
824da05b | 557 | %attr(640,amanda,amanda) %{_datadir}/amanda/example/disklist |
5c693887 JR |
558 | %attr(640,amanda,amanda) %{_datadir}/amanda/example/label-templates/*.ps |
559 | %attr(750,amanda,amanda) %dir %{_datadir}/amanda/template.d | |
560 | %attr(640,amanda,amanda) %{_datadir}/amanda/template.d/* | |
d4c615c9 | 561 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda |
106e7764 JR |
562 | %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh |
563 | %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg | |
d4c615c9 JR |
564 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug |
565 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad | |
c8cba693 | 566 | %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts |
66f68fd8 | 567 | %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.ssh/config |
411e3665 JR |
568 | # Commented out so it won't get removed on uninstall |
569 | #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys | |
5c693887 JR |
570 | %{_mandir}/man5/amanda-archive-format.5* |
571 | %{_mandir}/man7/amanda-auth.7* | |
824da05b | 572 | %{_mandir}/man7/amanda-match.7* |
5c693887 | 573 | %{_mandir}/man7/amanda-scripts.7* |
824da05b | 574 | %{_mandir}/man8/amanda.8* |
5c693887 | 575 | %{_mandir}/man8/amarchiver.8* |
824da05b JR |
576 | %{_mandir}/man8/amcrypt*.8* |
577 | %{_mandir}/man8/amgetconf.8* | |
578 | %{_mandir}/man8/amgpgcrypt.8* | |
579 | %{_mandir}/man8/script-email.8* | |
5c693887 JR |
580 | |
581 | %dir %{perl_vendorarch}/Amanda | |
824da05b JR |
582 | %dir %{perl_vendorarch}/Amanda/Config |
583 | %dir %{perl_vendorarch}/Amanda/IPC | |
5c693887 JR |
584 | %{perl_vendorarch}/Amanda/Archive.pm |
585 | %{perl_vendorarch}/Amanda/BigIntCompat.pm | |
824da05b | 586 | %{perl_vendorarch}/Amanda/ClientService.pm |
5c693887 | 587 | %{perl_vendorarch}/Amanda/Config.pm |
824da05b | 588 | %{perl_vendorarch}/Amanda/Config/FoldingHash.pm |
5c693887 JR |
589 | %{perl_vendorarch}/Amanda/Constants.pm |
590 | %{perl_vendorarch}/Amanda/Debug.pm | |
824da05b JR |
591 | %{perl_vendorarch}/Amanda/Feature.pm |
592 | %{perl_vendorarch}/Amanda/Header.pm | |
593 | %{perl_vendorarch}/Amanda/IPC/Binary.pm | |
594 | %{perl_vendorarch}/Amanda/IPC/LineProtocol.pm | |
5c693887 | 595 | %{perl_vendorarch}/Amanda/MainLoop.pm |
824da05b | 596 | %{perl_vendorarch}/Amanda/NDMP.pm |
5c693887 | 597 | %{perl_vendorarch}/Amanda/Paths.pm |
824da05b | 598 | %{perl_vendorarch}/Amanda/Process.pm |
5c693887 JR |
599 | %{perl_vendorarch}/Amanda/Script.pm |
600 | %{perl_vendorarch}/Amanda/Script_App.pm | |
601 | %{perl_vendorarch}/Amanda/Tests.pm | |
5c693887 | 602 | %{perl_vendorarch}/Amanda/Util.pm |
824da05b | 603 | %{perl_vendorarch}/Amanda/Xfer.pm |
5c693887 JR |
604 | %dir %{perl_vendorarch}/auto/Amanda |
605 | %dir %{perl_vendorarch}/auto/Amanda/Archive | |
606 | %dir %{perl_vendorarch}/auto/Amanda/Config | |
607 | %dir %{perl_vendorarch}/auto/Amanda/Debug | |
824da05b JR |
608 | %dir %{perl_vendorarch}/auto/Amanda/Feature |
609 | %dir %{perl_vendorarch}/auto/Amanda/Header | |
610 | %dir %{perl_vendorarch}/auto/Amanda/IPC | |
611 | %dir %{perl_vendorarch}/auto/Amanda/IPC/Binary | |
5c693887 | 612 | %dir %{perl_vendorarch}/auto/Amanda/MainLoop |
824da05b | 613 | %dir %{perl_vendorarch}/auto/Amanda/NDMP |
5c693887 | 614 | %dir %{perl_vendorarch}/auto/Amanda/Tests |
5c693887 | 615 | %dir %{perl_vendorarch}/auto/Amanda/Util |
824da05b | 616 | %dir %{perl_vendorarch}/auto/Amanda/Xfer |
5c693887 JR |
617 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Archive/*.so |
618 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so | |
824da05b JR |
619 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Feature/*.so |
620 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Header/*.so | |
621 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/IPC/Binary/*.so | |
5c693887 JR |
622 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so |
623 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/MainLoop/*.so | |
824da05b | 624 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/NDMP/*.so |
5c693887 | 625 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tests/*.so |
5c693887 | 626 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so |
824da05b | 627 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Xfer/*.so |
370a4eb3 | 628 | |
a9736a51 | 629 | %if %{with server} |
64e6fb7c | 630 | %files server |
b083e9f8 | 631 | %defattr(644,root,root,755) |
a7b1b223 | 632 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape |
633 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx | |
b083e9f8 | 634 | |
d4c615c9 | 635 | %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf |
072637cc | 636 | %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/lvm-snapshot.conf |
b083e9f8 | 637 | |
411e3665 JR |
638 | # Commented out so it won't get removed on uninstall |
639 | #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys | |
640 | #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump* | |
106e7764 | 641 | |
d4c615c9 | 642 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server |
b083e9f8 | 643 | |
a04af4fe | 644 | %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv |
b083e9f8 | 645 | |
c8cba693 JR |
646 | %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so |
647 | %attr(755,root,root) %{_libdir}/amanda/libamserver*.so | |
c8cba693 | 648 | |
1710bed5 JR |
649 | %attr(755,root,root) %{_libexecdir}/amanda/amcat.awk |
650 | %attr(755,root,root) %{_libexecdir}/amanda/amcheck-device | |
651 | %attr(755,root,root) %{_libexecdir}/amanda/amdumpd | |
652 | %attr(755,root,root) %{_libexecdir}/amanda/amidxtaped | |
653 | %attr(755,root,root) %{_libexecdir}/amanda/amindexd | |
654 | %attr(755,root,root) %{_libexecdir}/amanda/amlogroll | |
655 | %attr(755,root,root) %{_libexecdir}/amanda/amplot.awk | |
656 | %attr(755,root,root) %{_libexecdir}/amanda/amplot.g | |
657 | %attr(755,root,root) %{_libexecdir}/amanda/amplot.gp | |
658 | %attr(755,root,root) %{_libexecdir}/amanda/amtrmidx | |
659 | %attr(755,root,root) %{_libexecdir}/amanda/amtrmlog | |
1710bed5 JR |
660 | %attr(755,root,root) %{_libexecdir}/amanda/chunker |
661 | %attr(755,root,root) %{_libexecdir}/amanda/driver | |
662 | %attr(4750,root,amanda) %{_libexecdir}/amanda/dumper | |
663 | %attr(4750,root,amanda) %{_libexecdir}/amanda/planner | |
664 | %attr(755,root,root) %{_libexecdir}/amanda/taper | |
5e5c6257 | 665 | |
5c693887 | 666 | %attr(755,root,root) %{_sbindir}/activate-devpay |
5c0ffaf3 | 667 | %attr(755,root,root) %{_sbindir}/amaddclient |
8a8273c2 | 668 | %attr(755,root,root) %{_sbindir}/amaespipe |
b083e9f8 | 669 | %attr(755,root,root) %{_sbindir}/amadmin |
c8cba693 | 670 | %attr(4750,root,amanda) %{_sbindir}/amcheck |
b083e9f8 | 671 | %attr(755,root,root) %{_sbindir}/amcheckdb |
5c0ffaf3 | 672 | %attr(755,root,root) %{_sbindir}/amcheckdump |
b083e9f8 | 673 | %attr(755,root,root) %{_sbindir}/amcleanup |
c29a68ef | 674 | %attr(755,root,root) %{_sbindir}/amcleanupdisk |
824da05b | 675 | %attr(755,root,root) %{_sbindir}/amconvert-zd-mtx-to-robot.sh |
5c0ffaf3 | 676 | %attr(755,root,root) %{_sbindir}/amdevcheck |
b083e9f8 | 677 | %attr(755,root,root) %{_sbindir}/amdump |
5e5c6257 | 678 | %attr(755,root,root) %{_sbindir}/amfetchdump |
8ae81366 | 679 | %attr(755,root,root) %{_sbindir}/amflush |
8ae81366 | 680 | %attr(755,root,root) %{_sbindir}/amlabel |
b083e9f8 | 681 | %attr(755,root,root) %{_sbindir}/amoverview |
8ae81366 | 682 | %attr(755,root,root) %{_sbindir}/amplot |
b083e9f8 | 683 | %attr(755,root,root) %{_sbindir}/amreport |
5e5c6257 | 684 | %attr(755,root,root) %{_sbindir}/amrestore |
eb87556b | 685 | %attr(755,root,root) %{_sbindir}/amrmtape |
5c0ffaf3 | 686 | %attr(755,root,root) %{_sbindir}/amserverconfig |
5c693887 | 687 | %attr(755,root,root) %{_sbindir}/amservice |
b083e9f8 | 688 | %attr(755,root,root) %{_sbindir}/amstatus |
8ae81366 | 689 | %attr(755,root,root) %{_sbindir}/amtape |
eb87556b | 690 | %attr(755,root,root) %{_sbindir}/amtapetype |
8ae81366 | 691 | %attr(755,root,root) %{_sbindir}/amtoc |
5c693887 | 692 | %attr(755,root,root) %{_sbindir}/amvault |
5e5c6257 | 693 | %{_mandir}/man5/amanda.conf.5* |
5c693887 JR |
694 | %{_mandir}/man5/disklist.5* |
695 | %{_mandir}/man5/tapelist.5* | |
696 | %{_mandir}/man7/amanda-changers.7* | |
824da05b | 697 | %{_mandir}/man7/amanda-compatibility.7* |
5c693887 | 698 | %{_mandir}/man7/amanda-devices.7* |
c29a68ef | 699 | %{_mandir}/man7/amanda-interactivity.7* |
824da05b | 700 | %{_mandir}/man7/amanda-taperscan.7* |
5c0ffaf3 | 701 | %{_mandir}/man8/amaddclient.8* |
a72f9c08 | 702 | %{_mandir}/man8/amadmin.8* |
8a8273c2 | 703 | %{_mandir}/man8/amaespipe.8* |
a72f9c08 | 704 | %{_mandir}/man8/amcheck.8* |
a188c172 | 705 | %{_mandir}/man8/amcheckdb.8* |
5c0ffaf3 | 706 | %{_mandir}/man8/amcheckdump.8* |
a72f9c08 | 707 | %{_mandir}/man8/amcleanup.8* |
c29a68ef | 708 | %{_mandir}/man8/amcleanupdisk.8* |
5c0ffaf3 | 709 | %{_mandir}/man8/amdevcheck.8* |
a72f9c08 | 710 | %{_mandir}/man8/amdump.8* |
5e5c6257 | 711 | %{_mandir}/man8/amfetchdump.8* |
a72f9c08 | 712 | %{_mandir}/man8/amflush.8* |
713 | %{_mandir}/man8/amlabel.8* | |
a188c172 | 714 | %{_mandir}/man8/amoverview.8* |
a72f9c08 | 715 | %{_mandir}/man8/amplot.8* |
716 | %{_mandir}/man8/amreport.8* | |
5e5c6257 | 717 | %{_mandir}/man8/amrestore.8* |
a188c172 | 718 | %{_mandir}/man8/amrmtape.8* |
5c0ffaf3 | 719 | %{_mandir}/man8/amserverconfig.8* |
5c693887 | 720 | %{_mandir}/man8/amservice.8* |
a72f9c08 | 721 | %{_mandir}/man8/amstatus.8* |
a188c172 | 722 | %{_mandir}/man8/amtape.8* |
eb87556b | 723 | %{_mandir}/man8/amtapetype.8* |
a188c172 | 724 | %{_mandir}/man8/amtoc.8* |
5c693887 | 725 | %{_mandir}/man8/amvault.8* |
86893c3a JR |
726 | |
727 | %{perl_vendorarch}/Amanda/Changer.pm | |
5c693887 JR |
728 | %dir %{perl_vendorarch}/Amanda/Changer |
729 | %{perl_vendorarch}/Amanda/Changer/*.pm | |
86893c3a | 730 | %{perl_vendorarch}/Amanda/Cmdline.pm |
824da05b JR |
731 | %{perl_vendorarch}/Amanda/Curinfo.pm |
732 | %dir %{perl_vendorarch}/Amanda/Curinfo | |
733 | %{perl_vendorarch}/Amanda/Curinfo/*.pm | |
5c693887 JR |
734 | %dir %{perl_vendorarch}/Amanda/DB |
735 | %{perl_vendorarch}/Amanda/DB/*.pm | |
86893c3a | 736 | %{perl_vendorarch}/Amanda/Device.pm |
67942b4c | 737 | %{perl_vendorarch}/Amanda/Extract.pm |
824da05b JR |
738 | %{perl_vendorarch}/Amanda/Disklist.pm |
739 | %{perl_vendorarch}/Amanda/Holding.pm | |
c29a68ef JR |
740 | %{perl_vendorarch}/Amanda/Interactivity.pm |
741 | %dir %{perl_vendorarch}/Amanda/Interactivity | |
742 | %{perl_vendorarch}/Amanda/Interactivity/*.pm | |
86893c3a | 743 | %{perl_vendorarch}/Amanda/Logfile.pm |
824da05b JR |
744 | %dir %{perl_vendorarch}/Amanda/Recovery |
745 | %{perl_vendorarch}/Amanda/Recovery/*.pm | |
746 | %{perl_vendorarch}/Amanda/Report.pm | |
747 | %dir %{perl_vendorarch}/Amanda/Report | |
748 | %{perl_vendorarch}/Amanda/Report/*.pm | |
c29a68ef | 749 | %{perl_vendorarch}/Amanda/ScanInventory.pm |
5c693887 | 750 | %{perl_vendorarch}/Amanda/Tapelist.pm |
824da05b JR |
751 | %dir %{perl_vendorarch}/Amanda/Taper |
752 | %{perl_vendorarch}/Amanda/Taper/*.pm | |
753 | %dir %{perl_vendorarch}/Amanda/Taper/Scan | |
754 | %{perl_vendorarch}/Amanda/Taper/Scan/*.pm | |
755 | %{perl_vendorarch}/Amanda/XferServer.pm | |
86893c3a JR |
756 | %dir %{perl_vendorarch}/auto/Amanda/Cmdline |
757 | %dir %{perl_vendorarch}/auto/Amanda/Device | |
824da05b | 758 | %dir %{perl_vendorarch}/auto/Amanda/Disklist |
86893c3a | 759 | %dir %{perl_vendorarch}/auto/Amanda/Logfile |
5c693887 | 760 | %dir %{perl_vendorarch}/auto/Amanda/Tapelist |
824da05b | 761 | %dir %{perl_vendorarch}/auto/Amanda/XferServer |
86893c3a JR |
762 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so |
763 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so | |
824da05b | 764 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Disklist/*.so |
86893c3a | 765 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so |
5c693887 | 766 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapelist/*.so |
824da05b | 767 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/XferServer/*.so |
a9736a51 | 768 | %endif |
64e6fb7c | 769 | |
a9736a51 | 770 | %if %{with client} |
64e6fb7c | 771 | %files client |
b083e9f8 | 772 | %defattr(644,root,root,755) |
a7b1b223 | 773 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda |
e4d1512f | 774 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/k5amanda |
5c0ffaf3 | 775 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf |
411e3665 JR |
776 | # Commented out so it won't get removed on uninstall |
777 | #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover* | |
d4c615c9 | 778 | %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates |
8e94b37c | 779 | |
1710bed5 JR |
780 | %dir %{_libexecdir}/amanda/application |
781 | %attr(4750,root,amanda) %{_libexecdir}/amanda/application/ambsdtar | |
782 | %attr(4750,root,amanda) %{_libexecdir}/amanda/application/amgtar | |
783 | %attr(755,root,root) %{_libexecdir}/amanda/application/amlog-script | |
784 | %attr(755,root,root) %{_libexecdir}/amanda/application/amlvm-snapshot | |
785 | %attr(755,root,root) %{_libexecdir}/amanda/application/ampgsql | |
786 | %attr(755,root,root) %{_libexecdir}/amanda/application/amraw | |
787 | %attr(755,root,root) %{_libexecdir}/amanda/application/amsamba | |
788 | %attr(4750,root,amanda) %{_libexecdir}/amanda/application/amstar | |
789 | %attr(755,root,root) %{_libexecdir}/amanda/application/amsuntar | |
790 | %attr(755,root,root) %{_libexecdir}/amanda/application/amzfs* | |
791 | %attr(755,root,root) %{_libexecdir}/amanda/application/script-email | |
8e94b37c | 792 | |
c8cba693 | 793 | %attr(755,root,root) %{_libdir}/amanda/libamclient*.so |
1710bed5 JR |
794 | %attr(755,root,root) %{_libexecdir}/amanda/amandad |
795 | %attr(755,root,root) %{_libexecdir}/amanda/noop | |
796 | %attr(755,root,root) %{_libexecdir}/amanda/patch-system | |
797 | %attr(755,root,root) %{_libexecdir}/amanda/sendbackup | |
798 | %attr(755,root,root) %{_libexecdir}/amanda/sendsize | |
799 | %attr(755,root,root) %{_libexecdir}/amanda/teecount | |
800 | %attr(4750,root,amanda) %{_libexecdir}/amanda/calcsize | |
801 | %attr(4750,root,amanda) %{_libexecdir}/amanda/killpgrp | |
802 | %attr(4750,root,amanda) %{_libexecdir}/amanda/rundump | |
803 | %attr(4750,root,amanda) %{_libexecdir}/amanda/runtar | |
804 | %attr(755,root,root) %{_libexecdir}/amanda/selfcheck | |
c29a68ef | 805 | %attr(755,root,root) %{_sbindir}/amdump_client |
5e5c6257 | 806 | %attr(755,root,root) %{_sbindir}/amoldrecover |
b083e9f8 | 807 | %attr(755,root,root) %{_sbindir}/amrecover |
d4c615c9 JR |
808 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists |
809 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client | |
5c693887 | 810 | %{_mandir}/man7/amanda-applications.7* |
5e5c6257 | 811 | %{_mandir}/man5/amanda-client.conf.5* |
c29a68ef | 812 | %{_mandir}/man8/amdump_client.8* |
b953d06c | 813 | %{_mandir}/man8/ambsdtar.8* |
5c693887 | 814 | %{_mandir}/man8/amgtar.8* |
824da05b JR |
815 | %{_mandir}/man8/ampgsql.8* |
816 | %{_mandir}/man8/amrecover.8* | |
817 | %{_mandir}/man8/amraw.8* | |
818 | %{_mandir}/man8/amsamba.8* | |
5c693887 | 819 | %{_mandir}/man8/amstar.8* |
824da05b | 820 | %{_mandir}/man8/amsuntar.8* |
5c693887 JR |
821 | %{_mandir}/man8/amzfs*.8* |
822 | ||
823 | %{perl_vendorarch}/Amanda/Application.pm | |
824 | %dir %{perl_vendorarch}/Amanda/Application | |
825 | %{perl_vendorarch}/Amanda/Application/Zfs.pm | |
826 | %dir %{perl_vendorarch}/auto/Amanda/Application | |
827 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Application/*.so | |
a9736a51 | 828 | %endif |