]> git.pld-linux.org Git - packages/amanda.git/blob - amanda.spec
- updated to 3.3.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 %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:        3.3.2
13 Release:        0.1
14 License:        BSD
15 Group:          Networking/Utilities
16 Source0:        http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz
17 # Source0-md5:  1a6cfe47eaee121f22540ac5fa58c366
18 Source1:        %{name}-srv.crontab
19 Source2:        %{name}.inetd
20 Source3:        %{name}idx.inetd
21 Source4:        amidxtape.inetd
22 Source5:        k5%{name}.inet
23 # http://amanda.svn.sourceforge.net/viewvc/amanda/amanda/branches/3_2/contrib/convert-zd-mtx-to-robot.sh
24 Source6:        convert-zd-mtx-to-robot.sh
25 Source7:        %{name}-ssh_config
26 # https://github.com/janekr/amlvm-snapshot
27 Source8:        amlvm-snapshot.conf
28 Source9:        amlvm-snapshot.pl
29 Source10:       amlvm-snapshot.README
30 Patch0:         %{name}-no_libnsl.patch
31 Patch1:         %{name}-chg-zd-mtx-sh.patch
32 Patch2:         %{name}-tar.patch
33 Patch3:         %{name}-common.patch
34 Patch4:         %{name}-as_needed.patch
35 Patch5:         %{name}-tapetypes.patch
36 Patch6:         %{name}-FHS.patch
37 Patch7:         %{name}-no-buildtime-ipv6.patch
38 Patch8:         %{name}-heimdal.patch
39 Patch9:         %{name}-ac.patch
40 Patch11:        %{name}-amstar-exclude-fix.patch
41 Patch12:        %{name}-krb5-auth.patch
42 Patch14:        %{name}-amstar-device.patch
43 URL:            http://www.amanda.org/
44 BuildRequires:  autoconf >= 2.53
45 BuildRequires:  automake
46 BuildRequires:  curl-devel >= 7.10.0
47 BuildRequires:  dump
48 BuildRequires:  flex
49 BuildRequires:  glib2-devel
50 BuildRequires:  gnuplot
51 # curl is broken, see curl-config --libs
52 BuildRequires:  keyutils-devel
53 BuildRequires:  heimdal-devel
54 BuildRequires:  libtool
55 BuildRequires:  libxslt-progs
56 BuildRequires:  ncurses-devel
57 BuildRequires:  openssh-clients
58 BuildRequires:  openssl-devel
59 BuildRequires:  perl-devel >= 5.6.0
60 BuildRequires:  pkgconfig
61 BuildRequires:  readline-devel >= 4.2
62 BuildRequires:  rpmbuild(macros) >= 1.559
63 BuildRequires:  rpm-perlprov
64 %{?with_samba:BuildRequires:    samba-client}
65 BuildRequires:  swig
66 %{?with_xfs:BuildRequires:      xfsdump}
67 Conflicts:      shadow < 1:4.0.4.1-4
68 Conflicts:      pwdutils < 3.1.2-2
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 # for some unknown reason those get detected in R but not in P (Tie::StdHash comes from perl)
72 %define         _noautoreq      'perl(Tie::StdHash)' 'perl(Amanda::Recovery::Clerk::Feedback)' 'perl(Amanda::Taper::Scribe::Feedback)'
73
74 %define         _ulibdir        %{_prefix}/lib
75
76 %description
77 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
78 backup system that allows the administrator of a LAN to set up a
79 single master backup server to back up multiple hosts to a single
80 large capacity tape drive. AMANDA uses native dump and/or GNU tar
81 facilities and can back up a large number of workstations running
82 multiple versions of Unix. Newer versions of AMANDA (including this
83 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
84 The amanda package contains the core AMANDA programs and will need to
85 be installed on both AMANDA clients and AMANDA servers. Note that you
86 will have to install the amanda-client and amanda-server packages as
87 well.
88
89 %description -l pl.UTF-8
90 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
91 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
92 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
93 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
94 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
95 podstawowe pliki programu i powinien być zainstalowany zarówno na
96 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
97 amanda-client i amanda-server!
98
99 %package common
100 Summary:        Amanda common files
101 Summary(pl.UTF-8):      Wspólne pliki pakietu amanda
102 Group:          Networking/Utilities
103 Requires(postun):       /usr/sbin/groupdel
104 Requires(postun):       /usr/sbin/userdel
105 Requires(pre):  /bin/id
106 Requires(pre):  /usr/bin/chsh
107 Requires(pre):  /usr/bin/getgid
108 Requires(pre):  /usr/sbin/groupadd
109 Requires(pre):  /usr/sbin/useradd
110 %requires_ge    glib2
111 Requires:       setup >= 2.6.1-1
112 Provides:       group(amanda)
113 Provides:       user(amanda)
114 Obsoletes:      amanda-libs
115 Obsoletes:      amanda-perl
116
117 %description common
118 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
119 backup system that allows the administrator of a LAN to set up a
120 single master backup server to back up multiple hosts to a single
121 large capacity tape drive. AMANDA uses native dump and/or GNU tar
122 facilities and can back up a large number of workstations running
123 multiple versions of Unix. Newer versions of AMANDA (including this
124 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
125 The amanda package contains the core AMANDA programs and will need to
126 be installed on both AMANDA clients and AMANDA servers. Note that you
127 will have to install the amanda-client and amanda-server packages as
128 well.
129
130 Amanda common files.
131
132 %description common -l pl.UTF-8
133 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
134 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
135 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
136 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
137 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
138 podstawowe pliki programu i powinien być zainstalowany zarówno na
139 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
140 amanda-client i amanda-server!
141
142 Wspólne pliki pakietu amanda.
143
144 %package client
145 Summary:        The client side of Amanda
146 Summary(pl.UTF-8):      Klient Amandy
147 Group:          Networking/Utilities
148 Requires(post): /bin/hostname
149 Requires(post): /usr/bin/ssh-keygen
150 Requires:       %{name}-common = %{version}-%{release}
151 Requires:       rc-inetd
152 Suggests:       openssh-clients
153 Suggests:       openssh-server
154 Suggests:       tar
155 Suggests:       gzip
156 Suggests:       star
157 Conflicts:      tar < 1.15
158
159 %description client
160 The Amanda-client package should be installed on any machine that will
161 be backed up by AMANDA (including the server if it also needs to be
162 backed up). You will also need to install the amanda package to each
163 AMANDA client. It requires at least one of dump and GNU tar installed.
164
165 %description client -l pl.UTF-8
166 Ten pakiet powinien być zainstalowany ma maszynach, z których
167 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
168 najmniej jednego z pakietów dump i GNU tar.
169
170 %package server
171 Summary:        The server side of Amanda
172 Summary(pl.UTF-8):      Serwer Amandy
173 Group:          Networking/Utilities
174 Requires(post): /bin/hostname
175 Requires(post): /usr/bin/ssh-keygen
176 Requires:       %{name}-common = %{version}-%{release}
177 Requires:       /etc/cron.d
178 Requires:       crondaemon
179 Requires:       gnuplot
180 Requires:       mt-st
181 Requires:       mtx
182 Requires:       rc-inetd
183 Suggests:       openssh-clients
184 Suggests:       openssh-server
185 Obsoletes:      amanda
186 Obsoletes:      amanda-perl-server
187
188 %description server
189 The amanda-server package should be installed on the AMANDA server,
190 the machine attached to the device (such as a tape drive) where
191 backups will be written. You will also need to install the amanda
192 package to the AMANDA server. And, if the server is also to be backed
193 up, the server also needs to have the amanda-client package installed.
194
195 %description server -l pl.UTF-8
196 Ten pakiet powinien być zainstalowany na maszynach, na których będą
197 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
198 typu streamer).
199
200 %prep
201 %setup -q
202 %patch0 -p1
203 %patch1 -p1
204 %patch2 -p1
205 %patch3 -p1
206 %patch4 -p1
207 %patch5 -p1
208 %patch6 -p1
209 %patch7 -p1
210 %patch8 -p1
211 %patch9 -p1
212 %patch11 -p1
213 %patch12 -p1
214 %patch14 -p1
215 cp -a %{SOURCE10} .
216
217 %build
218 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
219 %{__autoconf}
220 %{__automake}
221 %configure \
222         DUMP=/sbin/dump \
223         GZIP=/bin/gzip \
224         MAILER=/bin/mail \
225         MT=/bin/mt \
226         MTX=/usr/sbin/mtx \
227         PRINT=/usr/bin/lpr \
228         RESTORE=/sbin/restore \
229         %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
230         %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
231         --disable-static \
232         --enable-shared \
233         %{!?with_server:--without-server} \
234         %{!?with_client:--without-client} \
235         --with-index-server=localhost \
236         --with-user=amanda \
237         --with-group=amanda \
238         --with-tape-device=/dev/null \
239         --with-fqdn \
240         %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
241         --with-star=%{_bindir}/star \
242         --with-gnuplot=%{_bindir}/gnuplot \
243         --with-bsd-security \
244         --with-bsdtcp-security \
245         --with-ssh-security \
246         --with-krb5-security \
247         --with-buffered-dump \
248         --with-amandahosts \
249         --with-configdir=%{_sysconfdir}/amanda \
250         --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
251         --with-amandates=%{_sharedstatedir}/amanda/amandates \
252         --with-debugging=%{_sharedstatedir}/amanda/debug \
253         --with-tmpdir=/var/tmp/amanda \
254         --with-amperldir=%{perl_vendorarch} \
255         --with-ipv6 \
256         --with-readline \
257         --disable-installperms
258
259 %{__make}
260
261 %install
262 rm -rf $RPM_BUILD_ROOT
263 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
264         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
265         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
266
267 %{__make} install \
268         DESTDIR=$RPM_BUILD_ROOT
269
270 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
271 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
272 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
273 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
274 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE5} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/k5amanda
275
276 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
277 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
278 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
279
280 install %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/amconvert-zd-mtx-to-robot.sh
281
282 install %{SOURCE7} $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/config
283 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
284 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
285 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
286
287 %if %{with server}
288 install -p %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/amanda/lvm-snapshot.conf
289 %endif
290
291 %if %{with client}
292 sed -e 's|@@PERL_VENDORARCH@@|%{perl_vendorarch}|' %{SOURCE9} >$RPM_BUILD_ROOT%{_libdir}/amanda/application/amlvm-snapshot
293 %endif
294
295 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
296
297 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
298 # Tools can't be "fixed" because keys generated on server are to be used on client
299 if [ "%{_lib}" != "lib" ] ; then
300         install -d $RPM_BUILD_ROOT%{_ulibdir}
301         ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
302 fi
303
304 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
305
306 %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes}
307 %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/example/{chg-multi,chg-scsi}.conf
308
309 %clean
310 rm -rf $RPM_BUILD_ROOT
311
312 %triggerpostun common -- amanda-libs < 2.6.0p2-3
313 echo "Adding amanda to disk and tape groups"
314 /usr/sbin/usermod -G disk,tape amanda
315 echo "Setting amanda shell to /bin/sh"
316 /usr/bin/chsh -s /bin/sh amanda
317 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
318         echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
319         chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
320         chmod 600 %{_sharedstatedir}/amanda/.amandahosts
321 fi
322
323 %triggerpostun common -- amanda-common < 3.3
324 %banner %{name}-common -e << EOF
325 In amanda 3.3 the default auth has changed to "bsdtcp",
326 if you are using the default "bsd" then you must add it
327 to your configuration:
328
329  *   in amanda.conf
330  *   in amanda-client.conf
331  *   in dumptype/disklist
332  *   in inetd (if no '-auth' argument to amandad)
333 EOF
334                 
335 %pre common
336 %groupadd -P %{name}-common -g 80 amanda
337 %useradd -P %{name}-common -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
338
339 %postun common
340 if [ "$1" = "0" ]; then
341         %userremove amanda
342         %groupremove amanda
343 fi
344
345 %post client
346 %service -q rc-inetd reload
347 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
348         HOST="`/bin/hostname`"
349         FQDNHOST="`/bin/hostname -f`"
350         if [ -z "$HOST" ] ; then
351                 COMMENT="root@client"
352         else
353                 COMMENT="root@$HOST"
354         fi
355         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
356         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
357         chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
358         if [ -n "$FQDNHOST" ]; then
359                 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
360                 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
361
362                 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
363                 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
364         fi
365 fi
366
367 %postun client
368 if [ "$1" = 0 ]; then
369         %service -q rc-inetd reload
370 fi
371
372 %post server
373 %service -q rc-inetd reload
374 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
375         HOST="`/bin/hostname`"
376         if [ -z "$HOST" ] ; then
377                 COMMENT="amanda@server"
378         else
379                 COMMENT="amanda@$HOST"
380         fi
381         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
382         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
383         chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
384 fi
385 if [ "$1" = "1" ]; then
386         echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
387 fi
388
389 %postun server
390 if [ "$1" = 0 ]; then
391         %service -q rc-inetd reload
392 fi
393
394 %triggerpostun server -- amanda-server < 3.2.0
395 %banner %{name} -e << EOF
396 Warning: Tape changer configuration has chaged, please read
397 %{_docdir}/%{name}-server-%{version}/ReleaseNotes.gz
398 and %{_docdir}/%{name}-server-%{version}/NEWS.gz for details.
399 You can use %{_sbindir}/amconvert-zd-mtx-to-robot.sh script
400 to upgrade to chg-robot.
401 EOF
402
403 %files common
404 %defattr(644,root,root,755)
405 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING amlvm-snapshot.README
406 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
407 %attr(755,root,root) %{_libdir}/amanda/libamar*.so
408 %attr(755,root,root) %{_libdir}/amanda/libamxfer*.so
409 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
410 %attr(755,root,root) %{_libdir}/amanda/libndmjob*.so
411 %attr(755,root,root) %{_libdir}/amanda/libndmlib*.so
412 %attr(755,root,root) %{_libdir}/amanda/amndmjob
413 %attr(755,root,root) %{_libdir}/amanda/ndmjob
414 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
415 %dir %{_libdir}/amanda
416 %if %{_lib} != "lib"
417 %{_ulibdir}/amanda
418 %endif
419 %{_libdir}/amanda/amanda-sh-lib.sh
420 %attr(755,root,root) %{_sbindir}/amaespipe
421 %attr(755,root,root) %{_sbindir}/amarchiver
422 %attr(755,root,root) %{_sbindir}/amcrypt*
423 %attr(755,root,root) %{_sbindir}/amgetconf
424 %attr(755,root,root) %{_sbindir}/amgpgcrypt
425 %attr(750,amanda,amanda) %dir %{_datadir}/amanda
426 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example
427 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example/label-templates
428 %attr(640,amanda,amanda) %{_datadir}/amanda/example/*amanda*
429 %attr(640,amanda,amanda) %{_datadir}/amanda/example/disklist
430 %attr(640,amanda,amanda) %{_datadir}/amanda/example/label-templates/*.ps
431 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/template.d
432 %attr(640,amanda,amanda) %{_datadir}/amanda/template.d/*
433 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
434 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
435 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
436 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
437 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
438 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
439 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.ssh/config
440 # Commented out so it won't get removed on uninstall
441 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
442 %{_mandir}/man5/amanda-archive-format.5*
443 %{_mandir}/man7/amanda-auth.7*
444 %{_mandir}/man7/amanda-match.7*
445 %{_mandir}/man7/amanda-scripts.7*
446 %{_mandir}/man8/amaespipe.8*
447 %{_mandir}/man8/amanda.8*
448 %{_mandir}/man8/amarchiver.8*
449 %{_mandir}/man8/amcrypt*.8*
450 %{_mandir}/man8/amgetconf.8*
451 %{_mandir}/man8/amgpgcrypt.8*
452 %{_mandir}/man8/script-email.8*
453
454 %dir %{perl_vendorarch}/Amanda
455 %dir %{perl_vendorarch}/Amanda/Config
456 %dir %{perl_vendorarch}/Amanda/IPC
457 %{perl_vendorarch}/Amanda/Archive.pm
458 %{perl_vendorarch}/Amanda/BigIntCompat.pm
459 %{perl_vendorarch}/Amanda/ClientService.pm
460 %{perl_vendorarch}/Amanda/Config.pm
461 %{perl_vendorarch}/Amanda/Config/FoldingHash.pm
462 %{perl_vendorarch}/Amanda/Constants.pm
463 %{perl_vendorarch}/Amanda/Debug.pm
464 %{perl_vendorarch}/Amanda/Feature.pm
465 %{perl_vendorarch}/Amanda/Header.pm
466 %{perl_vendorarch}/Amanda/IPC/Binary.pm
467 %{perl_vendorarch}/Amanda/IPC/LineProtocol.pm
468 %{perl_vendorarch}/Amanda/MainLoop.pm
469 %{perl_vendorarch}/Amanda/NDMP.pm
470 %{perl_vendorarch}/Amanda/Paths.pm
471 %{perl_vendorarch}/Amanda/Process.pm
472 %{perl_vendorarch}/Amanda/Script.pm
473 %{perl_vendorarch}/Amanda/Script_App.pm
474 %{perl_vendorarch}/Amanda/Tests.pm
475 %{perl_vendorarch}/Amanda/Util.pm
476 %{perl_vendorarch}/Amanda/Xfer.pm
477 %dir %{perl_vendorarch}/auto/Amanda
478 %dir %{perl_vendorarch}/auto/Amanda/Archive
479 %dir %{perl_vendorarch}/auto/Amanda/Config
480 %dir %{perl_vendorarch}/auto/Amanda/Debug
481 %dir %{perl_vendorarch}/auto/Amanda/Feature
482 %dir %{perl_vendorarch}/auto/Amanda/Header
483 %dir %{perl_vendorarch}/auto/Amanda/IPC
484 %dir %{perl_vendorarch}/auto/Amanda/IPC/Binary
485 %dir %{perl_vendorarch}/auto/Amanda/MainLoop
486 %dir %{perl_vendorarch}/auto/Amanda/NDMP
487 %dir %{perl_vendorarch}/auto/Amanda/Tests
488 %dir %{perl_vendorarch}/auto/Amanda/Util
489 %dir %{perl_vendorarch}/auto/Amanda/Xfer
490 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Archive/*.so
491 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
492 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Feature/*.so
493 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Header/*.so
494 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/IPC/Binary/*.so
495 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
496 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/MainLoop/*.so
497 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/NDMP/*.so
498 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tests/*.so
499 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
500 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Xfer/*.so
501
502 %if %{with server}
503 %files server
504 %defattr(644,root,root,755)
505 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
506 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
507
508 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
509 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/lvm-snapshot.conf
510
511 # Commented out so it won't get removed on uninstall
512 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
513 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
514
515 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
516
517 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
518
519 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
520 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
521
522 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
523 %attr(755,root,root) %{_libdir}/amanda/amcheck-device
524 %attr(755,root,root) %{_libdir}/amanda/amdumpd
525 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
526 %attr(755,root,root) %{_libdir}/amanda/amindexd
527 %attr(755,root,root) %{_libdir}/amanda/amlogroll
528 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
529 %attr(755,root,root) %{_libdir}/amanda/amplot.g
530 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
531 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
532 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
533 %attr(755,root,root) %{_libdir}/amanda/chg-disk
534 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
535 %attr(755,root,root) %{_libdir}/amanda/chg-manual
536 %attr(755,root,root) %{_libdir}/amanda/chg-multi
537 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
538 %attr(755,root,root) %{_libdir}/amanda/chunker
539 %attr(755,root,root) %{_libdir}/amanda/driver
540 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
541 %attr(4750,root,amanda) %{_libdir}/amanda/planner
542 %attr(755,root,root) %{_libdir}/amanda/taper
543
544 %attr(755,root,root) %{_sbindir}/activate-devpay
545 %attr(755,root,root) %{_sbindir}/amaddclient
546 %attr(755,root,root) %{_sbindir}/amadmin
547 %attr(4750,root,amanda) %{_sbindir}/amcheck
548 %attr(755,root,root) %{_sbindir}/amcheckdb
549 %attr(755,root,root) %{_sbindir}/amcheckdump
550 %attr(755,root,root) %{_sbindir}/amcleanup
551 %attr(755,root,root) %{_sbindir}/amcleanupdisk
552 %attr(755,root,root) %{_sbindir}/amconvert-zd-mtx-to-robot.sh
553 %attr(755,root,root) %{_sbindir}/amdevcheck
554 %attr(755,root,root) %{_sbindir}/amdump
555 %attr(755,root,root) %{_sbindir}/amfetchdump
556 %attr(755,root,root) %{_sbindir}/amflush
557 %attr(755,root,root) %{_sbindir}/amlabel
558 %attr(755,root,root) %{_sbindir}/amoverview
559 %attr(755,root,root) %{_sbindir}/amplot
560 %attr(755,root,root) %{_sbindir}/amreport
561 %attr(755,root,root) %{_sbindir}/amrestore
562 %attr(755,root,root) %{_sbindir}/amrmtape
563 %attr(755,root,root) %{_sbindir}/amserverconfig
564 %attr(755,root,root) %{_sbindir}/amservice
565 %attr(755,root,root) %{_sbindir}/amstatus
566 %attr(755,root,root) %{_sbindir}/amtape
567 %attr(755,root,root) %{_sbindir}/amtapetype
568 %attr(755,root,root) %{_sbindir}/amtoc
569 %attr(755,root,root) %{_sbindir}/amvault
570 %{_mandir}/man5/amanda.conf.5*
571 %{_mandir}/man5/disklist.5*
572 %{_mandir}/man5/tapelist.5*
573 %{_mandir}/man7/amanda-changers.7*
574 %{_mandir}/man7/amanda-compatibility.7*
575 %{_mandir}/man7/amanda-devices.7*
576 %{_mandir}/man7/amanda-interactivity.7*
577 %{_mandir}/man7/amanda-taperscan.7*
578 %{_mandir}/man8/amaddclient.8*
579 %{_mandir}/man8/amadmin.8*
580 %{_mandir}/man8/amcheck.8*
581 %{_mandir}/man8/amcheckdb.8*
582 %{_mandir}/man8/amcheckdump.8*
583 %{_mandir}/man8/amcleanup.8*
584 %{_mandir}/man8/amcleanupdisk.8*
585 %{_mandir}/man8/amdevcheck.8*
586 %{_mandir}/man8/amdump.8*
587 %{_mandir}/man8/amfetchdump.8*
588 %{_mandir}/man8/amflush.8*
589 %{_mandir}/man8/amlabel.8*
590 %{_mandir}/man8/amoverview.8*
591 %{_mandir}/man8/amplot.8*
592 %{_mandir}/man8/amreport.8*
593 %{_mandir}/man8/amrestore.8*
594 %{_mandir}/man8/amrmtape.8*
595 %{_mandir}/man8/amserverconfig.8*
596 %{_mandir}/man8/amservice.8*
597 %{_mandir}/man8/amstatus.8*
598 %{_mandir}/man8/amtape.8*
599 %{_mandir}/man8/amtapetype.8*
600 %{_mandir}/man8/amtoc.8*
601 %{_mandir}/man8/amvault.8*
602
603 %{perl_vendorarch}/Amanda/Changer.pm
604 %dir %{perl_vendorarch}/Amanda/Changer
605 %{perl_vendorarch}/Amanda/Changer/*.pm
606 %{perl_vendorarch}/Amanda/Cmdline.pm
607 %{perl_vendorarch}/Amanda/Curinfo.pm
608 %dir %{perl_vendorarch}/Amanda/Curinfo
609 %{perl_vendorarch}/Amanda/Curinfo/*.pm
610 %dir %{perl_vendorarch}/Amanda/DB
611 %{perl_vendorarch}/Amanda/DB/*.pm
612 %{perl_vendorarch}/Amanda/Device.pm
613 %{perl_vendorarch}/Amanda/Disklist.pm
614 %{perl_vendorarch}/Amanda/Holding.pm
615 %{perl_vendorarch}/Amanda/Interactivity.pm
616 %dir %{perl_vendorarch}/Amanda/Interactivity
617 %{perl_vendorarch}/Amanda/Interactivity/*.pm
618 %{perl_vendorarch}/Amanda/Logfile.pm
619 %dir %{perl_vendorarch}/Amanda/Recovery
620 %{perl_vendorarch}/Amanda/Recovery/*.pm
621 %{perl_vendorarch}/Amanda/Report.pm
622 %dir %{perl_vendorarch}/Amanda/Report
623 %{perl_vendorarch}/Amanda/Report/*.pm
624 %{perl_vendorarch}/Amanda/ScanInventory.pm
625 %{perl_vendorarch}/Amanda/Tapelist.pm
626 %dir %{perl_vendorarch}/Amanda/Taper
627 %{perl_vendorarch}/Amanda/Taper/*.pm
628 %dir %{perl_vendorarch}/Amanda/Taper/Scan
629 %{perl_vendorarch}/Amanda/Taper/Scan/*.pm
630 %{perl_vendorarch}/Amanda/XferServer.pm
631 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
632 %dir %{perl_vendorarch}/auto/Amanda/Device
633 %dir %{perl_vendorarch}/auto/Amanda/Disklist
634 %dir %{perl_vendorarch}/auto/Amanda/Logfile
635 %dir %{perl_vendorarch}/auto/Amanda/Tapelist
636 %dir %{perl_vendorarch}/auto/Amanda/XferServer
637 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
638 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
639 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Disklist/*.so
640 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
641 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapelist/*.so
642 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/XferServer/*.so
643 %endif
644
645 %if %{with client}
646 %files client
647 %defattr(644,root,root,755)
648 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
649 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/k5amanda
650 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
651 # Commented out so it won't get removed on uninstall
652 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
653 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
654
655 %dir %{_libdir}/amanda/application
656 %attr(4750,root,amanda) %{_libdir}/amanda/application/amgtar
657 %attr(755,root,root) %{_libdir}/amanda/application/amlog-script
658 %attr(755,root,root) %{_libdir}/amanda/application/amlvm-snapshot
659 %attr(755,root,root) %{_libdir}/amanda/application/ampgsql
660 %attr(755,root,root) %{_libdir}/amanda/application/amraw
661 %attr(755,root,root) %{_libdir}/amanda/application/amsamba
662 %attr(4750,root,amanda) %{_libdir}/amanda/application/amstar
663 %attr(755,root,root) %{_libdir}/amanda/application/amsuntar
664 %attr(755,root,root) %{_libdir}/amanda/application/amzfs*
665 %attr(755,root,root) %{_libdir}/amanda/application/script-email
666
667 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
668 %attr(755,root,root) %{_libdir}/amanda/amandad
669 %attr(755,root,root) %{_libdir}/amanda/noop
670 %attr(755,root,root) %{_libdir}/amanda/patch-system
671 %attr(755,root,root) %{_libdir}/amanda/sendbackup
672 %attr(755,root,root) %{_libdir}/amanda/sendsize
673 %attr(755,root,root) %{_libdir}/amanda/teecount
674 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
675 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
676 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
677 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
678 %attr(755,root,root) %{_libdir}/amanda/selfcheck
679 %attr(755,root,root) %{_sbindir}/amdump_client
680 %attr(755,root,root) %{_sbindir}/amoldrecover
681 %attr(755,root,root) %{_sbindir}/amrecover
682 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
683 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
684 %{_mandir}/man7/amanda-applications.7*
685 %{_mandir}/man5/amanda-client.conf.5*
686 %{_mandir}/man8/amdump_client.8*
687 %{_mandir}/man8/amgtar.8*
688 %{_mandir}/man8/ampgsql.8*
689 %{_mandir}/man8/amrecover.8*
690 %{_mandir}/man8/amraw.8*
691 %{_mandir}/man8/amsamba.8*
692 %{_mandir}/man8/amstar.8*
693 %{_mandir}/man8/amsuntar.8*
694 %{_mandir}/man8/amzfs*.8*
695
696 %{perl_vendorarch}/Amanda/Application.pm
697 %dir %{perl_vendorarch}/Amanda/Application
698 %{perl_vendorarch}/Amanda/Application/Zfs.pm
699 %dir %{perl_vendorarch}/auto/Amanda/Application
700 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Application/*.so
701 %endif
This page took 0.073383 seconds and 4 git commands to generate.