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