]> git.pld-linux.org Git - packages/amanda.git/blob - amanda.spec
- no need to regenerate libtool
[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.0p1
13 Release:        1
14 License:        BSD
15 Group:          Networking/Utilities
16 Source0:        http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
17 # Source0-md5:  afadad80e0a27963a24b510755470983
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 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
185 %{__autoconf}
186 %{__automake}
187 %configure \
188         DUMP=/sbin/dump \
189         GNUPLOT=/usr/bin/gnuplot \
190         GZIP=/bin/gzip \
191         MAILER=/bin/mail \
192         MT=/bin/mt \
193         MTX=/usr/sbin/mtx \
194         PRINT=/usr/bin/lpr \
195         RESTORE=/sbin/restore \
196         STAR=/usr/bin/star \
197         %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
198         %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
199         --disable-static \
200         --enable-shared \
201         %{!?with_server:--without-server} \
202         %{!?with_client:--without-client} \
203         --with-index-server=localhost \
204         --with-user=amanda \
205         --with-group=amanda \
206         --with-tape-device=/dev/null \
207         --with-ftape-rawdevice=/dev/null \
208         --with-changer-device=/dev/null \
209         --with-fqdn \
210         %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
211         --with-bsd-security \
212         --with-ssh-security \
213         --with-krb5-security \
214         --without-krb4-security \
215         --with-buffered-dump \
216         --with-amandahosts \
217         --with-configdir=%{_sysconfdir}/amanda \
218         --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
219         --with-amandates=%{_sharedstatedir}/amanda/amandates \
220         --with-debugging=%{_sharedstatedir}/amanda/debug \
221         --with-tmpdir=/var/tmp \
222         --with-amperldir=%{perl_vendorarch} \
223         --with-ipv6 \
224         --disable-installperms
225
226 %{__make}
227
228 %install
229 rm -rf $RPM_BUILD_ROOT
230 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
231         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
232         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
233
234 %{__make} install \
235         DESTDIR=$RPM_BUILD_ROOT
236
237 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
238 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
239 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
240 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
241
242 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
243 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
244 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
245
246 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
247 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
248 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
249
250 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
251
252 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
253 # Tools can't be "fixed" because keys generated on server are to be used on client
254 if [ "%{_lib}" != "lib" ] ; then
255         install -d $RPM_BUILD_ROOT%{_ulibdir}
256         ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
257 fi
258
259 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
260
261 %clean
262 rm -rf $RPM_BUILD_ROOT
263
264 %triggerpostun libs -- %{name}-libs < 2.5.1p2-1
265 echo "Adding amanda to disk and backup groups"
266 /usr/sbin/usermod -G disk,backup amanda
267 echo "Setting amanda shell to /bin/sh"
268 /usr/bin/chsh -s /bin/sh amanda
269 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
270         echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
271         chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
272         chmod 600 %{_sharedstatedir}/amanda/.amandahosts
273 fi
274
275 %pre libs
276 %groupadd -P %{name}-libs -g 80 amanda
277 %useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
278
279 %postun libs
280 if [ "$1" = "0" ]; then
281         %userremove amanda
282         %groupremove amanda
283 fi
284
285 %post client
286 %service -q rc-inetd reload
287 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
288         HOST="`/bin/hostname`"
289         FQDNHOST="`/bin/hostname -f`"
290         if [ -z "$HOST" ] ; then
291                 COMMENT="root@client"
292         else
293                 COMMENT="root@$HOST"
294         fi
295         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
296         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
297         chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
298         if [ -n "$FQDNHOST" ]; then
299                 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
300                 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
301
302                 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
303                 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
304         fi
305 fi
306
307 %postun client
308 if [ "$1" = 0 ]; then
309         %service -q rc-inetd reload
310 fi
311
312 %post server
313 %service -q rc-inetd reload
314 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
315         HOST="`/bin/hostname`"
316         if [ -z "$HOST" ] ; then
317                 COMMENT="amanda@server"
318         else
319                 COMMENT="amanda@$HOST"
320         fi
321         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
322         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
323         chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
324 fi
325 if [ "$1" = "1" ]; then
326         echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
327 fi
328
329 %postun server
330 if [ "$1" = 0 ]; then
331         %service -q rc-inetd reload
332 fi
333
334 %files libs
335 %defattr(644,root,root,755)
336 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
337 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
338 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
339 %dir %{_libdir}/amanda
340 %if %{_lib} != "lib"
341 %{_ulibdir}/amanda
342 %endif
343 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
344 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
345 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
346 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
347 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
348 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
349 # Commented out so it won't get removed on uninstall
350 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
351
352 %if %{with server}
353 %files server
354 %defattr(644,root,root,755)
355 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
356 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
357
358 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
359
360 # Commented out so it won't get removed on uninstall
361 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
362 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
363
364 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
365 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
366 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
367 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
368 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
369 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
370 %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
371
372 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
373
374 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
375 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
376 %attr(755,root,root) %{_libdir}/amanda/libamtape*.so
377 %attr(755,root,root) %{_libdir}/amanda/librestore*.so
378
379 %{_libdir}/amanda/amanda-sh-lib.sh
380 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
381 %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
382 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
383 %attr(755,root,root) %{_libdir}/amanda/amindexd
384 %attr(755,root,root) %{_libdir}/amanda/amlogroll
385 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
386 %attr(755,root,root) %{_libdir}/amanda/amplot.g
387 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
388 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
389 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
390 %attr(755,root,root) %{_libdir}/amanda/chg-chio
391 %attr(755,root,root) %{_libdir}/amanda/chg-chs
392 %attr(755,root,root) %{_libdir}/amanda/chg-disk
393 %attr(755,root,root) %{_libdir}/amanda/chg-iomega
394 %attr(755,root,root) %{_libdir}/amanda/chg-juke
395 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
396 %attr(755,root,root) %{_libdir}/amanda/chg-manual
397 %attr(755,root,root) %{_libdir}/amanda/chg-mcutil
398 %attr(755,root,root) %{_libdir}/amanda/chg-mtx
399 %attr(755,root,root) %{_libdir}/amanda/chg-multi
400 %attr(755,root,root) %{_libdir}/amanda/chg-null
401 %attr(755,root,root) %{_libdir}/amanda/chg-rait
402 %attr(755,root,root) %{_libdir}/amanda/chg-rth
403 %attr(755,root,root) %{_libdir}/amanda/chg-scsi
404 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
405 %attr(755,root,root) %{_libdir}/amanda/chunker
406 %attr(755,root,root) %{_libdir}/amanda/driver
407 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
408 %attr(755,root,root) %{_libdir}/amanda/patch-system
409 %attr(4750,root,amanda) %{_libdir}/amanda/planner
410 %attr(755,root,root) %{_libdir}/amanda/taper
411
412 %attr(755,root,root) %{_sbindir}/amaddclient
413 %attr(755,root,root) %{_sbindir}/amadmin
414 %attr(755,root,root) %{_sbindir}/amaespipe
415 %attr(4750,root,amanda) %{_sbindir}/amcheck
416 %attr(755,root,root) %{_sbindir}/amcheckdb
417 %attr(755,root,root) %{_sbindir}/amcheckdump
418 %attr(755,root,root) %{_sbindir}/amcleanup
419 %attr(755,root,root) %{_sbindir}/amcrypt*
420 %attr(755,root,root) %{_sbindir}/amdd
421 %attr(755,root,root) %{_sbindir}/amdevcheck
422 %attr(755,root,root) %{_sbindir}/amdump
423 %attr(755,root,root) %{_sbindir}/amfetchdump
424 %attr(755,root,root) %{_sbindir}/amflush
425 %attr(755,root,root) %{_sbindir}/amgetconf
426 %attr(755,root,root) %{_sbindir}/amgpgcrypt
427 %attr(755,root,root) %{_sbindir}/amlabel
428 %attr(755,root,root) %{_sbindir}/ammt
429 %attr(755,root,root) %{_sbindir}/amoverview
430 %attr(755,root,root) %{_sbindir}/amplot
431 %attr(755,root,root) %{_sbindir}/amreport
432 %attr(755,root,root) %{_sbindir}/amrestore
433 %attr(755,root,root) %{_sbindir}/amrmtape
434 %attr(755,root,root) %{_sbindir}/amserverconfig
435 %attr(755,root,root) %{_sbindir}/amstatus
436 %attr(755,root,root) %{_sbindir}/amtape
437 %attr(755,root,root) %{_sbindir}/amtapetype
438 %attr(755,root,root) %{_sbindir}/amtoc
439 %attr(755,root,root) %{_sbindir}/amverify
440 %attr(755,root,root) %{_sbindir}/amverifyrun
441 %{_mandir}/man5/amanda.conf.5*
442 %{_mandir}/man8/amaddclient.8*
443 %{_mandir}/man8/amadmin.8*
444 %{_mandir}/man8/amaespipe.8*
445 %{_mandir}/man8/amanda.8*
446 %{_mandir}/man8/amcheck.8*
447 %{_mandir}/man8/amcheckdb.8*
448 %{_mandir}/man8/amcheckdump.8*
449 %{_mandir}/man8/amcleanup.8*
450 %{_mandir}/man8/amcrypt*.8*
451 %{_mandir}/man8/amdd.8*
452 %{_mandir}/man8/amdevcheck.8*
453 %{_mandir}/man8/amdump.8*
454 %{_mandir}/man8/amfetchdump.8*
455 %{_mandir}/man8/amflush.8*
456 %{_mandir}/man8/amgetconf.8*
457 %{_mandir}/man8/amgpgcrypt.8*
458 %{_mandir}/man8/amlabel.8*
459 %{_mandir}/man8/ammt.8*
460 %{_mandir}/man8/amoverview.8*
461 %{_mandir}/man8/amplot.8*
462 %{_mandir}/man8/amreport.8*
463 %{_mandir}/man8/amrestore.8*
464 %{_mandir}/man8/amrmtape.8*
465 %{_mandir}/man8/amserverconfig.8*
466 %{_mandir}/man8/amstatus.8*
467 %{_mandir}/man8/amtape.8*
468 %{_mandir}/man8/amtapetype.8*
469 %{_mandir}/man8/amtoc.8*
470 %{_mandir}/man8/amverify.8*
471 %{_mandir}/man8/amverifyrun.8*
472
473 %{perl_vendorarch}/Amanda/Changer.pm
474 %{perl_vendorarch}/Amanda/Cmdline.pm
475 %{perl_vendorarch}/Amanda/Device.pm
476 %{perl_vendorarch}/Amanda/Logfile.pm
477 %{perl_vendorarch}/Amanda/Tapefile.pm
478 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
479 %dir %{perl_vendorarch}/auto/Amanda/Device
480 %dir %{perl_vendorarch}/auto/Amanda/Logfile
481 %dir %{perl_vendorarch}/auto/Amanda/Tapefile
482 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
483 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
484 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
485 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so
486 %endif
487
488 %if %{with client}
489 %files client
490 %defattr(644,root,root,755)
491 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
492 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
493 # Commented out so it won't get removed on uninstall
494 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
495 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
496
497 %dir %{_libdir}/amanda/application
498 %attr(755,root,root) %{_libdir}/amanda/application/amgtar
499 %attr(644,root,root) %{_libdir}/amanda/application/generic-dumper
500
501 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
502 %attr(755,root,root) %{_libdir}/amanda/amandad
503 %attr(755,root,root) %{_libdir}/amanda/noop
504 %attr(755,root,root) %{_libdir}/amanda/sendbackup
505 %attr(755,root,root) %{_libdir}/amanda/sendsize
506 %attr(755,root,root) %{_libdir}/amanda/versionsuffix
507 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
508 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
509 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
510 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
511 %attr(755,root,root) %{_libdir}/amanda/selfcheck
512 %attr(755,root,root) %{_sbindir}/amoldrecover
513 %attr(755,root,root) %{_sbindir}/amrecover
514 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
515 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
516 %{_mandir}/man5/amanda-client.conf.5*
517 %{_mandir}/man8/amrecover.8*
518 %endif
519
520 %files perl
521 %defattr(644,root,root,755)
522 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
523 %dir %{perl_vendorarch}/Amanda
524 %{perl_vendorarch}/Amanda/Config.pm
525 %{perl_vendorarch}/Amanda/Debug.pm
526 %{perl_vendorarch}/Amanda/Paths.pm
527 %{perl_vendorarch}/Amanda/Types.pm
528 %{perl_vendorarch}/Amanda/Util.pm
529 %dir %{perl_vendorarch}/auto/Amanda
530 %dir %{perl_vendorarch}/auto/Amanda/Config
531 %dir %{perl_vendorarch}/auto/Amanda/Debug
532 %dir %{perl_vendorarch}/auto/Amanda/Types
533 %dir %{perl_vendorarch}/auto/Amanda/Util
534 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
535 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
536 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
537 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
This page took 0.085092 seconds and 4 git commands to generate.