]> git.pld-linux.org Git - packages/amanda.git/blob - amanda.spec
- added --with-bsdtcp which is needed to talk to ZWC amandad
[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:        1
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 Provides:       group(amanda)
95 Provides:       user(amanda)
96
97 %description libs
98 Amanda shared libraries.
99
100 %description libs -l pl.UTF-8
101 Biblioteki współdzielone pakietu amanda.
102
103 %package client
104 Summary:        The client side of Amanda
105 Summary(pl.UTF-8):      Klient Amandy
106 Group:          Networking/Utilities
107 Requires(post): /bin/hostname
108 Requires(post): /usr/bin/ssh-keygen
109 Requires:       %{name}-libs = %{version}-%{release}
110 Requires:       rc-inetd
111 Suggests:       openssh-clients
112 Suggests:       openssh-server
113 Suggests:       tar
114 Suggests:       gzip
115 Suggests:       star
116 Conflicts:      tar < 1.15
117
118 %description client
119 The Amanda-client package should be installed on any machine that will
120 be backed up by AMANDA (including the server if it also needs to be
121 backed up). You will also need to install the amanda package to each
122 AMANDA client. It requires at least one of dump and GNU tar installed.
123
124 %description client -l pl.UTF-8
125 Ten pakiet powinien być zainstalowany ma maszynach, z których
126 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
127 najmniej jednego z pakietów dump i GNU tar.
128
129 %package server
130 Summary:        The server side of Amanda
131 Summary(pl.UTF-8):      Serwer Amandy
132 Group:          Networking/Utilities
133 Requires(post): /bin/hostname
134 Requires(post): /usr/bin/ssh-keygen
135 Requires:       %{name}-libs = %{version}-%{release}
136 Requires:       %{name}-perl = %{version}-%{release}
137 Requires:       /etc/cron.d
138 Requires:       crondaemon
139 Requires:       gnuplot
140 Requires:       mt-st
141 Requires:       mtx
142 Requires:       rc-inetd
143 Suggests:       openssh-clients
144 Suggests:       openssh-server
145 Obsoletes:      amanda
146 Obsoletes:      amanda-perl-server
147
148 %description server
149 The amanda-server package should be installed on the AMANDA server,
150 the machine attached to the device (such as a tape drive) where
151 backups will be written. You will also need to install the amanda
152 package to the AMANDA server. And, if the server is also to be backed
153 up, the server also needs to have the amanda-client package installed.
154
155 %description server -l pl.UTF-8
156 Ten pakiet powinien być zainstalowany na maszynach, na których będą
157 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
158 typu streamer).
159
160 %package perl
161 Summary:        Perl bindings for amanda
162 Summary(pl.UTF-8):      Wiązania perla dla Amandy
163 Group:          Networking/Utilities
164 Requires:       %{name}-libs = %{version}-%{release}
165
166 %description perl
167 Perl bindings for amanda.
168
169 %description perl -l pl.UTF-8
170 Wiązania perla dla Amandy.
171
172 %prep
173 %setup -q
174 %patch0 -p1
175 %patch1 -p1
176 %patch2 -p1
177 %patch3 -p1
178 %patch4 -p1
179 %patch5 -p1
180 %patch6 -p1
181 %patch7 -p1
182 %patch8 -p1
183 %patch9 -p1
184
185 %build
186 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
187 %{__autoconf}
188 %{__automake}
189 %configure \
190         DUMP=/sbin/dump \
191         GNUPLOT=/usr/bin/gnuplot \
192         GZIP=/bin/gzip \
193         MAILER=/bin/mail \
194         MT=/bin/mt \
195         MTX=/usr/sbin/mtx \
196         PRINT=/usr/bin/lpr \
197         RESTORE=/sbin/restore \
198         STAR=/usr/bin/star \
199         %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
200         %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
201         --disable-static \
202         --enable-shared \
203         %{!?with_server:--without-server} \
204         %{!?with_client:--without-client} \
205         --with-index-server=localhost \
206         --with-user=amanda \
207         --with-group=amanda \
208         --with-tape-device=/dev/null \
209         --with-ftape-rawdevice=/dev/null \
210         --with-changer-device=/dev/null \
211         --with-fqdn \
212         %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
213         --with-bsd-security \
214         --with-bsdtcp-security \ # needed to talk to ZWC windows clients
215         --with-ssh-security \
216         --with-krb5-security \
217         --without-krb4-security \
218         --with-buffered-dump \
219         --with-amandahosts \
220         --with-configdir=%{_sysconfdir}/amanda \
221         --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
222         --with-amandates=%{_sharedstatedir}/amanda/amandates \
223         --with-debugging=%{_sharedstatedir}/amanda/debug \
224         --with-tmpdir=/var/tmp \
225         --with-amperldir=%{perl_vendorarch} \
226         --with-ipv6 \
227         --disable-installperms
228
229 %{__make}
230
231 %install
232 rm -rf $RPM_BUILD_ROOT
233 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
234         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
235         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
236
237 %{__make} install \
238         DESTDIR=$RPM_BUILD_ROOT
239
240 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
241 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
242 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
243 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
244
245 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
246 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
247 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
248
249 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
250 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
251 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
252
253 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
254
255 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
256 # Tools can't be "fixed" because keys generated on server are to be used on client
257 if [ "%{_lib}" != "lib" ] ; then
258         install -d $RPM_BUILD_ROOT%{_ulibdir}
259         ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
260 fi
261
262 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
263
264 %clean
265 rm -rf $RPM_BUILD_ROOT
266
267 %triggerpostun libs -- %{name}-libs < 2.5.1p2-1
268 echo "Adding amanda to disk and backup groups"
269 /usr/sbin/usermod -G disk,backup amanda
270 echo "Setting amanda shell to /bin/sh"
271 /usr/bin/chsh -s /bin/sh amanda
272 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
273         echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
274         chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
275         chmod 600 %{_sharedstatedir}/amanda/.amandahosts
276 fi
277
278 %pre libs
279 %groupadd -P %{name}-libs -g 80 amanda
280 %useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
281
282 %postun libs
283 if [ "$1" = "0" ]; then
284         %userremove amanda
285         %groupremove amanda
286 fi
287
288 %post client
289 %service -q rc-inetd reload
290 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
291         HOST="`/bin/hostname`"
292         FQDNHOST="`/bin/hostname -f`"
293         if [ -z "$HOST" ] ; then
294                 COMMENT="root@client"
295         else
296                 COMMENT="root@$HOST"
297         fi
298         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
299         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
300         chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
301         if [ -n "$FQDNHOST" ]; then
302                 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
303                 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
304
305                 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
306                 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
307         fi
308 fi
309
310 %postun client
311 if [ "$1" = 0 ]; then
312         %service -q rc-inetd reload
313 fi
314
315 %post server
316 %service -q rc-inetd reload
317 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
318         HOST="`/bin/hostname`"
319         if [ -z "$HOST" ] ; then
320                 COMMENT="amanda@server"
321         else
322                 COMMENT="amanda@$HOST"
323         fi
324         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
325         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
326         chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
327 fi
328 if [ "$1" = "1" ]; then
329         echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
330 fi
331
332 %postun server
333 if [ "$1" = 0 ]; then
334         %service -q rc-inetd reload
335 fi
336
337 %files libs
338 %defattr(644,root,root,755)
339 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
340 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
341 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
342 %dir %{_libdir}/amanda
343 %if %{_lib} != "lib"
344 %{_ulibdir}/amanda
345 %endif
346 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
347 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
348 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
349 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
350 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
351 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
352 # Commented out so it won't get removed on uninstall
353 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
354
355 %if %{with server}
356 %files server
357 %defattr(644,root,root,755)
358 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
359 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
360
361 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
362
363 # Commented out so it won't get removed on uninstall
364 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
365 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
366
367 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
368 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
369 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
370 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
371 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
372 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
373 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
374
375 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
376
377 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
378 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
379 %attr(755,root,root) %{_libdir}/amanda/libamtape*.so
380 %attr(755,root,root) %{_libdir}/amanda/librestore*.so
381
382 %{_libdir}/amanda/amanda-sh-lib.sh
383 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
384 %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
385 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
386 %attr(755,root,root) %{_libdir}/amanda/amindexd
387 %attr(755,root,root) %{_libdir}/amanda/amlogroll
388 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
389 %attr(755,root,root) %{_libdir}/amanda/amplot.g
390 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
391 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
392 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
393 %attr(755,root,root) %{_libdir}/amanda/chg-chio
394 %attr(755,root,root) %{_libdir}/amanda/chg-chs
395 %attr(755,root,root) %{_libdir}/amanda/chg-disk
396 %attr(755,root,root) %{_libdir}/amanda/chg-iomega
397 %attr(755,root,root) %{_libdir}/amanda/chg-juke
398 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
399 %attr(755,root,root) %{_libdir}/amanda/chg-manual
400 %attr(755,root,root) %{_libdir}/amanda/chg-mcutil
401 %attr(755,root,root) %{_libdir}/amanda/chg-mtx
402 %attr(755,root,root) %{_libdir}/amanda/chg-multi
403 %attr(755,root,root) %{_libdir}/amanda/chg-null
404 %attr(755,root,root) %{_libdir}/amanda/chg-rait
405 %attr(755,root,root) %{_libdir}/amanda/chg-rth
406 %attr(755,root,root) %{_libdir}/amanda/chg-scsi
407 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
408 %attr(755,root,root) %{_libdir}/amanda/chunker
409 %attr(755,root,root) %{_libdir}/amanda/driver
410 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
411 %attr(755,root,root) %{_libdir}/amanda/patch-system
412 %attr(4750,root,amanda) %{_libdir}/amanda/planner
413 %attr(755,root,root) %{_libdir}/amanda/taper
414
415 %attr(755,root,root) %{_sbindir}/amaddclient
416 %attr(755,root,root) %{_sbindir}/amadmin
417 %attr(755,root,root) %{_sbindir}/amaespipe
418 %attr(4750,root,amanda) %{_sbindir}/amcheck
419 %attr(755,root,root) %{_sbindir}/amcheckdb
420 %attr(755,root,root) %{_sbindir}/amcheckdump
421 %attr(755,root,root) %{_sbindir}/amcleanup
422 %attr(755,root,root) %{_sbindir}/amcrypt*
423 %attr(755,root,root) %{_sbindir}/amdd
424 %attr(755,root,root) %{_sbindir}/amdevcheck
425 %attr(755,root,root) %{_sbindir}/amdump
426 %attr(755,root,root) %{_sbindir}/amfetchdump
427 %attr(755,root,root) %{_sbindir}/amflush
428 %attr(755,root,root) %{_sbindir}/amgetconf
429 %attr(755,root,root) %{_sbindir}/amgpgcrypt
430 %attr(755,root,root) %{_sbindir}/amlabel
431 %attr(755,root,root) %{_sbindir}/ammt
432 %attr(755,root,root) %{_sbindir}/amoverview
433 %attr(755,root,root) %{_sbindir}/amplot
434 %attr(755,root,root) %{_sbindir}/amreport
435 %attr(755,root,root) %{_sbindir}/amrestore
436 %attr(755,root,root) %{_sbindir}/amrmtape
437 %attr(755,root,root) %{_sbindir}/amserverconfig
438 %attr(755,root,root) %{_sbindir}/amstatus
439 %attr(755,root,root) %{_sbindir}/amtape
440 %attr(755,root,root) %{_sbindir}/amtapetype
441 %attr(755,root,root) %{_sbindir}/amtoc
442 %attr(755,root,root) %{_sbindir}/amverify
443 %attr(755,root,root) %{_sbindir}/amverifyrun
444 %{_mandir}/man5/amanda.conf.5*
445 %{_mandir}/man8/amaddclient.8*
446 %{_mandir}/man8/amadmin.8*
447 %{_mandir}/man8/amaespipe.8*
448 %{_mandir}/man8/amanda.8*
449 %{_mandir}/man8/amcheck.8*
450 %{_mandir}/man8/amcheckdb.8*
451 %{_mandir}/man8/amcheckdump.8*
452 %{_mandir}/man8/amcleanup.8*
453 %{_mandir}/man8/amcrypt*.8*
454 %{_mandir}/man8/amdd.8*
455 %{_mandir}/man8/amdevcheck.8*
456 %{_mandir}/man8/amdump.8*
457 %{_mandir}/man8/amfetchdump.8*
458 %{_mandir}/man8/amflush.8*
459 %{_mandir}/man8/amgetconf.8*
460 %{_mandir}/man8/amgpgcrypt.8*
461 %{_mandir}/man8/amlabel.8*
462 %{_mandir}/man8/ammt.8*
463 %{_mandir}/man8/amoverview.8*
464 %{_mandir}/man8/amplot.8*
465 %{_mandir}/man8/amreport.8*
466 %{_mandir}/man8/amrestore.8*
467 %{_mandir}/man8/amrmtape.8*
468 %{_mandir}/man8/amserverconfig.8*
469 %{_mandir}/man8/amstatus.8*
470 %{_mandir}/man8/amtape.8*
471 %{_mandir}/man8/amtapetype.8*
472 %{_mandir}/man8/amtoc.8*
473 %{_mandir}/man8/amverify.8*
474 %{_mandir}/man8/amverifyrun.8*
475
476 %{perl_vendorarch}/Amanda/Changer.pm
477 %{perl_vendorarch}/Amanda/Cmdline.pm
478 %{perl_vendorarch}/Amanda/Device.pm
479 %{perl_vendorarch}/Amanda/Logfile.pm
480 %{perl_vendorarch}/Amanda/Tapefile.pm
481 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
482 %dir %{perl_vendorarch}/auto/Amanda/Device
483 %dir %{perl_vendorarch}/auto/Amanda/Logfile
484 %dir %{perl_vendorarch}/auto/Amanda/Tapefile
485 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
486 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
487 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
488 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so
489 %endif
490
491 %if %{with client}
492 %files client
493 %defattr(644,root,root,755)
494 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
495 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
496 # Commented out so it won't get removed on uninstall
497 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
498 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
499
500 %dir %{_libdir}/amanda/application
501 %attr(755,root,root) %{_libdir}/amanda/application/amgtar
502 %attr(644,root,root) %{_libdir}/amanda/application/generic-dumper
503
504 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
505 %attr(755,root,root) %{_libdir}/amanda/amandad
506 %attr(755,root,root) %{_libdir}/amanda/noop
507 %attr(755,root,root) %{_libdir}/amanda/sendbackup
508 %attr(755,root,root) %{_libdir}/amanda/sendsize
509 %attr(755,root,root) %{_libdir}/amanda/versionsuffix
510 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
511 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
512 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
513 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
514 %attr(755,root,root) %{_libdir}/amanda/selfcheck
515 %attr(755,root,root) %{_sbindir}/amoldrecover
516 %attr(755,root,root) %{_sbindir}/amrecover
517 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
518 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
519 %{_mandir}/man5/amanda-client.conf.5*
520 %{_mandir}/man8/amrecover.8*
521 %endif
522
523 %files perl
524 %defattr(644,root,root,755)
525 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
526 %dir %{perl_vendorarch}/Amanda
527 %{perl_vendorarch}/Amanda/Config.pm
528 %{perl_vendorarch}/Amanda/Debug.pm
529 %{perl_vendorarch}/Amanda/Paths.pm
530 %{perl_vendorarch}/Amanda/Types.pm
531 %{perl_vendorarch}/Amanda/Util.pm
532 %dir %{perl_vendorarch}/auto/Amanda
533 %dir %{perl_vendorarch}/auto/Amanda/Config
534 %dir %{perl_vendorarch}/auto/Amanda/Debug
535 %dir %{perl_vendorarch}/auto/Amanda/Types
536 %dir %{perl_vendorarch}/auto/Amanda/Util
537 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
538 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
539 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
540 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
This page took 0.077326 seconds and 4 git commands to generate.