]> git.pld-linux.org Git - packages/amanda.git/blame - amanda.spec
- cleaned post
[packages/amanda.git] / amanda.spec
CommitLineData
277a8aa8 1#
6f4fa4cc 2# Conditional build:
d9653125 3%bcond_without xfs # without (possible) support for xfsdump
7ba1ec44 4%bcond_without samba # without smbclient support
a9736a51
JR
5%bcond_without client # without client package
6%bcond_without server # without server package
856a76de 7#
83e7acbd 8Summary: A network-capable tape backup solution
9720936a 9Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych
83e7acbd 10Name: amanda
c8cba693
JR
11Version: 2.6.0
12Release: 0.1
8ae81366 13License: BSD
241d28fd 14Group: Networking/Utilities
0b2b22ac 15Source0: http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
c8cba693 16# Source0-md5: c347c1e573c33018f234750ac6435156
b95f206b 17Source1: %{name}-srv.crontab
18Source2: %{name}.inetd
19Source3: %{name}idx.inetd
b083e9f8 20Source4: amidxtape.inetd
8ae81366 21Patch0: %{name}-no_libnsl.patch
c8cba693
JR
22Patch1: %{name}-chg-zd-mtx-sh.patch
23Patch2: %{name}-tar.patch
24Patch3: %{name}-bashizm.patch
05b023d3 25Patch4: %{name}-as_needed.patch
d4c615c9
JR
26Patch5: %{name}-tapetypes.patch
27Patch6: %{name}-FHS.patch
5dbc26fb 28URL: http://www.amanda.org/
a188c172 29BuildRequires: autoconf >= 2.53
7bb8ef98 30BuildRequires: automake
106e7764 31BuildRequires: curl-devel >= 7.10.0
b083e9f8 32BuildRequires: dump
47d7a19a 33BuildRequires: flex
c8cba693
JR
34BuildRequires: glib2-devel
35# curl is broken, see curl-config --libs
36BuildRequires: keyutils-devel
eba98501 37BuildRequires: krb5-devel >= 1.6-4
47d7a19a 38BuildRequires: libtool
c8cba693
JR
39BuildRequires: libxslt-progs
40BuildRequires: ncurses-devel
41BuildRequires: openssh-clients
42BuildRequires: openssl-devel
106e7764 43BuildRequires: perl-devel >= 5.6.0
4b36a6fa 44BuildRequires: pkgconfig
e271841a 45BuildRequires: readline-devel >= 4.2
35efb826 46BuildRequires: rpmbuild(macros) >= 1.268
7ba1ec44 47%{?with_samba:BuildRequires: samba-client}
c8cba693 48BuildRequires: swig
856a76de 49%{?with_xfs:BuildRequires: xfsdump}
c9fdcd61
JR
50Conflicts: shadow < 1:4.0.4.1-4
51Conflicts: pwdutils < 3.1.2-2
316f81cd 52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64e6fb7c 53
aa667a14
JR
54%define _ulibdir %{_prefix}/lib
55
864ae446 56%description
a895e21d 57AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
58backup system that allows the administrator of a LAN to set up a
59single master backup server to back up multiple hosts to a single
60large capacity tape drive. AMANDA uses native dump and/or GNU tar
61facilities and can back up a large number of workstations running
62multiple versions of Unix. Newer versions of AMANDA (including this
63version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
64The amanda package contains the core AMANDA programs and will need to
65be installed on both AMANDA clients and AMANDA servers. Note that you
66will have to install the amanda-client and amanda-server packages as
67well.
64e6fb7c 68
4b4f6542 69%description -l pl.UTF-8
9fa4a022 70AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
4b4f6542
JR
71zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
72hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
73Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
74Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
75podstawowe pliki programu i powinien być zainstalowany zarówno na
76serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
a895e21d 77amanda-client i amanda-server!
32595315 78
e48f92a2 79%package libs
80Summary: Amanda shared libraries
9720936a 81Summary(pl.UTF-8): Biblioteki współdzielone pakietu amanda
e48f92a2 82Group: Networking/Utilities
0e3510b6
ER
83Requires(postun): /usr/sbin/groupdel
84Requires(postun): /usr/sbin/userdel
0da854c3 85Requires(pre): /bin/id
e0651f2a 86Requires(pre): /usr/bin/chsh
934dc2b1 87Requires(pre): /usr/bin/getgid
0da854c3 88Requires(pre): /usr/sbin/groupadd
89Requires(pre): /usr/sbin/useradd
934dc2b1 90Provides: group(amanda)
91Provides: user(amanda)
e48f92a2 92
93%description libs
94Amanda shared libraries.
95
4b4f6542
JR
96%description libs -l pl.UTF-8
97Biblioteki współdzielone pakietu amanda.
e48f92a2 98
64e6fb7c 99%package client
83e7acbd 100Summary: The client side of Amanda
9720936a 101Summary(pl.UTF-8): Klient Amandy
83e7acbd 102Group: Networking/Utilities
aa667a14
JR
103Requires(post): /bin/hostname
104Requires(post): /usr/bin/ssh-keygen
0e3510b6
ER
105Requires: %{name}-libs = %{version}-%{release}
106Requires: rc-inetd
106e7764
JR
107Suggests: openssh-clients
108Suggests: openssh-server
109Suggests: tar
110Suggests: gzip
111Suggests: star
112Conflicts: tar < 1.15
64e6fb7c 113
114%description client
a895e21d 115The Amanda-client package should be installed on any machine that will
116be backed up by AMANDA (including the server if it also needs to be
117backed up). You will also need to install the amanda package to each
ff131879 118AMANDA client. It requires at least one of dump and GNU tar installed.
64e6fb7c 119
4b4f6542
JR
120%description client -l pl.UTF-8
121Ten pakiet powinien być zainstalowany ma maszynach, z których
122zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
123najmniej jednego z pakietów dump i GNU tar.
32595315 124
64e6fb7c 125%package server
83e7acbd 126Summary: The server side of Amanda
9720936a 127Summary(pl.UTF-8): Serwer Amandy
83e7acbd 128Group: Networking/Utilities
aa667a14
JR
129Requires(post): /bin/hostname
130Requires(post): /usr/bin/ssh-keygen
0e3510b6 131Requires: %{name}-libs = %{version}-%{release}
b083e9f8 132Requires: /etc/cron.d
0e3510b6
ER
133Requires: crondaemon
134Requires: gnuplot
4af804ab
JR
135Requires: mt-st
136Requires: mtx
0e3510b6 137Requires: rc-inetd
106e7764
JR
138Suggests: openssh-clients
139Suggests: openssh-server
caae9f77 140Obsoletes: amanda
64e6fb7c 141
142%description server
a895e21d 143The amanda-server package should be installed on the AMANDA server,
144the machine attached to the device (such as a tape drive) where
145backups will be written. You will also need to install the amanda
146package to the AMANDA server. And, if the server is also to be backed
147up, the server also needs to have the amanda-client package installed.
64e6fb7c 148
4b4f6542
JR
149%description server -l pl.UTF-8
150Ten pakiet powinien być zainstalowany na maszynach, na których będą
151magazynowane kopie zapasowe (lub do których podpięte są urządzenia
a895e21d 152typu streamer).
32595315 153
c8cba693 154%package perl
5c0ffaf3
JR
155Summary: Perl bindings for amanda
156Summary(pl.UTF-8): Wiązania perla dla Amandy
c8cba693
JR
157Group: Networking/Utilities
158Requires: %{name}-libs = %{version}-%{release}
159
160%description perl
5c0ffaf3 161Perl bindings for amanda.
c8cba693
JR
162
163%description perl -l pl.UTF-8
5c0ffaf3 164Wiązania perla dla Amandy.
c8cba693
JR
165
166%package perl-server
5c0ffaf3
JR
167Summary: Perl bindings for amanda server
168Summary(pl.UTF-8): Wiązania perla dla serwera Amandy
c8cba693
JR
169Group: Networking/Utilities
170Requires: %{name}-perl = %{version}-%{release}
171Requires: %{name}-server = %{version}-%{release}
172
173%description perl-server
5c0ffaf3 174Perl bindings for amanda server.
c8cba693
JR
175
176%description perl-server -l pl.UTF-8
5c0ffaf3 177Wiązania perla dla serwera Amandy.
c8cba693 178
64e6fb7c 179%prep
180%setup -q
7bb8ef98 181%patch0 -p1
182%patch1 -p1
c8cba693 183%patch2 -p1
47d7a19a 184%patch3 -p1
05b023d3 185%patch4 -p1
d4c615c9
JR
186%patch5 -p1
187%patch6 -p1
64e6fb7c 188
189%build
a4b3f4c7 190%{__libtoolize}
c8cba693 191%{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
5154d365 192%{__autoconf}
5154d365 193%{__automake}
b083e9f8 194%configure \
5c0ffaf3 195 DUMP=/sbin/dump \
c01c2959 196 GNUPLOT=/usr/bin/gnuplot \
5c0ffaf3 197 GZIP=/bin/gzip \
67f09374 198 MAILER=/bin/mail \
5c0ffaf3
JR
199 MT=/bin/mt \
200 MTX=/usr/sbin/mtx \
67f09374 201 PRINT=/usr/bin/lpr \
67f09374 202 RESTORE=/sbin/restore \
5c0ffaf3 203 STAR=/usr/bin/star \
a9736a51
JR
204 %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
205 %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
fa26b3d0 206 --disable-static \
8ae81366 207 --enable-shared \
a9736a51
JR
208 %{!?with_server:--without-server} \
209 %{!?with_client:--without-client} \
64e6fb7c 210 --with-index-server=localhost \
fa26b3d0 211 --with-user=amanda \
212 --with-group=amanda \
fa26b3d0 213 --with-tape-device=/dev/null \
214 --with-ftape-rawdevice=/dev/null \
215 --with-changer-device=/dev/null \
216 --with-fqdn \
7ba1ec44 217 %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
fa26b3d0 218 --with-bsd-security \
a9736a51 219 --with-ssh-security \
b2b905b0
JR
220 --with-krb5-security \
221 --without-krb4-security \
fa26b3d0 222 --with-buffered-dump \
83e7acbd 223 --with-amandahosts \
d4c615c9 224 --with-configdir=%{_sysconfdir}/amanda \
c8cba693
JR
225 --with-gnutar-listdir=%{_sharedstatedir}/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
fa26b3d0 231
f8165eb1 232%{__make}
64e6fb7c 233
234%install
235rm -rf $RPM_BUILD_ROOT
a895e21d 236install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
106e7764 237 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
5c0ffaf3 238 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
b083e9f8 239
15ce42ff 240%{__make} install \
c8cba693 241 DESTDIR=$RPM_BUILD_ROOT
fa26b3d0 242
b083e9f8 243install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
4b4b52b8
JR
244sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
245sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
246sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
b083e9f8 247
c8cba693 248install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
5c0ffaf3 249install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
c8cba693 250touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
ff131879 251
106e7764
JR
252touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
253touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
254touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
255
c8cba693
JR
256> $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
257
aa667a14
JR
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
260if [ "%{_lib}" != "lib" ] ; then
261 install -d $RPM_BUILD_ROOT%{_ulibdir}
262 ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
263fi
264
c8cba693 265find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
b083e9f8 266
fa26b3d0 267%clean
64e6fb7c 268rm -rf $RPM_BUILD_ROOT
269
e28e7d88
JR
270%triggerpostun libs -- %{name}-libs < 2.5.1p2-1
271echo "Adding amanda to disk and backup groups"
a9736a51 272/usr/sbin/usermod -G disk,backup amanda
e28e7d88
JR
273echo "Setting amanda shell to /bin/sh"
274/usr/bin/chsh -s /bin/sh amanda
c8cba693
JR
275if [ -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
a148ef70 279fi
611427b2 280
0da854c3 281%pre libs
edb8d306 282%groupadd -P %{name}-libs -g 80 amanda
a9736a51 283%useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
0da854c3 284
277a8aa8 285%postun libs
0da854c3 286if [ "$1" = "0" ]; then
934dc2b1 287 %userremove amanda
288 %groupremove amanda
0da854c3 289fi
290
b083e9f8 291%post client
35efb826 292%service -q rc-inetd reload
aa667a14
JR
293if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
294 HOST="`/bin/hostname`"
106e7764
JR
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} || :
303fi
b083e9f8 304
305%postun client
35efb826
ER
306if [ "$1" = 0 ]; then
307 %service -q rc-inetd reload
47123b2c 308fi
b083e9f8 309
310%post server
35efb826 311%service -q rc-inetd reload
aa667a14
JR
312if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
313 HOST="`/bin/hostname`"
106e7764
JR
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} || :
322fi
856a76de
JB
323if [ "$1" = "1" ]; then
324 echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
325fi
b083e9f8 326
327%postun server
35efb826
ER
328if [ "$1" = 0 ]; then
329 %service -q rc-inetd reload
47123b2c 330fi
64e6fb7c 331
e48f92a2 332%files libs
83e7acbd 333%defattr(644,root,root,755)
c8cba693
JR
334%doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
335%attr(755,root,root) %{_libdir}/amanda/libamanda*.so
f85baaef 336%attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
c8cba693 337%dir %{_libdir}/amanda
aa667a14
JR
338%if %{_lib} != "lib"
339%{_ulibdir}/amanda
340%endif
d4c615c9 341%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
106e7764
JR
342%attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
343%attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
d4c615c9
JR
344%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
345%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
c8cba693 346%attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
106e7764 347%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
370a4eb3 348
a9736a51 349%if %{with server}
64e6fb7c 350%files server
b083e9f8 351%defattr(644,root,root,755)
a7b1b223 352%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
353%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
b083e9f8 354
d4c615c9 355%config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
b083e9f8 356
106e7764 357%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
9f13c2f9 358%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
106e7764 359
d4c615c9
JR
360%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
361%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
362%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
363%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
364%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
365%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
366%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
b083e9f8 367
a04af4fe 368%config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
b083e9f8 369
c8cba693
JR
370%dir %{_libdir}/amanda/application
371%attr(755,root,root) %{_libdir}/amanda/application/amgtar
372%attr(644,root,root) %{_libdir}/amanda/application/generic-dumper
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
5c0ffaf3 379%{_libdir}/amanda/amanda-sh-lib.sh
c8cba693
JR
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
5c0ffaf3 408%attr(755,root,root) %{_libdir}/amanda/patch-system
c8cba693
JR
409%attr(4750,root,amanda) %{_libdir}/amanda/planner
410%attr(755,root,root) %{_libdir}/amanda/taper
5e5c6257 411
5c0ffaf3 412%attr(755,root,root) %{_sbindir}/amaddclient
b083e9f8 413%attr(755,root,root) %{_sbindir}/amadmin
5e5c6257 414%attr(755,root,root) %{_sbindir}/amaespipe
c8cba693 415%attr(4750,root,amanda) %{_sbindir}/amcheck
b083e9f8 416%attr(755,root,root) %{_sbindir}/amcheckdb
5c0ffaf3 417%attr(755,root,root) %{_sbindir}/amcheckdump
b083e9f8 418%attr(755,root,root) %{_sbindir}/amcleanup
5e5c6257
JR
419%attr(755,root,root) %{_sbindir}/amcrypt*
420%attr(755,root,root) %{_sbindir}/amdd
5c0ffaf3 421%attr(755,root,root) %{_sbindir}/amdevcheck
b083e9f8 422%attr(755,root,root) %{_sbindir}/amdump
5e5c6257 423%attr(755,root,root) %{_sbindir}/amfetchdump
8ae81366 424%attr(755,root,root) %{_sbindir}/amflush
425%attr(755,root,root) %{_sbindir}/amgetconf
5c0ffaf3 426%attr(755,root,root) %{_sbindir}/amgpgcrypt
8ae81366 427%attr(755,root,root) %{_sbindir}/amlabel
5e5c6257 428%attr(755,root,root) %{_sbindir}/ammt
b083e9f8 429%attr(755,root,root) %{_sbindir}/amoverview
8ae81366 430%attr(755,root,root) %{_sbindir}/amplot
b083e9f8 431%attr(755,root,root) %{_sbindir}/amreport
5e5c6257 432%attr(755,root,root) %{_sbindir}/amrestore
eb87556b 433%attr(755,root,root) %{_sbindir}/amrmtape
5c0ffaf3 434%attr(755,root,root) %{_sbindir}/amserverconfig
b083e9f8 435%attr(755,root,root) %{_sbindir}/amstatus
8ae81366 436%attr(755,root,root) %{_sbindir}/amtape
eb87556b 437%attr(755,root,root) %{_sbindir}/amtapetype
8ae81366 438%attr(755,root,root) %{_sbindir}/amtoc
439%attr(755,root,root) %{_sbindir}/amverify
eb87556b 440%attr(755,root,root) %{_sbindir}/amverifyrun
5e5c6257 441%{_mandir}/man5/amanda.conf.5*
5c0ffaf3 442%{_mandir}/man8/amaddclient.8*
a72f9c08 443%{_mandir}/man8/amadmin.8*
5e5c6257 444%{_mandir}/man8/amaespipe.8*
a72f9c08 445%{_mandir}/man8/amanda.8*
446%{_mandir}/man8/amcheck.8*
a188c172 447%{_mandir}/man8/amcheckdb.8*
5c0ffaf3 448%{_mandir}/man8/amcheckdump.8*
a72f9c08 449%{_mandir}/man8/amcleanup.8*
5e5c6257
JR
450%{_mandir}/man8/amcrypt*.8*
451%{_mandir}/man8/amdd.8*
5c0ffaf3 452%{_mandir}/man8/amdevcheck.8*
a72f9c08 453%{_mandir}/man8/amdump.8*
5e5c6257 454%{_mandir}/man8/amfetchdump.8*
a72f9c08 455%{_mandir}/man8/amflush.8*
a188c172 456%{_mandir}/man8/amgetconf.8*
5c0ffaf3 457%{_mandir}/man8/amgpgcrypt.8*
a72f9c08 458%{_mandir}/man8/amlabel.8*
5e5c6257 459%{_mandir}/man8/ammt.8*
a188c172 460%{_mandir}/man8/amoverview.8*
a72f9c08 461%{_mandir}/man8/amplot.8*
462%{_mandir}/man8/amreport.8*
5e5c6257 463%{_mandir}/man8/amrestore.8*
a188c172 464%{_mandir}/man8/amrmtape.8*
5c0ffaf3 465%{_mandir}/man8/amserverconfig.8*
a72f9c08 466%{_mandir}/man8/amstatus.8*
a188c172 467%{_mandir}/man8/amtape.8*
eb87556b 468%{_mandir}/man8/amtapetype.8*
a188c172
JB
469%{_mandir}/man8/amtoc.8*
470%{_mandir}/man8/amverify.8*
eb87556b 471%{_mandir}/man8/amverifyrun.8*
a9736a51 472%endif
64e6fb7c 473
a9736a51 474%if %{with client}
64e6fb7c 475%files client
b083e9f8 476%defattr(644,root,root,755)
a7b1b223 477%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
5c0ffaf3 478%config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
9f13c2f9 479%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
d4c615c9 480%attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
c8cba693
JR
481%attr(755,root,root) %{_libdir}/amanda/libamclient*.so
482%attr(755,root,root) %{_libdir}/amanda/amandad
483%attr(755,root,root) %{_libdir}/amanda/noop
c8cba693
JR
484%attr(755,root,root) %{_libdir}/amanda/sendbackup
485%attr(755,root,root) %{_libdir}/amanda/sendsize
486%attr(755,root,root) %{_libdir}/amanda/versionsuffix
487%attr(4750,root,amanda) %{_libdir}/amanda/calcsize
488%attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
489%attr(4750,root,amanda) %{_libdir}/amanda/rundump
490%attr(4750,root,amanda) %{_libdir}/amanda/runtar
491%attr(755,root,root) %{_libdir}/amanda/selfcheck
5e5c6257 492%attr(755,root,root) %{_sbindir}/amoldrecover
b083e9f8 493%attr(755,root,root) %{_sbindir}/amrecover
d4c615c9
JR
494%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
495%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
5e5c6257 496%{_mandir}/man5/amanda-client.conf.5*
a72f9c08 497%{_mandir}/man8/amrecover.8*
a9736a51 498%endif
c8cba693
JR
499
500%files perl
501%defattr(644,root,root,755)
502%attr(755,root,root) %{_libdir}/amanda/libamglue*.so
503%dir %{perl_vendorarch}/Amanda
504%{perl_vendorarch}/Amanda/Config.pm
505%{perl_vendorarch}/Amanda/Debug.pm
506%{perl_vendorarch}/Amanda/Paths.pm
507%{perl_vendorarch}/Amanda/Types.pm
508%{perl_vendorarch}/Amanda/Util.pm
509%dir %{perl_vendorarch}/auto/Amanda
510%dir %{perl_vendorarch}/auto/Amanda/Config
511%dir %{perl_vendorarch}/auto/Amanda/Debug
512%dir %{perl_vendorarch}/auto/Amanda/Types
513%dir %{perl_vendorarch}/auto/Amanda/Util
514%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
515%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
516%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
517%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
518
519%files perl-server
520%defattr(644,root,root,755)
521%{perl_vendorarch}/Amanda/Changer.pm
522%{perl_vendorarch}/Amanda/Cmdline.pm
523%{perl_vendorarch}/Amanda/Device.pm
524%{perl_vendorarch}/Amanda/Logfile.pm
525%{perl_vendorarch}/Amanda/Tapefile.pm
526%dir %{perl_vendorarch}/auto/Amanda/Cmdline
527%dir %{perl_vendorarch}/auto/Amanda/Device
528%dir %{perl_vendorarch}/auto/Amanda/Logfile
529%dir %{perl_vendorarch}/auto/Amanda/Tapefile
530%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
531%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
532%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
533%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so
This page took 0.182967 seconds and 4 git commands to generate.