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 Summary: A network-capable tape backup solution
9 Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych
14 Group: Networking/Utilities
15 Source0: http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
16 # Source0-md5: c347c1e573c33018f234750ac6435156
17 Source1: %{name}-srv.crontab
18 Source2: %{name}.inetd
19 Source3: %{name}idx.inetd
20 Source4: amidxtape.inetd
21 Patch0: %{name}-no_libnsl.patch
22 Patch1: %{name}-chg-zd-mtx-sh.patch
23 Patch2: %{name}-tar.patch
24 Patch3: %{name}-bashizm.patch
25 Patch4: %{name}-as_needed.patch
26 Patch5: %{name}-tapetypes.patch
27 Patch6: %{name}-FHS.patch
28 URL: http://www.amanda.org/
29 BuildRequires: autoconf >= 2.53
30 BuildRequires: automake
31 BuildRequires: curl-devel >= 7.10.0
34 BuildRequires: glib2-devel
35 # curl is broken, see curl-config --libs
36 BuildRequires: keyutils-devel
37 BuildRequires: krb5-devel >= 1.6-4
38 BuildRequires: libtool
39 BuildRequires: libxslt-progs
40 BuildRequires: ncurses-devel
41 BuildRequires: openssh-clients
42 BuildRequires: openssl-devel
43 BuildRequires: perl-devel >= 5.6.0
44 BuildRequires: pkgconfig
45 BuildRequires: readline-devel >= 4.2
46 BuildRequires: rpmbuild(macros) >= 1.268
47 %{?with_samba:BuildRequires: samba-client}
49 %{?with_xfs:BuildRequires: xfsdump}
50 Conflicts: shadow < 1:4.0.4.1-4
51 Conflicts: pwdutils < 3.1.2-2
52 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
56 backup system that allows the administrator of a LAN to set up a
57 single master backup server to back up multiple hosts to a single
58 large capacity tape drive. AMANDA uses native dump and/or GNU tar
59 facilities and can back up a large number of workstations running
60 multiple versions of Unix. Newer versions of AMANDA (including this
61 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
62 The amanda package contains the core AMANDA programs and will need to
63 be installed on both AMANDA clients and AMANDA servers. Note that you
64 will have to install the amanda-client and amanda-server packages as
67 %description -l pl.UTF-8
68 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
69 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
70 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
71 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
72 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
73 podstawowe pliki programu i powinien być zainstalowany zarówno na
74 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
75 amanda-client i amanda-server!
78 Summary: Amanda shared libraries
79 Summary(pl.UTF-8): Biblioteki współdzielone pakietu amanda
80 Group: Networking/Utilities
81 Requires(postun): /usr/sbin/groupdel
82 Requires(postun): /usr/sbin/userdel
83 Requires(pre): /bin/id
84 Requires(pre): /usr/bin/chsh
85 Requires(pre): /usr/bin/getgid
86 Requires(pre): /usr/sbin/groupadd
87 Requires(pre): /usr/sbin/useradd
88 Provides: group(amanda)
89 Provides: user(amanda)
92 Amanda shared libraries.
94 %description libs -l pl.UTF-8
95 Biblioteki współdzielone pakietu amanda.
98 Summary: The client side of Amanda
99 Summary(pl.UTF-8): Klient Amandy
100 Group: Networking/Utilities
101 Requires: %{name}-libs = %{version}-%{release}
103 Suggests: openssh-clients
104 Suggests: openssh-server
108 Conflicts: tar < 1.15
111 The Amanda-client package should be installed on any machine that will
112 be backed up by AMANDA (including the server if it also needs to be
113 backed up). You will also need to install the amanda package to each
114 AMANDA client. It requires at least one of dump and GNU tar installed.
116 %description client -l pl.UTF-8
117 Ten pakiet powinien być zainstalowany ma maszynach, z których
118 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
119 najmniej jednego z pakietów dump i GNU tar.
122 Summary: The server side of Amanda
123 Summary(pl.UTF-8): Serwer Amandy
124 Group: Networking/Utilities
125 Requires: %{name}-libs = %{version}-%{release}
126 Requires: /etc/cron.d
132 Suggests: openssh-clients
133 Suggests: openssh-server
137 The amanda-server package should be installed on the AMANDA server,
138 the machine attached to the device (such as a tape drive) where
139 backups will be written. You will also need to install the amanda
140 package to the AMANDA server. And, if the server is also to be backed
141 up, the server also needs to have the amanda-client package installed.
143 %description server -l pl.UTF-8
144 Ten pakiet powinien być zainstalowany na maszynach, na których będą
145 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
149 Summary: Perl bindings for amanda
150 Summary(pl.UTF-8): Wiązania perla dla Amandy
151 Group: Networking/Utilities
152 Requires: %{name}-libs = %{version}-%{release}
155 Perl bindings for amanda.
157 %description perl -l pl.UTF-8
158 Wiązania perla dla Amandy.
161 Summary: Perl bindings for amanda server
162 Summary(pl.UTF-8): Wiązania perla dla serwera Amandy
163 Group: Networking/Utilities
164 Requires: %{name}-perl = %{version}-%{release}
165 Requires: %{name}-server = %{version}-%{release}
167 %description perl-server
168 Perl bindings for amanda server.
170 %description perl-server -l pl.UTF-8
171 Wiązania perla dla serwera Amandy.
185 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
190 GNUPLOT=/usr/bin/gnuplot \
196 RESTORE=/sbin/restore \
198 %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
199 %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
202 %{!?with_server:--without-server} \
203 %{!?with_client:--without-client} \
204 --with-index-server=localhost \
206 --with-group=amanda \
207 --with-tape-device=/dev/null \
208 --with-ftape-rawdevice=/dev/null \
209 --with-changer-device=/dev/null \
211 %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
212 --with-bsd-security \
213 --with-ssh-security \
214 --with-krb5-security \
215 --without-krb4-security \
216 --with-buffered-dump \
218 --with-configdir=%{_sysconfdir}/amanda \
219 --with-gnutar-listdir=%{_sharedstatedir}/gnutar-lists \
220 --with-amandates=%{_sharedstatedir}/amanda/amandates \
221 --with-debugging=%{_sharedstatedir}/amanda/debug \
222 --with-tmpdir=/var/tmp \
223 --with-amperldir=%{perl_vendorarch} \
224 --disable-installperms
229 rm -rf $RPM_BUILD_ROOT
230 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
231 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
232 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
235 DESTDIR=$RPM_BUILD_ROOT
237 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
238 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
239 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
240 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
242 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
243 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
244 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
246 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
247 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
248 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
250 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
252 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
255 rm -rf $RPM_BUILD_ROOT
257 %triggerpostun libs -- %{name}-libs < 2.5.1p2-1
258 echo "Adding amanda to disk and backup groups"
259 /usr/sbin/usermod -G disk,backup amanda
260 echo "Setting amanda shell to /bin/sh"
261 /usr/bin/chsh -s /bin/sh amanda
262 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
263 echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
264 chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
265 chmod 600 %{_sharedstatedir}/amanda/.amandahosts
269 %groupadd -P %{name}-libs -g 80 amanda
270 %useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
273 if [ "$1" = "0" ]; then
279 %service -q rc-inetd reload
280 if [ -x /usr/bin/ssh-keygen -a ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
282 if [ -z "$HOST" ] ; then
283 COMMENT="root@client"
287 /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
288 chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
289 chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
293 if [ "$1" = 0 ]; then
294 %service -q rc-inetd reload
298 %service -q rc-inetd reload
299 if [ -x /usr/bin/ssh-keygen -a ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
301 if [ -z "$HOST" ] ; then
302 COMMENT="amanda@server"
304 COMMENT="amanda@$HOST"
306 /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
307 chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
308 chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
310 if [ "$1" = "1" ]; then
311 echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
315 if [ "$1" = 0 ]; then
316 %service -q rc-inetd reload
320 %defattr(644,root,root,755)
321 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
322 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
323 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
324 %dir %{_libdir}/amanda
325 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
326 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
327 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
328 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
329 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
330 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
331 %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
335 %defattr(644,root,root,755)
336 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
337 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
339 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
341 %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
342 %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
344 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
345 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
346 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
347 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
348 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
349 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
350 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
352 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
354 %dir %{_libdir}/amanda/application
355 %attr(755,root,root) %{_libdir}/amanda/application/amgtar
356 %attr(644,root,root) %{_libdir}/amanda/application/generic-dumper
358 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
359 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
360 %attr(755,root,root) %{_libdir}/amanda/libamtape*.so
361 %attr(755,root,root) %{_libdir}/amanda/librestore*.so
363 %{_libdir}/amanda/amanda-sh-lib.sh
364 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
365 %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
366 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
367 %attr(755,root,root) %{_libdir}/amanda/amindexd
368 %attr(755,root,root) %{_libdir}/amanda/amlogroll
369 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
370 %attr(755,root,root) %{_libdir}/amanda/amplot.g
371 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
372 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
373 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
374 %attr(755,root,root) %{_libdir}/amanda/chg-chio
375 %attr(755,root,root) %{_libdir}/amanda/chg-chs
376 %attr(755,root,root) %{_libdir}/amanda/chg-disk
377 %attr(755,root,root) %{_libdir}/amanda/chg-iomega
378 %attr(755,root,root) %{_libdir}/amanda/chg-juke
379 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
380 %attr(755,root,root) %{_libdir}/amanda/chg-manual
381 %attr(755,root,root) %{_libdir}/amanda/chg-mcutil
382 %attr(755,root,root) %{_libdir}/amanda/chg-mtx
383 %attr(755,root,root) %{_libdir}/amanda/chg-multi
384 %attr(755,root,root) %{_libdir}/amanda/chg-null
385 %attr(755,root,root) %{_libdir}/amanda/chg-rait
386 %attr(755,root,root) %{_libdir}/amanda/chg-rth
387 %attr(755,root,root) %{_libdir}/amanda/chg-scsi
388 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
389 %attr(755,root,root) %{_libdir}/amanda/chunker
390 %attr(755,root,root) %{_libdir}/amanda/driver
391 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
392 %attr(755,root,root) %{_libdir}/amanda/patch-system
393 %attr(4750,root,amanda) %{_libdir}/amanda/planner
394 %attr(755,root,root) %{_libdir}/amanda/taper
396 %attr(755,root,root) %{_sbindir}/amaddclient
397 %attr(755,root,root) %{_sbindir}/amadmin
398 %attr(755,root,root) %{_sbindir}/amaespipe
399 %attr(4750,root,amanda) %{_sbindir}/amcheck
400 %attr(755,root,root) %{_sbindir}/amcheckdb
401 %attr(755,root,root) %{_sbindir}/amcheckdump
402 %attr(755,root,root) %{_sbindir}/amcleanup
403 %attr(755,root,root) %{_sbindir}/amcrypt*
404 %attr(755,root,root) %{_sbindir}/amdd
405 %attr(755,root,root) %{_sbindir}/amdevcheck
406 %attr(755,root,root) %{_sbindir}/amdump
407 %attr(755,root,root) %{_sbindir}/amfetchdump
408 %attr(755,root,root) %{_sbindir}/amflush
409 %attr(755,root,root) %{_sbindir}/amgetconf
410 %attr(755,root,root) %{_sbindir}/amgpgcrypt
411 %attr(755,root,root) %{_sbindir}/amlabel
412 %attr(755,root,root) %{_sbindir}/ammt
413 %attr(755,root,root) %{_sbindir}/amoverview
414 %attr(755,root,root) %{_sbindir}/amplot
415 %attr(755,root,root) %{_sbindir}/amreport
416 %attr(755,root,root) %{_sbindir}/amrestore
417 %attr(755,root,root) %{_sbindir}/amrmtape
418 %attr(755,root,root) %{_sbindir}/amserverconfig
419 %attr(755,root,root) %{_sbindir}/amstatus
420 %attr(755,root,root) %{_sbindir}/amtape
421 %attr(755,root,root) %{_sbindir}/amtapetype
422 %attr(755,root,root) %{_sbindir}/amtoc
423 %attr(755,root,root) %{_sbindir}/amverify
424 %attr(755,root,root) %{_sbindir}/amverifyrun
425 %{_mandir}/man5/amanda.conf.5*
426 %{_mandir}/man8/amaddclient.8*
427 %{_mandir}/man8/amadmin.8*
428 %{_mandir}/man8/amaespipe.8*
429 %{_mandir}/man8/amanda.8*
430 %{_mandir}/man8/amcheck.8*
431 %{_mandir}/man8/amcheckdb.8*
432 %{_mandir}/man8/amcheckdump.8*
433 %{_mandir}/man8/amcleanup.8*
434 %{_mandir}/man8/amcrypt*.8*
435 %{_mandir}/man8/amdd.8*
436 %{_mandir}/man8/amdevcheck.8*
437 %{_mandir}/man8/amdump.8*
438 %{_mandir}/man8/amfetchdump.8*
439 %{_mandir}/man8/amflush.8*
440 %{_mandir}/man8/amgetconf.8*
441 %{_mandir}/man8/amgpgcrypt.8*
442 %{_mandir}/man8/amlabel.8*
443 %{_mandir}/man8/ammt.8*
444 %{_mandir}/man8/amoverview.8*
445 %{_mandir}/man8/amplot.8*
446 %{_mandir}/man8/amreport.8*
447 %{_mandir}/man8/amrestore.8*
448 %{_mandir}/man8/amrmtape.8*
449 %{_mandir}/man8/amserverconfig.8*
450 %{_mandir}/man8/amstatus.8*
451 %{_mandir}/man8/amtape.8*
452 %{_mandir}/man8/amtapetype.8*
453 %{_mandir}/man8/amtoc.8*
454 %{_mandir}/man8/amverify.8*
455 %{_mandir}/man8/amverifyrun.8*
460 %defattr(644,root,root,755)
461 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
462 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
463 %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
464 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
465 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
466 %attr(755,root,root) %{_libdir}/amanda/amandad
467 %attr(755,root,root) %{_libdir}/amanda/noop
468 %attr(755,root,root) %{_libdir}/amanda/sendbackup
469 %attr(755,root,root) %{_libdir}/amanda/sendsize
470 %attr(755,root,root) %{_libdir}/amanda/versionsuffix
471 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
472 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
473 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
474 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
475 %attr(755,root,root) %{_libdir}/amanda/selfcheck
476 %attr(755,root,root) %{_sbindir}/amoldrecover
477 %attr(755,root,root) %{_sbindir}/amrecover
478 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
479 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
480 %{_mandir}/man5/amanda-client.conf.5*
481 %{_mandir}/man8/amrecover.8*
485 %defattr(644,root,root,755)
486 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
487 %dir %{perl_vendorarch}/Amanda
488 %{perl_vendorarch}/Amanda/Config.pm
489 %{perl_vendorarch}/Amanda/Debug.pm
490 %{perl_vendorarch}/Amanda/Paths.pm
491 %{perl_vendorarch}/Amanda/Types.pm
492 %{perl_vendorarch}/Amanda/Util.pm
493 %dir %{perl_vendorarch}/auto/Amanda
494 %dir %{perl_vendorarch}/auto/Amanda/Config
495 %dir %{perl_vendorarch}/auto/Amanda/Debug
496 %dir %{perl_vendorarch}/auto/Amanda/Types
497 %dir %{perl_vendorarch}/auto/Amanda/Util
498 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
499 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
500 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
501 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
504 %defattr(644,root,root,755)
505 %{perl_vendorarch}/Amanda/Changer.pm
506 %{perl_vendorarch}/Amanda/Cmdline.pm
507 %{perl_vendorarch}/Amanda/Device.pm
508 %{perl_vendorarch}/Amanda/Logfile.pm
509 %{perl_vendorarch}/Amanda/Tapefile.pm
510 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
511 %dir %{perl_vendorarch}/auto/Amanda/Device
512 %dir %{perl_vendorarch}/auto/Amanda/Logfile
513 %dir %{perl_vendorarch}/auto/Amanda/Tapefile
514 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
515 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
516 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
517 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so