]> git.pld-linux.org Git - packages/amanda.git/blob - amanda.spec
- rel 3
[packages/amanda.git] / amanda.spec
1 #
2 # Conditional build:
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
7 #
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
11 Name:           amanda
12 Version:        2.6.0p2
13 Release:        3
14 License:        BSD
15 Group:          Networking/Utilities
16 Source0:        http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
17 # Source0-md5:  75dcba5a75327ebcd4f197a93b8e8c9c
18 Source1:        %{name}-srv.crontab
19 Source2:        %{name}.inetd
20 Source3:        %{name}idx.inetd
21 Source4:        amidxtape.inetd
22 Patch0:         %{name}-no_libnsl.patch
23 Patch1:         %{name}-chg-zd-mtx-sh.patch
24 Patch2:         %{name}-tar.patch
25 Patch3:         %{name}-bashizm.patch
26 Patch4:         %{name}-as_needed.patch
27 Patch5:         %{name}-tapetypes.patch
28 Patch6:         %{name}-FHS.patch
29 Patch7:         %{name}-no-buildtime-ipv6.patch
30 Patch8:         %{name}-heimdal.patch
31 Patch9:         %{name}-amtoc.patch
32 URL:            http://www.amanda.org/
33 BuildRequires:  autoconf >= 2.53
34 BuildRequires:  automake
35 BuildRequires:  curl-devel >= 7.10.0
36 BuildRequires:  dump
37 BuildRequires:  flex
38 BuildRequires:  glib2-devel
39 # curl is broken, see curl-config --libs
40 BuildRequires:  keyutils-devel
41 BuildRequires:  krb5-devel >= 1.6-4
42 BuildRequires:  libtool
43 BuildRequires:  libxslt-progs
44 BuildRequires:  ncurses-devel
45 BuildRequires:  openssh-clients
46 BuildRequires:  openssl-devel
47 BuildRequires:  perl-devel >= 5.6.0
48 BuildRequires:  pkgconfig
49 BuildRequires:  readline-devel >= 4.2
50 BuildRequires:  rpmbuild(macros) >= 1.268
51 %{?with_samba:BuildRequires:    samba-client}
52 BuildRequires:  swig
53 %{?with_xfs:BuildRequires:      xfsdump}
54 Conflicts:      shadow < 1:4.0.4.1-4
55 Conflicts:      pwdutils < 3.1.2-2
56 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58 %define         _ulibdir        %{_prefix}/lib
59
60 %description
61 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
62 backup system that allows the administrator of a LAN to set up a
63 single master backup server to back up multiple hosts to a single
64 large capacity tape drive. AMANDA uses native dump and/or GNU tar
65 facilities and can back up a large number of workstations running
66 multiple versions of Unix. Newer versions of AMANDA (including this
67 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
68 The amanda package contains the core AMANDA programs and will need to
69 be installed on both AMANDA clients and AMANDA servers. Note that you
70 will have to install the amanda-client and amanda-server packages as
71 well.
72
73 %description -l pl.UTF-8
74 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
75 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
76 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
77 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
78 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
79 podstawowe pliki programu i powinien być zainstalowany zarówno na
80 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
81 amanda-client i amanda-server!
82
83 %package libs
84 Summary:        Amanda shared libraries
85 Summary(pl.UTF-8):      Biblioteki współdzielone pakietu amanda
86 Group:          Networking/Utilities
87 Requires(postun):       /usr/sbin/groupdel
88 Requires(postun):       /usr/sbin/userdel
89 Requires(pre):  /bin/id
90 Requires(pre):  /usr/bin/chsh
91 Requires(pre):  /usr/bin/getgid
92 Requires(pre):  /usr/sbin/groupadd
93 Requires(pre):  /usr/sbin/useradd
94 Requires:       setup >= 2.6.1-1
95 Provides:       group(amanda)
96 Provides:       user(amanda)
97
98 %description libs
99 Amanda shared libraries.
100
101 %description libs -l pl.UTF-8
102 Biblioteki współdzielone pakietu amanda.
103
104 %package client
105 Summary:        The client side of Amanda
106 Summary(pl.UTF-8):      Klient Amandy
107 Group:          Networking/Utilities
108 Requires(post): /bin/hostname
109 Requires(post): /usr/bin/ssh-keygen
110 Requires:       %{name}-libs = %{version}-%{release}
111 Requires:       rc-inetd
112 Suggests:       openssh-clients
113 Suggests:       openssh-server
114 Suggests:       tar
115 Suggests:       gzip
116 Suggests:       star
117 Conflicts:      tar < 1.15
118
119 %description client
120 The Amanda-client package should be installed on any machine that will
121 be backed up by AMANDA (including the server if it also needs to be
122 backed up). You will also need to install the amanda package to each
123 AMANDA client. It requires at least one of dump and GNU tar installed.
124
125 %description client -l pl.UTF-8
126 Ten pakiet powinien być zainstalowany ma maszynach, z których
127 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
128 najmniej jednego z pakietów dump i GNU tar.
129
130 %package server
131 Summary:        The server side of Amanda
132 Summary(pl.UTF-8):      Serwer Amandy
133 Group:          Networking/Utilities
134 Requires(post): /bin/hostname
135 Requires(post): /usr/bin/ssh-keygen
136 Requires:       %{name}-libs = %{version}-%{release}
137 Requires:       %{name}-perl = %{version}-%{release}
138 Requires:       /etc/cron.d
139 Requires:       crondaemon
140 Requires:       gnuplot
141 Requires:       mt-st
142 Requires:       mtx
143 Requires:       rc-inetd
144 Suggests:       openssh-clients
145 Suggests:       openssh-server
146 Obsoletes:      amanda
147 Obsoletes:      amanda-perl-server
148
149 %description server
150 The amanda-server package should be installed on the AMANDA server,
151 the machine attached to the device (such as a tape drive) where
152 backups will be written. You will also need to install the amanda
153 package to the AMANDA server. And, if the server is also to be backed
154 up, the server also needs to have the amanda-client package installed.
155
156 %description server -l pl.UTF-8
157 Ten pakiet powinien być zainstalowany na maszynach, na których będą
158 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
159 typu streamer).
160
161 %package perl
162 Summary:        Perl bindings for amanda
163 Summary(pl.UTF-8):      Wiązania perla dla Amandy
164 Group:          Networking/Utilities
165 Requires:       %{name}-libs = %{version}-%{release}
166
167 %description perl
168 Perl bindings for amanda.
169
170 %description perl -l pl.UTF-8
171 Wiązania perla dla Amandy.
172
173 %prep
174 %setup -q
175 %patch0 -p1
176 %patch1 -p1
177 %patch2 -p1
178 %patch3 -p1
179 %patch4 -p1
180 %patch5 -p1
181 %patch6 -p1
182 %patch7 -p1
183 %patch8 -p1
184 %patch9 -p1
185
186 %build
187 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
188 %{__autoconf}
189 %{__automake}
190 %configure \
191         DUMP=/sbin/dump \
192         GNUPLOT=/usr/bin/gnuplot \
193         GZIP=/bin/gzip \
194         MAILER=/bin/mail \
195         MT=/bin/mt \
196         MTX=/usr/sbin/mtx \
197         PRINT=/usr/bin/lpr \
198         RESTORE=/sbin/restore \
199         STAR=/usr/bin/star \
200         %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
201         %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
202         --disable-static \
203         --enable-shared \
204         %{!?with_server:--without-server} \
205         %{!?with_client:--without-client} \
206         --with-index-server=localhost \
207         --with-user=amanda \
208         --with-group=amanda \
209         --with-tape-device=/dev/null \
210         --with-ftape-rawdevice=/dev/null \
211         --with-changer-device=/dev/null \
212         --with-fqdn \
213         %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
214         --with-bsd-security \
215         --with-bsdtcp-security \
216         --with-ssh-security \
217         --with-krb5-security \
218         --without-krb4-security \
219         --with-buffered-dump \
220         --with-amandahosts \
221         --with-configdir=%{_sysconfdir}/amanda \
222         --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
223         --with-amandates=%{_sharedstatedir}/amanda/amandates \
224         --with-debugging=%{_sharedstatedir}/amanda/debug \
225         --with-tmpdir=/var/tmp \
226         --with-amperldir=%{perl_vendorarch} \
227         --with-ipv6 \
228         --disable-installperms
229
230 %{__make}
231
232 %install
233 rm -rf $RPM_BUILD_ROOT
234 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
235         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
236         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
237
238 %{__make} install \
239         DESTDIR=$RPM_BUILD_ROOT
240
241 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
242 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
243 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
244 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
245
246 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
247 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
248 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
249
250 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
251 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
252 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
253
254 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
255
256 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
257 # Tools can't be "fixed" because keys generated on server are to be used on client
258 if [ "%{_lib}" != "lib" ] ; then
259         install -d $RPM_BUILD_ROOT%{_ulibdir}
260         ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
261 fi
262
263 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
264
265 %clean
266 rm -rf $RPM_BUILD_ROOT
267
268 %triggerpostun libs -- %{name}-libs < 2.6.0p2-3
269 echo "Adding amanda to disk and tape groups"
270 /usr/sbin/usermod -G disk,tape amanda
271 echo "Setting amanda shell to /bin/sh"
272 /usr/bin/chsh -s /bin/sh amanda
273 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
274         echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
275         chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
276         chmod 600 %{_sharedstatedir}/amanda/.amandahosts
277 fi
278
279 %pre libs
280 %groupadd -P %{name}-libs -g 80 amanda
281 %useradd -P %{name}-libs -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
282
283 %postun libs
284 if [ "$1" = "0" ]; then
285         %userremove amanda
286         %groupremove amanda
287 fi
288
289 %post client
290 %service -q rc-inetd reload
291 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
292         HOST="`/bin/hostname`"
293         FQDNHOST="`/bin/hostname -f`"
294         if [ -z "$HOST" ] ; then
295                 COMMENT="root@client"
296         else
297                 COMMENT="root@$HOST"
298         fi
299         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
300         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
301         chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
302         if [ -n "$FQDNHOST" ]; then
303                 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
304                 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
305
306                 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
307                 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
308         fi
309 fi
310
311 %postun client
312 if [ "$1" = 0 ]; then
313         %service -q rc-inetd reload
314 fi
315
316 %post server
317 %service -q rc-inetd reload
318 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
319         HOST="`/bin/hostname`"
320         if [ -z "$HOST" ] ; then
321                 COMMENT="amanda@server"
322         else
323                 COMMENT="amanda@$HOST"
324         fi
325         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
326         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
327         chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
328 fi
329 if [ "$1" = "1" ]; then
330         echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
331 fi
332
333 %postun server
334 if [ "$1" = 0 ]; then
335         %service -q rc-inetd reload
336 fi
337
338 %files libs
339 %defattr(644,root,root,755)
340 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
341 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
342 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
343 %dir %{_libdir}/amanda
344 %if %{_lib} != "lib"
345 %{_ulibdir}/amanda
346 %endif
347 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
348 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
349 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
350 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
351 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
352 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
353 # Commented out so it won't get removed on uninstall
354 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
355
356 %if %{with server}
357 %files server
358 %defattr(644,root,root,755)
359 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
360 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
361
362 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
363
364 # Commented out so it won't get removed on uninstall
365 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
366 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
367
368 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
369 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
370 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
371 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
372 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
373 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
374 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
375
376 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
377
378 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
379 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
380 %attr(755,root,root) %{_libdir}/amanda/libamtape*.so
381 %attr(755,root,root) %{_libdir}/amanda/librestore*.so
382
383 %{_libdir}/amanda/amanda-sh-lib.sh
384 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
385 %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
386 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
387 %attr(755,root,root) %{_libdir}/amanda/amindexd
388 %attr(755,root,root) %{_libdir}/amanda/amlogroll
389 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
390 %attr(755,root,root) %{_libdir}/amanda/amplot.g
391 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
392 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
393 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
394 %attr(755,root,root) %{_libdir}/amanda/chg-chio
395 %attr(755,root,root) %{_libdir}/amanda/chg-chs
396 %attr(755,root,root) %{_libdir}/amanda/chg-disk
397 %attr(755,root,root) %{_libdir}/amanda/chg-iomega
398 %attr(755,root,root) %{_libdir}/amanda/chg-juke
399 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
400 %attr(755,root,root) %{_libdir}/amanda/chg-manual
401 %attr(755,root,root) %{_libdir}/amanda/chg-mcutil
402 %attr(755,root,root) %{_libdir}/amanda/chg-mtx
403 %attr(755,root,root) %{_libdir}/amanda/chg-multi
404 %attr(755,root,root) %{_libdir}/amanda/chg-null
405 %attr(755,root,root) %{_libdir}/amanda/chg-rait
406 %attr(755,root,root) %{_libdir}/amanda/chg-rth
407 %attr(755,root,root) %{_libdir}/amanda/chg-scsi
408 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
409 %attr(755,root,root) %{_libdir}/amanda/chunker
410 %attr(755,root,root) %{_libdir}/amanda/driver
411 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
412 %attr(755,root,root) %{_libdir}/amanda/patch-system
413 %attr(4750,root,amanda) %{_libdir}/amanda/planner
414 %attr(755,root,root) %{_libdir}/amanda/taper
415
416 %attr(755,root,root) %{_sbindir}/amaddclient
417 %attr(755,root,root) %{_sbindir}/amadmin
418 %attr(755,root,root) %{_sbindir}/amaespipe
419 %attr(4750,root,amanda) %{_sbindir}/amcheck
420 %attr(755,root,root) %{_sbindir}/amcheckdb
421 %attr(755,root,root) %{_sbindir}/amcheckdump
422 %attr(755,root,root) %{_sbindir}/amcleanup
423 %attr(755,root,root) %{_sbindir}/amcrypt*
424 %attr(755,root,root) %{_sbindir}/amdd
425 %attr(755,root,root) %{_sbindir}/amdevcheck
426 %attr(755,root,root) %{_sbindir}/amdump
427 %attr(755,root,root) %{_sbindir}/amfetchdump
428 %attr(755,root,root) %{_sbindir}/amflush
429 %attr(755,root,root) %{_sbindir}/amgetconf
430 %attr(755,root,root) %{_sbindir}/amgpgcrypt
431 %attr(755,root,root) %{_sbindir}/amlabel
432 %attr(755,root,root) %{_sbindir}/ammt
433 %attr(755,root,root) %{_sbindir}/amoverview
434 %attr(755,root,root) %{_sbindir}/amplot
435 %attr(755,root,root) %{_sbindir}/amreport
436 %attr(755,root,root) %{_sbindir}/amrestore
437 %attr(755,root,root) %{_sbindir}/amrmtape
438 %attr(755,root,root) %{_sbindir}/amserverconfig
439 %attr(755,root,root) %{_sbindir}/amstatus
440 %attr(755,root,root) %{_sbindir}/amtape
441 %attr(755,root,root) %{_sbindir}/amtapetype
442 %attr(755,root,root) %{_sbindir}/amtoc
443 %attr(755,root,root) %{_sbindir}/amverify
444 %attr(755,root,root) %{_sbindir}/amverifyrun
445 %{_mandir}/man5/amanda.conf.5*
446 %{_mandir}/man8/amaddclient.8*
447 %{_mandir}/man8/amadmin.8*
448 %{_mandir}/man8/amaespipe.8*
449 %{_mandir}/man8/amanda.8*
450 %{_mandir}/man8/amcheck.8*
451 %{_mandir}/man8/amcheckdb.8*
452 %{_mandir}/man8/amcheckdump.8*
453 %{_mandir}/man8/amcleanup.8*
454 %{_mandir}/man8/amcrypt*.8*
455 %{_mandir}/man8/amdd.8*
456 %{_mandir}/man8/amdevcheck.8*
457 %{_mandir}/man8/amdump.8*
458 %{_mandir}/man8/amfetchdump.8*
459 %{_mandir}/man8/amflush.8*
460 %{_mandir}/man8/amgetconf.8*
461 %{_mandir}/man8/amgpgcrypt.8*
462 %{_mandir}/man8/amlabel.8*
463 %{_mandir}/man8/ammt.8*
464 %{_mandir}/man8/amoverview.8*
465 %{_mandir}/man8/amplot.8*
466 %{_mandir}/man8/amreport.8*
467 %{_mandir}/man8/amrestore.8*
468 %{_mandir}/man8/amrmtape.8*
469 %{_mandir}/man8/amserverconfig.8*
470 %{_mandir}/man8/amstatus.8*
471 %{_mandir}/man8/amtape.8*
472 %{_mandir}/man8/amtapetype.8*
473 %{_mandir}/man8/amtoc.8*
474 %{_mandir}/man8/amverify.8*
475 %{_mandir}/man8/amverifyrun.8*
476
477 %{perl_vendorarch}/Amanda/Changer.pm
478 %{perl_vendorarch}/Amanda/Cmdline.pm
479 %{perl_vendorarch}/Amanda/Device.pm
480 %{perl_vendorarch}/Amanda/Logfile.pm
481 %{perl_vendorarch}/Amanda/Tapefile.pm
482 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
483 %dir %{perl_vendorarch}/auto/Amanda/Device
484 %dir %{perl_vendorarch}/auto/Amanda/Logfile
485 %dir %{perl_vendorarch}/auto/Amanda/Tapefile
486 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
487 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
488 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
489 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so
490 %endif
491
492 %if %{with client}
493 %files client
494 %defattr(644,root,root,755)
495 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
496 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
497 # Commented out so it won't get removed on uninstall
498 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
499 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
500
501 %dir %{_libdir}/amanda/application
502 %attr(755,root,root) %{_libdir}/amanda/application/amgtar
503 %attr(644,root,root) %{_libdir}/amanda/application/generic-dumper
504
505 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
506 %attr(755,root,root) %{_libdir}/amanda/amandad
507 %attr(755,root,root) %{_libdir}/amanda/noop
508 %attr(755,root,root) %{_libdir}/amanda/sendbackup
509 %attr(755,root,root) %{_libdir}/amanda/sendsize
510 %attr(755,root,root) %{_libdir}/amanda/versionsuffix
511 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
512 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
513 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
514 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
515 %attr(755,root,root) %{_libdir}/amanda/selfcheck
516 %attr(755,root,root) %{_sbindir}/amoldrecover
517 %attr(755,root,root) %{_sbindir}/amrecover
518 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
519 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
520 %{_mandir}/man5/amanda-client.conf.5*
521 %{_mandir}/man8/amrecover.8*
522 %endif
523
524 %files perl
525 %defattr(644,root,root,755)
526 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
527 %dir %{perl_vendorarch}/Amanda
528 %{perl_vendorarch}/Amanda/Config.pm
529 %{perl_vendorarch}/Amanda/Debug.pm
530 %{perl_vendorarch}/Amanda/Paths.pm
531 %{perl_vendorarch}/Amanda/Types.pm
532 %{perl_vendorarch}/Amanda/Util.pm
533 %dir %{perl_vendorarch}/auto/Amanda
534 %dir %{perl_vendorarch}/auto/Amanda/Config
535 %dir %{perl_vendorarch}/auto/Amanda/Debug
536 %dir %{perl_vendorarch}/auto/Amanda/Types
537 %dir %{perl_vendorarch}/auto/Amanda/Util
538 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
539 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
540 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
541 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
This page took 0.072987 seconds and 4 git commands to generate.