3 %bcond_without xfs # without (possible) support for xfsdump
4 %bcond_without samba # without smbclient support
5 %bcond_without client # without client package
6 %bcond_without server # without server package
8 %include /usr/lib/rpm/macros.perl
9 Summary: A network-capable tape backup solution
10 Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych
15 Group: Networking/Utilities
16 Source0: http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
17 # Source0-md5: df73a318af8f04e9ad2ecb4d59dc052c
18 Source1: %{name}-srv.crontab
19 Source2: %{name}.inetd
20 Source3: %{name}idx.inetd
21 Source4: amidxtape.inetd
22 # http://amanda.svn.sourceforge.net/viewvc/amanda/amanda/branches/3_2/contrib/convert-zd-mtx-to-robot.sh
23 Source5: convert-zd-mtx-to-robot.sh
24 Patch0: %{name}-no_libnsl.patch
25 Patch1: %{name}-chg-zd-mtx-sh.patch
26 Patch2: %{name}-tar.patch
27 Patch3: %{name}-common.patch
28 Patch4: %{name}-as_needed.patch
29 Patch5: %{name}-tapetypes.patch
30 Patch6: %{name}-FHS.patch
31 Patch7: %{name}-no-buildtime-ipv6.patch
32 Patch8: %{name}-heimdal.patch
33 Patch9: %{name}-ac.patch
34 URL: http://www.amanda.org/
35 BuildRequires: autoconf >= 2.53
36 BuildRequires: automake
37 BuildRequires: curl-devel >= 7.10.0
40 BuildRequires: glib2-devel
41 BuildRequires: gnuplot
42 # curl is broken, see curl-config --libs
43 BuildRequires: keyutils-devel
44 BuildRequires: heimdal-devel
45 BuildRequires: libtool
46 BuildRequires: libxslt-progs
47 BuildRequires: ncurses-devel
48 BuildRequires: openssh-clients
49 BuildRequires: openssl-devel
50 BuildRequires: perl-devel >= 5.6.0
51 BuildRequires: pkgconfig
52 BuildRequires: readline-devel >= 4.2
53 BuildRequires: rpmbuild(macros) >= 1.268
54 BuildRequires: rpm-perlprov
55 %{?with_samba:BuildRequires: samba-client}
57 %{?with_xfs:BuildRequires: xfsdump}
58 Conflicts: shadow < 1:4.0.4.1-4
59 Conflicts: pwdutils < 3.1.2-2
60 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 # for some unknown reason those get detected in R but not in P (Tie::StdHash comes from perl)
63 %define _noautoreq 'perl(Tie::StdHash)' 'perl(Amanda::Recovery::Clerk::Feedback)' 'perl(Amanda::Taper::Scribe::Feedback)'
65 %define _ulibdir %{_prefix}/lib
68 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
69 backup system that allows the administrator of a LAN to set up a
70 single master backup server to back up multiple hosts to a single
71 large capacity tape drive. AMANDA uses native dump and/or GNU tar
72 facilities and can back up a large number of workstations running
73 multiple versions of Unix. Newer versions of AMANDA (including this
74 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
75 The amanda package contains the core AMANDA programs and will need to
76 be installed on both AMANDA clients and AMANDA servers. Note that you
77 will have to install the amanda-client and amanda-server packages as
80 %description -l pl.UTF-8
81 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
82 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
83 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
84 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
85 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
86 podstawowe pliki programu i powinien być zainstalowany zarówno na
87 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
88 amanda-client i amanda-server!
91 Summary: Amanda common files
92 Summary(pl.UTF-8): Wspólne pliki pakietu amanda
93 Group: Networking/Utilities
94 Requires(postun): /usr/sbin/groupdel
95 Requires(postun): /usr/sbin/userdel
96 Requires(pre): /bin/id
97 Requires(pre): /usr/bin/chsh
98 Requires(pre): /usr/bin/getgid
99 Requires(pre): /usr/sbin/groupadd
100 Requires(pre): /usr/sbin/useradd
102 Requires: setup >= 2.6.1-1
103 Provides: group(amanda)
104 Provides: user(amanda)
105 Obsoletes: amanda-libs
106 Obsoletes: amanda-perl
109 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
110 backup system that allows the administrator of a LAN to set up a
111 single master backup server to back up multiple hosts to a single
112 large capacity tape drive. AMANDA uses native dump and/or GNU tar
113 facilities and can back up a large number of workstations running
114 multiple versions of Unix. Newer versions of AMANDA (including this
115 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
116 The amanda package contains the core AMANDA programs and will need to
117 be installed on both AMANDA clients and AMANDA servers. Note that you
118 will have to install the amanda-client and amanda-server packages as
123 %description common -l pl.UTF-8
124 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
125 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
126 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
127 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
128 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
129 podstawowe pliki programu i powinien być zainstalowany zarówno na
130 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
131 amanda-client i amanda-server!
133 Wspólne pliki pakietu amanda.
136 Summary: The client side of Amanda
137 Summary(pl.UTF-8): Klient Amandy
138 Group: Networking/Utilities
139 Requires(post): /bin/hostname
140 Requires(post): /usr/bin/ssh-keygen
141 Requires: %{name}-common = %{version}-%{release}
143 Suggests: openssh-clients
144 Suggests: openssh-server
148 Conflicts: tar < 1.15
151 The Amanda-client package should be installed on any machine that will
152 be backed up by AMANDA (including the server if it also needs to be
153 backed up). You will also need to install the amanda package to each
154 AMANDA client. It requires at least one of dump and GNU tar installed.
156 %description client -l pl.UTF-8
157 Ten pakiet powinien być zainstalowany ma maszynach, z których
158 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
159 najmniej jednego z pakietów dump i GNU tar.
162 Summary: The server side of Amanda
163 Summary(pl.UTF-8): Serwer Amandy
164 Group: Networking/Utilities
165 Requires(post): /bin/hostname
166 Requires(post): /usr/bin/ssh-keygen
167 Requires: %{name}-common = %{version}-%{release}
168 Requires: /etc/cron.d
174 Suggests: openssh-clients
175 Suggests: openssh-server
177 Obsoletes: amanda-perl-server
180 The amanda-server package should be installed on the AMANDA server,
181 the machine attached to the device (such as a tape drive) where
182 backups will be written. You will also need to install the amanda
183 package to the AMANDA server. And, if the server is also to be backed
184 up, the server also needs to have the amanda-client package installed.
186 %description server -l pl.UTF-8
187 Ten pakiet powinien być zainstalowany na maszynach, na których będą
188 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
205 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
215 RESTORE=/sbin/restore \
216 %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
217 %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
220 %{!?with_server:--without-server} \
221 %{!?with_client:--without-client} \
222 --with-index-server=localhost \
224 --with-group=amanda \
225 --with-tape-device=/dev/null \
227 %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
228 --with-star=%{_bindir}/star \
229 --with-gnuplot=%{_bindir}/gnuplot \
230 --with-bsd-security \
231 --with-bsdtcp-security \
232 --with-ssh-security \
233 --with-krb5-security \
234 --with-buffered-dump \
236 --with-configdir=%{_sysconfdir}/amanda \
237 --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
238 --with-amandates=%{_sharedstatedir}/amanda/amandates \
239 --with-debugging=%{_sharedstatedir}/amanda/debug \
240 --with-tmpdir=/var/tmp/amanda \
241 --with-amperldir=%{perl_vendorarch} \
244 --disable-installperms
249 rm -rf $RPM_BUILD_ROOT
250 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
251 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
252 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
255 DESTDIR=$RPM_BUILD_ROOT
257 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
258 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
259 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
260 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
262 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
263 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
264 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
266 install %{SOURCE5} $RPM_BUILD_ROOT%{_sbindir}/amconvert-zd-mtx-to-robot.sh
268 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
269 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
270 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
272 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
274 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
275 # Tools can't be "fixed" because keys generated on server are to be used on client
276 if [ "%{_lib}" != "lib" ] ; then
277 install -d $RPM_BUILD_ROOT%{_ulibdir}
278 ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
281 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
283 %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes}
284 %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/example/{chg-multi,chg-scsi}.conf
287 rm -rf $RPM_BUILD_ROOT
289 %triggerpostun common -- amanda-libs < 2.6.0p2-3
290 echo "Adding amanda to disk and tape groups"
291 /usr/sbin/usermod -G disk,tape amanda
292 echo "Setting amanda shell to /bin/sh"
293 /usr/bin/chsh -s /bin/sh amanda
294 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
295 echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
296 chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
297 chmod 600 %{_sharedstatedir}/amanda/.amandahosts
301 %groupadd -P %{name}-common -g 80 amanda
302 %useradd -P %{name}-common -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
305 if [ "$1" = "0" ]; then
311 %service -q rc-inetd reload
312 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
313 HOST="`/bin/hostname`"
314 FQDNHOST="`/bin/hostname -f`"
315 if [ -z "$HOST" ] ; then
316 COMMENT="root@client"
320 /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
321 chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
322 chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
323 if [ -n "$FQDNHOST" ]; then
324 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
325 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
327 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
328 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
333 if [ "$1" = 0 ]; then
334 %service -q rc-inetd reload
338 %service -q rc-inetd reload
339 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
340 HOST="`/bin/hostname`"
341 if [ -z "$HOST" ] ; then
342 COMMENT="amanda@server"
344 COMMENT="amanda@$HOST"
346 /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
347 chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
348 chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
350 if [ "$1" = "1" ]; then
351 echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
355 if [ "$1" = 0 ]; then
356 %service -q rc-inetd reload
360 %defattr(644,root,root,755)
361 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
362 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
363 %attr(755,root,root) %{_libdir}/amanda/libamar*.so
364 %attr(755,root,root) %{_libdir}/amanda/libamxfer*.so
365 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
366 %attr(755,root,root) %{_libdir}/amanda/libndmjob*.so
367 %attr(755,root,root) %{_libdir}/amanda/libndmlib*.so
368 %attr(755,root,root) %{_libdir}/amanda/amndmjob
369 %attr(755,root,root) %{_libdir}/amanda/ndmjob
370 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
371 %dir %{_libdir}/amanda
375 %{_libdir}/amanda/amanda-sh-lib.sh
376 %attr(755,root,root) %{_sbindir}/amaespipe
377 %attr(755,root,root) %{_sbindir}/amarchiver
378 %attr(755,root,root) %{_sbindir}/amcrypt*
379 %attr(755,root,root) %{_sbindir}/amgetconf
380 %attr(755,root,root) %{_sbindir}/amgpgcrypt
381 %attr(750,amanda,amanda) %dir %{_datadir}/amanda
382 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example
383 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example/label-templates
384 %attr(640,amanda,amanda) %{_datadir}/amanda/example/*amanda*
385 %attr(640,amanda,amanda) %{_datadir}/amanda/example/disklist
386 %attr(640,amanda,amanda) %{_datadir}/amanda/example/label-templates/*.ps
387 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/template.d
388 %attr(640,amanda,amanda) %{_datadir}/amanda/template.d/*
389 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
390 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
391 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
392 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
393 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
394 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
395 # Commented out so it won't get removed on uninstall
396 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
397 %{_mandir}/man5/amanda-archive-format.5*
398 %{_mandir}/man7/amanda-auth.7*
399 %{_mandir}/man7/amanda-match.7*
400 %{_mandir}/man7/amanda-scripts.7*
401 %{_mandir}/man8/amaespipe.8*
402 %{_mandir}/man8/amanda.8*
403 %{_mandir}/man8/amarchiver.8*
404 %{_mandir}/man8/amcrypt*.8*
405 %{_mandir}/man8/amgetconf.8*
406 %{_mandir}/man8/amgpgcrypt.8*
407 %{_mandir}/man8/script-email.8*
409 %dir %{perl_vendorarch}/Amanda
410 %dir %{perl_vendorarch}/Amanda/Config
411 %dir %{perl_vendorarch}/Amanda/IPC
412 %{perl_vendorarch}/Amanda/Archive.pm
413 %{perl_vendorarch}/Amanda/BigIntCompat.pm
414 %{perl_vendorarch}/Amanda/ClientService.pm
415 %{perl_vendorarch}/Amanda/Config.pm
416 %{perl_vendorarch}/Amanda/Config/FoldingHash.pm
417 %{perl_vendorarch}/Amanda/Constants.pm
418 %{perl_vendorarch}/Amanda/Debug.pm
419 %{perl_vendorarch}/Amanda/Feature.pm
420 %{perl_vendorarch}/Amanda/Header.pm
421 %{perl_vendorarch}/Amanda/IPC/Binary.pm
422 %{perl_vendorarch}/Amanda/IPC/LineProtocol.pm
423 %{perl_vendorarch}/Amanda/MainLoop.pm
424 %{perl_vendorarch}/Amanda/NDMP.pm
425 %{perl_vendorarch}/Amanda/Paths.pm
426 %{perl_vendorarch}/Amanda/Process.pm
427 %{perl_vendorarch}/Amanda/Script.pm
428 %{perl_vendorarch}/Amanda/Script_App.pm
429 %{perl_vendorarch}/Amanda/Tests.pm
430 %{perl_vendorarch}/Amanda/Util.pm
431 %{perl_vendorarch}/Amanda/Xfer.pm
432 %dir %{perl_vendorarch}/auto/Amanda
433 %dir %{perl_vendorarch}/auto/Amanda/Archive
434 %dir %{perl_vendorarch}/auto/Amanda/Config
435 %dir %{perl_vendorarch}/auto/Amanda/Debug
436 %dir %{perl_vendorarch}/auto/Amanda/Feature
437 %dir %{perl_vendorarch}/auto/Amanda/Header
438 %dir %{perl_vendorarch}/auto/Amanda/IPC
439 %dir %{perl_vendorarch}/auto/Amanda/IPC/Binary
440 %dir %{perl_vendorarch}/auto/Amanda/MainLoop
441 %dir %{perl_vendorarch}/auto/Amanda/NDMP
442 %dir %{perl_vendorarch}/auto/Amanda/Tests
443 %dir %{perl_vendorarch}/auto/Amanda/Util
444 %dir %{perl_vendorarch}/auto/Amanda/Xfer
445 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Archive/*.so
446 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
447 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Feature/*.so
448 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Header/*.so
449 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/IPC/Binary/*.so
450 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
451 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/MainLoop/*.so
452 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/NDMP/*.so
453 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tests/*.so
454 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
455 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Xfer/*.so
459 %defattr(644,root,root,755)
460 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
461 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
463 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
465 # Commented out so it won't get removed on uninstall
466 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
467 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
469 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
471 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
473 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
474 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
476 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
477 %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
478 %attr(755,root,root) %{_libdir}/amanda/amcheck-device
479 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
480 %attr(755,root,root) %{_libdir}/amanda/amindexd
481 %attr(755,root,root) %{_libdir}/amanda/amlogroll
482 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
483 %attr(755,root,root) %{_libdir}/amanda/amplot.g
484 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
485 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
486 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
487 %attr(755,root,root) %{_libdir}/amanda/chg-disk
488 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
489 %attr(755,root,root) %{_libdir}/amanda/chg-manual
490 %attr(755,root,root) %{_libdir}/amanda/chg-multi
491 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
492 %attr(755,root,root) %{_libdir}/amanda/chunker
493 %attr(755,root,root) %{_libdir}/amanda/driver
494 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
495 %attr(4750,root,amanda) %{_libdir}/amanda/planner
496 %attr(755,root,root) %{_libdir}/amanda/taper
498 %attr(755,root,root) %{_sbindir}/activate-devpay
499 %attr(755,root,root) %{_sbindir}/amaddclient
500 %attr(755,root,root) %{_sbindir}/amadmin
501 %attr(4750,root,amanda) %{_sbindir}/amcheck
502 %attr(755,root,root) %{_sbindir}/amcheckdb
503 %attr(755,root,root) %{_sbindir}/amcheckdump
504 %attr(755,root,root) %{_sbindir}/amcleanup
505 %attr(755,root,root) %{_sbindir}/amconvert-zd-mtx-to-robot.sh
506 %attr(755,root,root) %{_sbindir}/amdevcheck
507 %attr(755,root,root) %{_sbindir}/amdump
508 %attr(755,root,root) %{_sbindir}/amfetchdump
509 %attr(755,root,root) %{_sbindir}/amflush
510 %attr(755,root,root) %{_sbindir}/amlabel
511 %attr(755,root,root) %{_sbindir}/amoverview
512 %attr(755,root,root) %{_sbindir}/amplot
513 %attr(755,root,root) %{_sbindir}/amreport
514 %attr(755,root,root) %{_sbindir}/amrestore
515 %attr(755,root,root) %{_sbindir}/amrmtape
516 %attr(755,root,root) %{_sbindir}/amserverconfig
517 %attr(755,root,root) %{_sbindir}/amservice
518 %attr(755,root,root) %{_sbindir}/amstatus
519 %attr(755,root,root) %{_sbindir}/amtape
520 %attr(755,root,root) %{_sbindir}/amtapetype
521 %attr(755,root,root) %{_sbindir}/amtoc
522 %attr(755,root,root) %{_sbindir}/amvault
523 %{_mandir}/man5/amanda.conf.5*
524 %{_mandir}/man5/disklist.5*
525 %{_mandir}/man5/tapelist.5*
526 %{_mandir}/man7/amanda-changers.7*
527 %{_mandir}/man7/amanda-compatibility.7*
528 %{_mandir}/man7/amanda-devices.7*
529 %{_mandir}/man7/amanda-taperscan.7*
530 %{_mandir}/man8/amaddclient.8*
531 %{_mandir}/man8/amadmin.8*
532 %{_mandir}/man8/amcheck.8*
533 %{_mandir}/man8/amcheckdb.8*
534 %{_mandir}/man8/amcheckdump.8*
535 %{_mandir}/man8/amcleanup.8*
536 %{_mandir}/man8/amdevcheck.8*
537 %{_mandir}/man8/amdump.8*
538 %{_mandir}/man8/amfetchdump.8*
539 %{_mandir}/man8/amflush.8*
540 %{_mandir}/man8/amlabel.8*
541 %{_mandir}/man8/amoverview.8*
542 %{_mandir}/man8/amplot.8*
543 %{_mandir}/man8/amreport.8*
544 %{_mandir}/man8/amrestore.8*
545 %{_mandir}/man8/amrmtape.8*
546 %{_mandir}/man8/amserverconfig.8*
547 %{_mandir}/man8/amservice.8*
548 %{_mandir}/man8/amstatus.8*
549 %{_mandir}/man8/amtape.8*
550 %{_mandir}/man8/amtapetype.8*
551 %{_mandir}/man8/amtoc.8*
552 %{_mandir}/man8/amvault.8*
554 %{perl_vendorarch}/Amanda/Changer.pm
555 %dir %{perl_vendorarch}/Amanda/Changer
556 %{perl_vendorarch}/Amanda/Changer/*.pm
557 %{perl_vendorarch}/Amanda/Cmdline.pm
558 %{perl_vendorarch}/Amanda/Curinfo.pm
559 %dir %{perl_vendorarch}/Amanda/Curinfo
560 %{perl_vendorarch}/Amanda/Curinfo/*.pm
561 %dir %{perl_vendorarch}/Amanda/DB
562 %{perl_vendorarch}/Amanda/DB/*.pm
563 %{perl_vendorarch}/Amanda/Device.pm
564 %{perl_vendorarch}/Amanda/Disklist.pm
565 %{perl_vendorarch}/Amanda/Holding.pm
566 %{perl_vendorarch}/Amanda/Interactive.pm
567 %dir %{perl_vendorarch}/Amanda/Interactive
568 %{perl_vendorarch}/Amanda/Interactive/*.pm
569 %{perl_vendorarch}/Amanda/Logfile.pm
570 %dir %{perl_vendorarch}/Amanda/Recovery
571 %{perl_vendorarch}/Amanda/Recovery/*.pm
572 %{perl_vendorarch}/Amanda/Report.pm
573 %dir %{perl_vendorarch}/Amanda/Report
574 %{perl_vendorarch}/Amanda/Report/*.pm
575 %{perl_vendorarch}/Amanda/Tapelist.pm
576 %dir %{perl_vendorarch}/Amanda/Taper
577 %{perl_vendorarch}/Amanda/Taper/*.pm
578 %dir %{perl_vendorarch}/Amanda/Taper/Scan
579 %{perl_vendorarch}/Amanda/Taper/Scan/*.pm
580 %{perl_vendorarch}/Amanda/XferServer.pm
581 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
582 %dir %{perl_vendorarch}/auto/Amanda/Device
583 %dir %{perl_vendorarch}/auto/Amanda/Disklist
584 %dir %{perl_vendorarch}/auto/Amanda/Logfile
585 %dir %{perl_vendorarch}/auto/Amanda/Tapelist
586 %dir %{perl_vendorarch}/auto/Amanda/XferServer
587 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
588 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
589 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Disklist/*.so
590 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
591 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapelist/*.so
592 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/XferServer/*.so
597 %defattr(644,root,root,755)
598 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
599 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
600 # Commented out so it won't get removed on uninstall
601 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
602 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
604 %dir %{_libdir}/amanda/application
605 %attr(755,root,root) %{_libdir}/amanda/application/amgtar*
606 %attr(755,root,root) %{_libdir}/amanda/application/amlog-script
607 %attr(755,root,root) %{_libdir}/amanda/application/ampgsql
608 %attr(755,root,root) %{_libdir}/amanda/application/amraw
609 %attr(755,root,root) %{_libdir}/amanda/application/amsamba
610 %attr(755,root,root) %{_libdir}/amanda/application/amstar
611 %attr(755,root,root) %{_libdir}/amanda/application/amsuntar
612 %attr(755,root,root) %{_libdir}/amanda/application/amzfs*
613 %attr(755,root,root) %{_libdir}/amanda/application/script-email
615 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
616 %attr(755,root,root) %{_libdir}/amanda/amandad
617 %attr(755,root,root) %{_libdir}/amanda/noop
618 %attr(755,root,root) %{_libdir}/amanda/patch-system
619 %attr(755,root,root) %{_libdir}/amanda/sendbackup
620 %attr(755,root,root) %{_libdir}/amanda/sendsize
621 %attr(755,root,root) %{_libdir}/amanda/teecount
622 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
623 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
624 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
625 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
626 %attr(755,root,root) %{_libdir}/amanda/selfcheck
627 %attr(755,root,root) %{_sbindir}/amoldrecover
628 %attr(755,root,root) %{_sbindir}/amrecover
629 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
630 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
631 %{_mandir}/man7/amanda-applications.7*
632 %{_mandir}/man5/amanda-client.conf.5*
633 %{_mandir}/man8/amgtar.8*
634 %{_mandir}/man8/ampgsql.8*
635 %{_mandir}/man8/amrecover.8*
636 %{_mandir}/man8/amraw.8*
637 %{_mandir}/man8/amsamba.8*
638 %{_mandir}/man8/amstar.8*
639 %{_mandir}/man8/amsuntar.8*
640 %{_mandir}/man8/amzfs*.8*
642 %{perl_vendorarch}/Amanda/Application.pm
643 %dir %{perl_vendorarch}/Amanda/Application
644 %{perl_vendorarch}/Amanda/Application/Zfs.pm
645 %dir %{perl_vendorarch}/auto/Amanda/Application
646 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Application/*.so