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