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