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